|
@@ -46,6 +46,8 @@
|
|
|
<result column="IsFullTime" jdbcType="INTEGER" property="isFullTime"/>
|
|
|
<result column="OccupationalCategory" jdbcType="VARCHAR" property="occupationalCategory"/>
|
|
|
<result column="OccupationalLevel" jdbcType="INTEGER" property="occupationalLevel"/>
|
|
|
+ <result column="Longitude" jdbcType="VARCHAR" property="longitude"/>
|
|
|
+ <result column="Latitude" jdbcType="VARCHAR" property="latitude"/>
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<where>
|
|
@@ -113,7 +115,7 @@
|
|
|
UserMobile, Address, FamilyAddress, PostalCode, Email, Hobby, JobStatusID, KeyPersonTypeID,
|
|
|
PersonalSkills, CreateUserID, CreateTime, ModifyUserID, ModifyTime, openId,
|
|
|
SocialSecurityCard,FinishSchool,Profession,NativePlace,
|
|
|
- IsFullTime,OccupationalCategory,OccupationalLevel
|
|
|
+ IsFullTime,OccupationalCategory,OccupationalLevel,Longitude,Latitude
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.hz.employmentsite.model.PcJobuserExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -160,7 +162,8 @@
|
|
|
CreateTime, ModifyUserID, ModifyTime,
|
|
|
openId, SocialSecurityCard, FinishSchool,
|
|
|
Profession, NativePlace, IsFullTime,
|
|
|
- OccupationalCategory, OccupationalLevel)
|
|
|
+ OccupationalCategory, OccupationalLevel, Longitude,
|
|
|
+ Latitude)
|
|
|
values (#{jobuserID,jdbcType=VARCHAR}, #{siteID,jdbcType=VARCHAR}, #{identityNumber,jdbcType=VARCHAR},
|
|
|
#{name,jdbcType=VARCHAR}, #{pyName,jdbcType=VARCHAR}, #{engName,jdbcType=VARCHAR},
|
|
|
#{sex,jdbcType=INTEGER}, #{nation,jdbcType=INTEGER}, #{politicsStatusID,jdbcType=INTEGER},
|
|
@@ -175,7 +178,9 @@
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
#{openId,jdbcType=VARCHAR}, #{socialSecurityCard,jdbcType=VARCHAR}, #{finishSchool,jdbcType=VARCHAR},
|
|
|
#{profession,jdbcType=VARCHAR}, #{nativePlace,jdbcType=VARCHAR}, #{isFullTime,jdbcType=VARCHAR},
|
|
|
- #{occupationalCategory,jdbcType=VARCHAR}, #{occupationalLevel,jdbcType=VARCHAR})
|
|
|
+ #{occupationalCategory,jdbcType=VARCHAR}, #{occupationalLevel,jdbcType=VARCHAR},
|
|
|
+ #{longitude,jdbcType=VARCHAR},
|
|
|
+ #{longitude,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcJobuser">
|
|
|
insert into pc_jobuser
|
|
@@ -312,6 +317,12 @@
|
|
|
<if test="occupationalLevel != null">
|
|
|
OccupationalLevel,
|
|
|
</if>
|
|
|
+ <if test="longitude != null">
|
|
|
+ Longitude,
|
|
|
+ </if>
|
|
|
+ <if test="latitude != null">
|
|
|
+ Latitude,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="jobuserID != null">
|
|
@@ -446,6 +457,12 @@
|
|
|
<if test="occupationalLevel != null">
|
|
|
#{occupationalLevel,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="longitude != null">
|
|
|
+ #{longitude,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="longitude != null">
|
|
|
+ #{longitude,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.hz.employmentsite.model.PcJobuserExample" resultType="java.lang.Long">
|
|
@@ -589,6 +606,12 @@
|
|
|
<if test="row.occupationalLevel != null">
|
|
|
OccupationalLevel = #{row.occupationalLevel,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="row.longitude != null">
|
|
|
+ Longitude = #{row.longitude,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.latitude != null">
|
|
|
+ Latitude = #{row.latitude,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -639,7 +662,9 @@
|
|
|
NativePlace = #{row.nativePlace,jdbcType=VARCHAR},
|
|
|
IsFullTime = #{row.isFullTime,jdbcType=INTEGER},
|
|
|
OccupationalCategory = #{row.occupationalCategory,jdbcType=VARCHAR},
|
|
|
- OccupationalLevel = #{row.occupationalLevel,jdbcType=INTEGER}
|
|
|
+ OccupationalLevel = #{row.occupationalLevel,jdbcType=INTEGER},
|
|
|
+ Longitude = #{row.longitude,jdbcType=VARCHAR},
|
|
|
+ Latitude = #{row.latitude,jdbcType=VARCHAR}
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -776,6 +801,12 @@
|
|
|
<if test="occupationalLevel != null">
|
|
|
OccupationalLevel = #{occupationalLevel,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="longitude != null">
|
|
|
+ Longitude = #{longitude,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="latitude != null">
|
|
|
+ Latitude = #{latitude,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where JobuserID = #{jobuserID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
@@ -823,7 +854,9 @@
|
|
|
NativePlace = #{nativePlace,jdbcType=VARCHAR},
|
|
|
IsFullTime = #{isFullTime,jdbcType=INTEGER},
|
|
|
OccupationalCategory = #{occupationalCategory,jdbcType=VARCHAR},
|
|
|
- OccupationalLevel = #{occupationalLevel,jdbcType=INTEGER}
|
|
|
+ OccupationalLevel = #{occupationalLevel,jdbcType=INTEGER},
|
|
|
+ Longitude = #{longitude,jdbcType=VARCHAR},
|
|
|
+ Latitude = #{latitude,jdbcType=VARCHAR}
|
|
|
where JobuserID = #{jobuserID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
</mapper>
|