|
@@ -3,7 +3,7 @@
|
|
<mapper namespace="com.hwrj.cloud.admin.mapper.UmsMemberOriginMapper">
|
|
<mapper namespace="com.hwrj.cloud.admin.mapper.UmsMemberOriginMapper">
|
|
<resultMap id="BaseResultMap" type="com.hwrj.cloud.admin.model.UmsMemberOrigin">
|
|
<resultMap id="BaseResultMap" type="com.hwrj.cloud.admin.model.UmsMemberOrigin">
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
- <result column="fk_company_info_id" jdbcType="BIGINT" property="fkCompanyInfoId" />
|
|
|
|
|
|
+ <result column="comp_id" jdbcType="BIGINT" property="compId" />
|
|
<result column="comp_name" jdbcType="VARCHAR" property="compName" />
|
|
<result column="comp_name" jdbcType="VARCHAR" property="compName" />
|
|
<result column="origin_name" jdbcType="VARCHAR" property="originName" />
|
|
<result column="origin_name" jdbcType="VARCHAR" property="originName" />
|
|
<result column="origin_area" jdbcType="DOUBLE" property="originArea" />
|
|
<result column="origin_area" jdbcType="DOUBLE" property="originArea" />
|
|
@@ -91,7 +91,7 @@
|
|
</where>
|
|
</where>
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
- id, fk_company_info_id, comp_name, origin_name, origin_area, people_num, found_date,
|
|
|
|
|
|
+ id, comp_id, comp_name, origin_name, origin_area, people_num, found_date,
|
|
link_user, link_phone, province_name, city_name, county_name, detail_address, altitude,
|
|
link_user, link_phone, province_name, city_name, county_name, detail_address, altitude,
|
|
longitude, latitude, state, create_time, create_id, update_time, update_id
|
|
longitude, latitude, state, create_time, create_id, update_time, update_id
|
|
</sql>
|
|
</sql>
|
|
@@ -150,7 +150,7 @@
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
SELECT LAST_INSERT_ID()
|
|
SELECT LAST_INSERT_ID()
|
|
</selectKey>
|
|
</selectKey>
|
|
- insert into ums_member_origin (fk_company_info_id, comp_name, origin_name,
|
|
|
|
|
|
+ insert into ums_member_origin (comp_id, comp_name, origin_name,
|
|
origin_area, people_num, found_date,
|
|
origin_area, people_num, found_date,
|
|
link_user, link_phone, province_name,
|
|
link_user, link_phone, province_name,
|
|
city_name, county_name, detail_address,
|
|
city_name, county_name, detail_address,
|
|
@@ -159,7 +159,7 @@
|
|
update_time, update_id, img_url,
|
|
update_time, update_id, img_url,
|
|
video_url, vr_url, camera_url,
|
|
video_url, vr_url, camera_url,
|
|
summary, remark)
|
|
summary, remark)
|
|
- values (#{fkCompanyInfoId,jdbcType=BIGINT}, #{compName,jdbcType=VARCHAR}, #{originName,jdbcType=VARCHAR},
|
|
|
|
|
|
+ values (#{compId,jdbcType=BIGINT}, #{compName,jdbcType=VARCHAR}, #{originName,jdbcType=VARCHAR},
|
|
#{originArea,jdbcType=DOUBLE}, #{peopleNum,jdbcType=INTEGER}, #{foundDate,jdbcType=VARCHAR},
|
|
#{originArea,jdbcType=DOUBLE}, #{peopleNum,jdbcType=INTEGER}, #{foundDate,jdbcType=VARCHAR},
|
|
#{linkUser,jdbcType=VARCHAR}, #{linkPhone,jdbcType=VARCHAR}, #{provinceName,jdbcType=VARCHAR},
|
|
#{linkUser,jdbcType=VARCHAR}, #{linkPhone,jdbcType=VARCHAR}, #{provinceName,jdbcType=VARCHAR},
|
|
#{cityName,jdbcType=VARCHAR}, #{countyName,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR},
|
|
#{cityName,jdbcType=VARCHAR}, #{countyName,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR},
|
|
@@ -175,8 +175,8 @@
|
|
</selectKey>
|
|
</selectKey>
|
|
insert into ums_member_origin
|
|
insert into ums_member_origin
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
- <if test="fkCompanyInfoId != null">
|
|
|
|
- fk_company_info_id,
|
|
|
|
|
|
+ <if test="compId != null">
|
|
|
|
+ comp_id,
|
|
</if>
|
|
</if>
|
|
<if test="compName != null">
|
|
<if test="compName != null">
|
|
comp_name,
|
|
comp_name,
|
|
@@ -253,8 +253,8 @@
|
|
</if>
|
|
</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
- <if test="fkCompanyInfoId != null">
|
|
|
|
- #{fkCompanyInfoId,jdbcType=BIGINT},
|
|
|
|
|
|
+ <if test="compId != null">
|
|
|
|
+ #{compId,jdbcType=BIGINT},
|
|
</if>
|
|
</if>
|
|
<if test="compName != null">
|
|
<if test="compName != null">
|
|
#{compName,jdbcType=VARCHAR},
|
|
#{compName,jdbcType=VARCHAR},
|
|
@@ -343,8 +343,8 @@
|
|
<if test="record.id != null">
|
|
<if test="record.id != null">
|
|
id = #{record.id,jdbcType=BIGINT},
|
|
id = #{record.id,jdbcType=BIGINT},
|
|
</if>
|
|
</if>
|
|
- <if test="record.fkCompanyInfoId != null">
|
|
|
|
- fk_company_info_id = #{record.fkCompanyInfoId,jdbcType=BIGINT},
|
|
|
|
|
|
+ <if test="record.compId != null">
|
|
|
|
+ comp_id = #{record.compId,jdbcType=BIGINT},
|
|
</if>
|
|
</if>
|
|
<if test="record.compName != null">
|
|
<if test="record.compName != null">
|
|
comp_name = #{record.compName,jdbcType=VARCHAR},
|
|
comp_name = #{record.compName,jdbcType=VARCHAR},
|
|
@@ -429,7 +429,7 @@
|
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
|
update ums_member_origin
|
|
update ums_member_origin
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
- fk_company_info_id = #{record.fkCompanyInfoId,jdbcType=BIGINT},
|
|
|
|
|
|
+ comp_id = #{record.compId,jdbcType=BIGINT},
|
|
comp_name = #{record.compName,jdbcType=VARCHAR},
|
|
comp_name = #{record.compName,jdbcType=VARCHAR},
|
|
origin_name = #{record.originName,jdbcType=VARCHAR},
|
|
origin_name = #{record.originName,jdbcType=VARCHAR},
|
|
origin_area = #{record.originArea,jdbcType=DOUBLE},
|
|
origin_area = #{record.originArea,jdbcType=DOUBLE},
|
|
@@ -462,7 +462,7 @@
|
|
<update id="updateByExample" parameterType="map">
|
|
<update id="updateByExample" parameterType="map">
|
|
update ums_member_origin
|
|
update ums_member_origin
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
- fk_company_info_id = #{record.fkCompanyInfoId,jdbcType=BIGINT},
|
|
|
|
|
|
+ comp_id = #{record.compId,jdbcType=BIGINT},
|
|
comp_name = #{record.compName,jdbcType=VARCHAR},
|
|
comp_name = #{record.compName,jdbcType=VARCHAR},
|
|
origin_name = #{record.originName,jdbcType=VARCHAR},
|
|
origin_name = #{record.originName,jdbcType=VARCHAR},
|
|
origin_area = #{record.originArea,jdbcType=DOUBLE},
|
|
origin_area = #{record.originArea,jdbcType=DOUBLE},
|
|
@@ -489,8 +489,8 @@
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.hwrj.cloud.admin.model.UmsMemberOrigin">
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.hwrj.cloud.admin.model.UmsMemberOrigin">
|
|
update ums_member_origin
|
|
update ums_member_origin
|
|
<set>
|
|
<set>
|
|
- <if test="fkCompanyInfoId != null">
|
|
|
|
- fk_company_info_id = #{fkCompanyInfoId,jdbcType=BIGINT},
|
|
|
|
|
|
+ <if test="compId != null">
|
|
|
|
+ comp_id = #{compId,jdbcType=BIGINT},
|
|
</if>
|
|
</if>
|
|
<if test="compName != null">
|
|
<if test="compName != null">
|
|
comp_name = #{compName,jdbcType=VARCHAR},
|
|
comp_name = #{compName,jdbcType=VARCHAR},
|
|
@@ -572,7 +572,7 @@
|
|
</update>
|
|
</update>
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.hwrj.cloud.admin.model.UmsMemberOrigin">
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.hwrj.cloud.admin.model.UmsMemberOrigin">
|
|
update ums_member_origin
|
|
update ums_member_origin
|
|
- set fk_company_info_id = #{fkCompanyInfoId,jdbcType=BIGINT},
|
|
|
|
|
|
+ set comp_id = #{compId,jdbcType=BIGINT},
|
|
comp_name = #{compName,jdbcType=VARCHAR},
|
|
comp_name = #{compName,jdbcType=VARCHAR},
|
|
origin_name = #{originName,jdbcType=VARCHAR},
|
|
origin_name = #{originName,jdbcType=VARCHAR},
|
|
origin_area = #{originArea,jdbcType=DOUBLE},
|
|
origin_area = #{originArea,jdbcType=DOUBLE},
|
|
@@ -602,7 +602,7 @@
|
|
</update>
|
|
</update>
|
|
<update id="updateByPrimaryKey" parameterType="com.hwrj.cloud.admin.model.UmsMemberOrigin">
|
|
<update id="updateByPrimaryKey" parameterType="com.hwrj.cloud.admin.model.UmsMemberOrigin">
|
|
update ums_member_origin
|
|
update ums_member_origin
|
|
- set fk_company_info_id = #{fkCompanyInfoId,jdbcType=BIGINT},
|
|
|
|
|
|
+ set comp_id = #{compId,jdbcType=BIGINT},
|
|
comp_name = #{compName,jdbcType=VARCHAR},
|
|
comp_name = #{compName,jdbcType=VARCHAR},
|
|
origin_name = #{originName,jdbcType=VARCHAR},
|
|
origin_name = #{originName,jdbcType=VARCHAR},
|
|
origin_area = #{originArea,jdbcType=DOUBLE},
|
|
origin_area = #{originArea,jdbcType=DOUBLE},
|