|
@@ -4,7 +4,7 @@
|
|
|
<resultMap id="BaseResultMap" type="com.hz.employmentsite.model.PcJobhunt">
|
|
|
<id column="JobHuntID" jdbcType="VARCHAR" property="jobHuntID" />
|
|
|
<result column="JobUserID" jdbcType="VARCHAR" property="jobUserID" />
|
|
|
- <result column="PostID" jdbcType="VARCHAR" property="postID" />
|
|
|
+ <result column="ProfessionID" jdbcType="VARCHAR" property="professionID" />
|
|
|
<result column="WorkCode" jdbcType="VARCHAR" property="workCode" />
|
|
|
<result column="WorkName" jdbcType="VARCHAR" property="workName" />
|
|
|
<result column="AreaWork" jdbcType="VARCHAR" property="areaWork" />
|
|
@@ -79,9 +79,9 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- JobHuntID, JobUserID, PostID, WorkCode, WorkName, AreaWork, InDate, WorkYear, JobHuntType,
|
|
|
- JobUserType, MinSalary, MaxSalary, CreateUserID, CreateTime, ModifyUserID, ModifyTime,
|
|
|
- OtherDemand
|
|
|
+ JobHuntID, JobUserID, ProfessionID, WorkCode, WorkName, AreaWork, InDate, WorkYear,
|
|
|
+ JobHuntType, JobUserType, MinSalary, MaxSalary, CreateUserID, CreateTime, ModifyUserID,
|
|
|
+ ModifyTime, OtherDemand
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.hz.employmentsite.model.PcJobhuntExample" resultMap="BaseResultMap">
|
|
|
select
|
|
@@ -114,13 +114,13 @@
|
|
|
</if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.hz.employmentsite.model.PcJobhunt">
|
|
|
- insert into pc_jobhunt (JobHuntID, JobUserID, PostID,
|
|
|
+ insert into pc_jobhunt (JobHuntID, JobUserID, ProfessionID,
|
|
|
WorkCode, WorkName, AreaWork,
|
|
|
InDate, WorkYear, JobHuntType,
|
|
|
JobUserType, MinSalary, MaxSalary,
|
|
|
CreateUserID, CreateTime, ModifyUserID,
|
|
|
ModifyTime, OtherDemand)
|
|
|
- values (#{jobHuntID,jdbcType=VARCHAR}, #{jobUserID,jdbcType=VARCHAR}, #{postID,jdbcType=VARCHAR},
|
|
|
+ values (#{jobHuntID,jdbcType=VARCHAR}, #{jobUserID,jdbcType=VARCHAR}, #{professionID,jdbcType=VARCHAR},
|
|
|
#{workCode,jdbcType=VARCHAR}, #{workName,jdbcType=VARCHAR}, #{areaWork,jdbcType=VARCHAR},
|
|
|
#{inDate,jdbcType=TIMESTAMP}, #{workYear,jdbcType=INTEGER}, #{jobHuntType,jdbcType=INTEGER},
|
|
|
#{jobUserType,jdbcType=INTEGER}, #{minSalary,jdbcType=DECIMAL}, #{maxSalary,jdbcType=DECIMAL},
|
|
@@ -136,8 +136,8 @@
|
|
|
<if test="jobUserID != null">
|
|
|
JobUserID,
|
|
|
</if>
|
|
|
- <if test="postID != null">
|
|
|
- PostID,
|
|
|
+ <if test="professionID != null">
|
|
|
+ ProfessionID,
|
|
|
</if>
|
|
|
<if test="workCode != null">
|
|
|
WorkCode,
|
|
@@ -189,8 +189,8 @@
|
|
|
<if test="jobUserID != null">
|
|
|
#{jobUserID,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="postID != null">
|
|
|
- #{postID,jdbcType=VARCHAR},
|
|
|
+ <if test="professionID != null">
|
|
|
+ #{professionID,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="workCode != null">
|
|
|
#{workCode,jdbcType=VARCHAR},
|
|
@@ -251,8 +251,8 @@
|
|
|
<if test="row.jobUserID != null">
|
|
|
JobUserID = #{row.jobUserID,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="row.postID != null">
|
|
|
- PostID = #{row.postID,jdbcType=VARCHAR},
|
|
|
+ <if test="row.professionID != null">
|
|
|
+ ProfessionID = #{row.professionID,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="row.workCode != null">
|
|
|
WorkCode = #{row.workCode,jdbcType=VARCHAR},
|
|
@@ -305,7 +305,7 @@
|
|
|
update pc_jobhunt
|
|
|
set JobHuntID = #{row.jobHuntID,jdbcType=VARCHAR},
|
|
|
JobUserID = #{row.jobUserID,jdbcType=VARCHAR},
|
|
|
- PostID = #{row.postID,jdbcType=VARCHAR},
|
|
|
+ ProfessionID = #{row.professionID,jdbcType=VARCHAR},
|
|
|
WorkCode = #{row.workCode,jdbcType=VARCHAR},
|
|
|
WorkName = #{row.workName,jdbcType=VARCHAR},
|
|
|
AreaWork = #{row.areaWork,jdbcType=VARCHAR},
|
|
@@ -330,8 +330,8 @@
|
|
|
<if test="jobUserID != null">
|
|
|
JobUserID = #{jobUserID,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="postID != null">
|
|
|
- PostID = #{postID,jdbcType=VARCHAR},
|
|
|
+ <if test="professionID != null">
|
|
|
+ ProfessionID = #{professionID,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="workCode != null">
|
|
|
WorkCode = #{workCode,jdbcType=VARCHAR},
|
|
@@ -381,7 +381,7 @@
|
|
|
<update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcJobhunt">
|
|
|
update pc_jobhunt
|
|
|
set JobUserID = #{jobUserID,jdbcType=VARCHAR},
|
|
|
- PostID = #{postID,jdbcType=VARCHAR},
|
|
|
+ ProfessionID = #{professionID,jdbcType=VARCHAR},
|
|
|
WorkCode = #{workCode,jdbcType=VARCHAR},
|
|
|
WorkName = #{workName,jdbcType=VARCHAR},
|
|
|
AreaWork = #{areaWork,jdbcType=VARCHAR},
|
|
@@ -398,4 +398,5 @@
|
|
|
OtherDemand = #{otherDemand,jdbcType=VARCHAR}
|
|
|
where JobHuntID = #{jobHuntID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
+
|
|
|
</mapper>
|