|
@@ -9,7 +9,7 @@
|
|
|
<result column="WorkName" jdbcType="VARCHAR" property="workName" />
|
|
|
<result column="AreaWork" jdbcType="VARCHAR" property="areaWork" />
|
|
|
<result column="InDate" jdbcType="TIMESTAMP" property="inDate" />
|
|
|
- <result column="WorkYear" jdbcType="INTEGER" property="workYear" />
|
|
|
+ <result column="workYear" jdbcType="DECIMAL" property="workYear" />
|
|
|
<result column="JobHuntType" jdbcType="INTEGER" property="jobHuntType" />
|
|
|
<result column="JobUserType" jdbcType="INTEGER" property="jobUserType" />
|
|
|
<result column="MinSalary" jdbcType="DECIMAL" property="minSalary" />
|
|
@@ -79,7 +79,7 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- JobHuntID, JobUserID, ProfessionID, WorkCode, WorkName, AreaWork, InDate, WorkYear,
|
|
|
+ JobHuntID, JobUserID, ProfessionID, WorkCode, WorkName, AreaWork, InDate, workYear,
|
|
|
JobHuntType, JobUserType, MinSalary, MaxSalary, CreateUserID, CreateTime, ModifyUserID,
|
|
|
ModifyTime, OtherDemand
|
|
|
</sql>
|
|
@@ -116,13 +116,13 @@
|
|
|
<insert id="insert" parameterType="com.hz.employmentsite.model.PcJobhunt">
|
|
|
insert into pc_jobhunt (JobHuntID, JobUserID, ProfessionID,
|
|
|
WorkCode, WorkName, AreaWork,
|
|
|
- InDate, WorkYear, JobHuntType,
|
|
|
+ InDate, workYear, JobHuntType,
|
|
|
JobUserType, MinSalary, MaxSalary,
|
|
|
CreateUserID, CreateTime, ModifyUserID,
|
|
|
ModifyTime, OtherDemand)
|
|
|
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},
|
|
|
+ #{inDate,jdbcType=TIMESTAMP}, #{workYear,jdbcType=DECIMAL}, #{jobHuntType,jdbcType=INTEGER},
|
|
|
#{jobUserType,jdbcType=INTEGER}, #{minSalary,jdbcType=DECIMAL}, #{maxSalary,jdbcType=DECIMAL},
|
|
|
#{createUserID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR},
|
|
|
#{modifyTime,jdbcType=TIMESTAMP}, #{otherDemand,jdbcType=VARCHAR})
|
|
@@ -152,7 +152,7 @@
|
|
|
InDate,
|
|
|
</if>
|
|
|
<if test="workYear != null">
|
|
|
- WorkYear,
|
|
|
+ workYear,
|
|
|
</if>
|
|
|
<if test="jobHuntType != null">
|
|
|
JobHuntType,
|
|
@@ -205,7 +205,7 @@
|
|
|
#{inDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="workYear != null">
|
|
|
- #{workYear,jdbcType=INTEGER},
|
|
|
+ #{workYear,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="jobHuntType != null">
|
|
|
#{jobHuntType,jdbcType=INTEGER},
|
|
@@ -267,7 +267,7 @@
|
|
|
InDate = #{row.inDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="row.workYear != null">
|
|
|
- WorkYear = #{row.workYear,jdbcType=INTEGER},
|
|
|
+ workYear = #{row.workYear,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="row.jobHuntType != null">
|
|
|
JobHuntType = #{row.jobHuntType,jdbcType=INTEGER},
|
|
@@ -310,7 +310,7 @@
|
|
|
WorkName = #{row.workName,jdbcType=VARCHAR},
|
|
|
AreaWork = #{row.areaWork,jdbcType=VARCHAR},
|
|
|
InDate = #{row.inDate,jdbcType=TIMESTAMP},
|
|
|
- WorkYear = #{row.workYear,jdbcType=INTEGER},
|
|
|
+ workYear = #{row.workYear,jdbcType=DECIMAL},
|
|
|
JobHuntType = #{row.jobHuntType,jdbcType=INTEGER},
|
|
|
JobUserType = #{row.jobUserType,jdbcType=INTEGER},
|
|
|
MinSalary = #{row.minSalary,jdbcType=DECIMAL},
|
|
@@ -346,7 +346,7 @@
|
|
|
InDate = #{inDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="workYear != null">
|
|
|
- WorkYear = #{workYear,jdbcType=INTEGER},
|
|
|
+ workYear = #{workYear,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="jobHuntType != null">
|
|
|
JobHuntType = #{jobHuntType,jdbcType=INTEGER},
|
|
@@ -386,7 +386,7 @@
|
|
|
WorkName = #{workName,jdbcType=VARCHAR},
|
|
|
AreaWork = #{areaWork,jdbcType=VARCHAR},
|
|
|
InDate = #{inDate,jdbcType=TIMESTAMP},
|
|
|
- WorkYear = #{workYear,jdbcType=INTEGER},
|
|
|
+ workYear = #{workYear,jdbcType=DECIMAL},
|
|
|
JobHuntType = #{jobHuntType,jdbcType=INTEGER},
|
|
|
JobUserType = #{jobUserType,jdbcType=INTEGER},
|
|
|
MinSalary = #{minSalary,jdbcType=DECIMAL},
|
|
@@ -398,5 +398,4 @@
|
|
|
OtherDemand = #{otherDemand,jdbcType=VARCHAR}
|
|
|
where JobHuntID = #{jobHuntID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
-
|
|
|
</mapper>
|