|
@@ -2,42 +2,43 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.hz.employmentsite.mapper.PcPostMapper">
|
|
|
<resultMap id="BaseResultMap" type="com.hz.employmentsite.model.PcPost">
|
|
|
- <id 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="RecruitCount" jdbcType="INTEGER" property="recruitCount"/>
|
|
|
- <result column="CompanyID" jdbcType="VARCHAR" property="companyID"/>
|
|
|
- <result column="PostName" jdbcType="VARCHAR" property="postName"/>
|
|
|
- <result column="RecordStatus" jdbcType="INTEGER" property="recordStatus"/>
|
|
|
- <result column="WorkNature" jdbcType="VARCHAR" property="workNature"/>
|
|
|
- <result column="ValidDay" jdbcType="INTEGER" property="validDay"/>
|
|
|
- <result column="WorkYear" jdbcType="INTEGER" property="workYear"/>
|
|
|
- <result column="CultureRank" jdbcType="INTEGER" property="cultureRank"/>
|
|
|
- <result column="MaxSalary" jdbcType="DECIMAL" property="maxSalary"/>
|
|
|
- <result column="MinSalary" jdbcType="DECIMAL" property="minSalary"/>
|
|
|
- <result column="Welfare" jdbcType="VARCHAR" property="welfare"/>
|
|
|
- <result column="UserName" jdbcType="VARCHAR" property="userName"/>
|
|
|
- <result column="UserMobile" jdbcType="VARCHAR" property="userMobile"/>
|
|
|
- <result column="PostEmail" jdbcType="VARCHAR" property="postEmail"/>
|
|
|
- <result column="WorkTime" jdbcType="INTEGER" property="workTime"/>
|
|
|
- <result column="IsTrail" jdbcType="BIT" property="isTrail"/>
|
|
|
- <result column="TrailMonths" jdbcType="INTEGER" property="trailMonths"/>
|
|
|
- <result column="TrailMaxSalary" jdbcType="DECIMAL" property="trailMaxSalary"/>
|
|
|
- <result column="TrailMinSalary" jdbcType="DECIMAL" property="trailMinSalary"/>
|
|
|
- <result column="CreateUserID" jdbcType="VARCHAR" property="createUserID"/>
|
|
|
- <result column="CreateTime" jdbcType="TIMESTAMP" property="createTime"/>
|
|
|
- <result column="ModifyUserID" jdbcType="VARCHAR" property="modifyUserID"/>
|
|
|
- <result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime"/>
|
|
|
- <result column="ValidTime" jdbcType="TIMESTAMP" property="validTime"/>
|
|
|
- <result column="StartTime" jdbcType="TIMESTAMP" property="startTime"/>
|
|
|
- <result column="EndTime" jdbcType="TIMESTAMP" property="endTime"/>
|
|
|
- <result column="JobPlace" jdbcType="VARCHAR" property="jobPlace"/>
|
|
|
- <result column="ContactName" jdbcType="VARCHAR" property="contactName"/>
|
|
|
- <result column="ContactMobile" jdbcType="VARCHAR" property="contactMobile"/>
|
|
|
- <result column="ContactEmail" jdbcType="VARCHAR" property="contactEmail"/>
|
|
|
- <result column="WorkNatureID" jdbcType="INTEGER" property="workNatureID"/>
|
|
|
- <result column="TagID" jdbcType="INTEGER" property="tagID"/>
|
|
|
+ <id 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="RecruitCount" jdbcType="INTEGER" property="recruitCount" />
|
|
|
+ <result column="CompanyID" jdbcType="VARCHAR" property="companyID" />
|
|
|
+ <result column="PostName" jdbcType="VARCHAR" property="postName" />
|
|
|
+ <result column="RecordStatus" jdbcType="INTEGER" property="recordStatus" />
|
|
|
+ <result column="WorkNature" jdbcType="VARCHAR" property="workNature" />
|
|
|
+ <result column="ValidDay" jdbcType="INTEGER" property="validDay" />
|
|
|
+ <result column="WorkYear" jdbcType="INTEGER" property="workYear" />
|
|
|
+ <result column="CultureRank" jdbcType="INTEGER" property="cultureRank" />
|
|
|
+ <result column="MaxSalary" jdbcType="DECIMAL" property="maxSalary" />
|
|
|
+ <result column="MinSalary" jdbcType="DECIMAL" property="minSalary" />
|
|
|
+ <result column="welfare" jdbcType="VARCHAR" property="welfare" />
|
|
|
+ <result column="UserName" jdbcType="VARCHAR" property="userName" />
|
|
|
+ <result column="UserMobile" jdbcType="VARCHAR" property="userMobile" />
|
|
|
+ <result column="PostEmail" jdbcType="VARCHAR" property="postEmail" />
|
|
|
+ <result column="WorkTime" jdbcType="INTEGER" property="workTime" />
|
|
|
+ <result column="IsTrail" jdbcType="BIT" property="isTrail" />
|
|
|
+ <result column="TrailMonths" jdbcType="INTEGER" property="trailMonths" />
|
|
|
+ <result column="TrailMaxSalary" jdbcType="DECIMAL" property="trailMaxSalary" />
|
|
|
+ <result column="TrailMinSalary" jdbcType="DECIMAL" property="trailMinSalary" />
|
|
|
+ <result column="CreateUserID" jdbcType="VARCHAR" property="createUserID" />
|
|
|
+ <result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="ModifyUserID" jdbcType="VARCHAR" property="modifyUserID" />
|
|
|
+ <result column="ModifyTime" jdbcType="TIMESTAMP" property="modifyTime" />
|
|
|
+ <result column="ValidTime" jdbcType="TIMESTAMP" property="validTime" />
|
|
|
+ <result column="StartTime" jdbcType="TIMESTAMP" property="startTime" />
|
|
|
+ <result column="EndTime" jdbcType="TIMESTAMP" property="endTime" />
|
|
|
+ <result column="JobPlace" jdbcType="VARCHAR" property="jobPlace" />
|
|
|
+ <result column="ContactName" jdbcType="VARCHAR" property="contactName" />
|
|
|
+ <result column="ContactMobile" jdbcType="VARCHAR" property="contactMobile" />
|
|
|
+ <result column="ContactEmail" jdbcType="VARCHAR" property="contactEmail" />
|
|
|
+ <result column="WorkNatureID" jdbcType="INTEGER" property="workNatureID" />
|
|
|
+ <result column="TagID" jdbcType="INTEGER" property="tagID" />
|
|
|
+ <result column="OracleTableID" jdbcType="VARCHAR" property="oracleTableID" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.hz.employmentsite.model.PcPost">
|
|
|
<result column="PostDesc" jdbcType="LONGVARCHAR" property="postDesc" />
|
|
@@ -101,12 +102,11 @@
|
|
|
</where>
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
- PostID
|
|
|
- , ProfessionID, WorkCode, WorkName, RecruitCount, CompanyID, PostName, RecordStatus,
|
|
|
- WorkNature, ValidDay, WorkYear, CultureRank, MaxSalary, MinSalary, Welfare, UserName,
|
|
|
+ PostID, ProfessionID, WorkCode, WorkName, RecruitCount, CompanyID, PostName, RecordStatus,
|
|
|
+ WorkNature, ValidDay, WorkYear, CultureRank, MaxSalary, MinSalary, welfare, UserName,
|
|
|
UserMobile, PostEmail, WorkTime, IsTrail, TrailMonths, TrailMaxSalary, TrailMinSalary,
|
|
|
CreateUserID, CreateTime, ModifyUserID, ModifyTime, ValidTime, StartTime, EndTime,
|
|
|
- JobPlace, ContactName,ContactMobile,ContactEmail,WorkNatureID,TagID
|
|
|
+ JobPlace, ContactName, ContactMobile, ContactEmail, WorkNatureID, TagID, OracleTableID
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
PostDesc
|
|
@@ -160,32 +160,32 @@
|
|
|
</if>
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.hz.employmentsite.model.PcPost">
|
|
|
- insert into pc_post (PostID, ProfessionID, WorkCode,
|
|
|
- WorkName, RecruitCount, CompanyID,
|
|
|
- PostName, RecordStatus, WorkNature,
|
|
|
- ValidDay, WorkYear, CultureRank,
|
|
|
- MaxSalary, MinSalary, Welfare,
|
|
|
- UserName, UserMobile, PostEmail,
|
|
|
- WorkTime, IsTrail, TrailMonths,
|
|
|
- TrailMaxSalary, TrailMinSalary, CreateUserID,
|
|
|
- CreateTime, ModifyUserID, ModifyTime,
|
|
|
- ValidTime, StartTime, EndTime,
|
|
|
- JobPlace, PostDesc, ContactName,
|
|
|
- ContactMobile, ContactEmail, WorkNatureID,
|
|
|
- TagID)
|
|
|
- values (#{postID,jdbcType=VARCHAR}, #{professionID,jdbcType=VARCHAR}, #{workCode,jdbcType=VARCHAR},
|
|
|
- #{workName,jdbcType=VARCHAR}, #{recruitCount,jdbcType=INTEGER}, #{companyID,jdbcType=VARCHAR},
|
|
|
- #{postName,jdbcType=VARCHAR}, #{recordStatus,jdbcType=INTEGER}, #{workNature,jdbcType=VARCHAR},
|
|
|
- #{validDay,jdbcType=INTEGER}, #{workYear,jdbcType=INTEGER}, #{cultureRank,jdbcType=INTEGER},
|
|
|
- #{maxSalary,jdbcType=DECIMAL}, #{minSalary,jdbcType=DECIMAL}, #{welfare,jdbcType=VARCHAR},
|
|
|
- #{userName,jdbcType=VARCHAR}, #{userMobile,jdbcType=VARCHAR}, #{postEmail,jdbcType=VARCHAR},
|
|
|
- #{workTime,jdbcType=INTEGER}, #{isTrail,jdbcType=BIT}, #{trailMonths,jdbcType=INTEGER},
|
|
|
- #{trailMaxSalary,jdbcType=DECIMAL}, #{trailMinSalary,jdbcType=DECIMAL}, #{createUserID,jdbcType=VARCHAR},
|
|
|
- #{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- #{validTime,jdbcType=TIMESTAMP}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP},
|
|
|
- #{jobPlace,jdbcType=VARCHAR}, #{postDesc,jdbcType=LONGVARCHAR}, #{contactName,jdbcType=VARCHAR},
|
|
|
- #{contactMobile,jdbcType=VARCHAR}, #{contactEmail,jdbcType=VARCHAR},
|
|
|
- #{workNatureID,jdbcType=INTEGER}, #{tagID,jdbcType=INTEGER})
|
|
|
+ insert into pc_post (PostID, ProfessionID, WorkCode,
|
|
|
+ WorkName, RecruitCount, CompanyID,
|
|
|
+ PostName, RecordStatus, WorkNature,
|
|
|
+ ValidDay, WorkYear, CultureRank,
|
|
|
+ MaxSalary, MinSalary, welfare,
|
|
|
+ UserName, UserMobile, PostEmail,
|
|
|
+ WorkTime, IsTrail, TrailMonths,
|
|
|
+ TrailMaxSalary, TrailMinSalary, CreateUserID,
|
|
|
+ CreateTime, ModifyUserID, ModifyTime,
|
|
|
+ ValidTime, StartTime, EndTime,
|
|
|
+ JobPlace, ContactName, ContactMobile,
|
|
|
+ ContactEmail, WorkNatureID, TagID,
|
|
|
+ OracleTableID, PostDesc)
|
|
|
+ values (#{postID,jdbcType=VARCHAR}, #{professionID,jdbcType=VARCHAR}, #{workCode,jdbcType=VARCHAR},
|
|
|
+ #{workName,jdbcType=VARCHAR}, #{recruitCount,jdbcType=INTEGER}, #{companyID,jdbcType=VARCHAR},
|
|
|
+ #{postName,jdbcType=VARCHAR}, #{recordStatus,jdbcType=INTEGER}, #{workNature,jdbcType=VARCHAR},
|
|
|
+ #{validDay,jdbcType=INTEGER}, #{workYear,jdbcType=INTEGER}, #{cultureRank,jdbcType=INTEGER},
|
|
|
+ #{maxSalary,jdbcType=DECIMAL}, #{minSalary,jdbcType=DECIMAL}, #{welfare,jdbcType=VARCHAR},
|
|
|
+ #{userName,jdbcType=VARCHAR}, #{userMobile,jdbcType=VARCHAR}, #{postEmail,jdbcType=VARCHAR},
|
|
|
+ #{workTime,jdbcType=INTEGER}, #{isTrail,jdbcType=BIT}, #{trailMonths,jdbcType=INTEGER},
|
|
|
+ #{trailMaxSalary,jdbcType=DECIMAL}, #{trailMinSalary,jdbcType=DECIMAL}, #{createUserID,jdbcType=VARCHAR},
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ #{validTime,jdbcType=TIMESTAMP}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP},
|
|
|
+ #{jobPlace,jdbcType=VARCHAR}, #{contactName,jdbcType=VARCHAR}, #{contactMobile,jdbcType=VARCHAR},
|
|
|
+ #{contactEmail,jdbcType=VARCHAR}, #{workNatureID,jdbcType=INTEGER}, #{tagID,jdbcType=INTEGER},
|
|
|
+ #{oracleTableID,jdbcType=VARCHAR}, #{postDesc,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcPost">
|
|
|
insert into pc_post
|
|
@@ -233,7 +233,7 @@
|
|
|
MinSalary,
|
|
|
</if>
|
|
|
<if test="welfare != null">
|
|
|
- Welfare,
|
|
|
+ welfare,
|
|
|
</if>
|
|
|
<if test="userName != null">
|
|
|
UserName,
|
|
@@ -283,11 +283,8 @@
|
|
|
<if test="jobPlace != null">
|
|
|
JobPlace,
|
|
|
</if>
|
|
|
- <if test="postDesc != null">
|
|
|
- PostDesc,
|
|
|
- </if>
|
|
|
<if test="contactName != null">
|
|
|
- ContactName
|
|
|
+ ContactName,
|
|
|
</if>
|
|
|
<if test="contactMobile != null">
|
|
|
ContactMobile,
|
|
@@ -301,6 +298,12 @@
|
|
|
<if test="tagID != null">
|
|
|
TagID,
|
|
|
</if>
|
|
|
+ <if test="oracleTableID != null">
|
|
|
+ OracleTableID,
|
|
|
+ </if>
|
|
|
+ <if test="postDesc != null">
|
|
|
+ PostDesc,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="postID != null">
|
|
@@ -396,9 +399,6 @@
|
|
|
<if test="jobPlace != null">
|
|
|
#{jobPlace,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="postDesc != null">
|
|
|
- #{postDesc,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
<if test="contactName != null">
|
|
|
#{contactName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -414,6 +414,12 @@
|
|
|
<if test="tagID != null">
|
|
|
#{tagID,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="oracleTableID != null">
|
|
|
+ #{oracleTableID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="postDesc != null">
|
|
|
+ #{postDesc,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.hz.employmentsite.model.PcPostExample" resultType="java.lang.Long">
|
|
@@ -468,7 +474,7 @@
|
|
|
MinSalary = #{row.minSalary,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="row.welfare != null">
|
|
|
- Welfare = #{row.welfare,jdbcType=VARCHAR},
|
|
|
+ welfare = #{row.welfare,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="row.userName != null">
|
|
|
UserName = #{row.userName,jdbcType=VARCHAR},
|
|
@@ -518,9 +524,6 @@
|
|
|
<if test="row.jobPlace != null">
|
|
|
JobPlace = #{row.jobPlace,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="row.postDesc != null">
|
|
|
- PostDesc = #{row.postDesc,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
<if test="row.contactName != null">
|
|
|
ContactName = #{row.contactName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -536,6 +539,12 @@
|
|
|
<if test="row.tagID != null">
|
|
|
TagID = #{row.tagID,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="row.oracleTableID != null">
|
|
|
+ OracleTableID = #{row.oracleTableID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="row.postDesc != null">
|
|
|
+ PostDesc = #{row.postDesc,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -544,42 +553,43 @@
|
|
|
<update id="updateByExampleWithBLOBs" parameterType="map">
|
|
|
update pc_post
|
|
|
set PostID = #{row.postID,jdbcType=VARCHAR},
|
|
|
- ProfessionID = #{row.professionID,jdbcType=VARCHAR},
|
|
|
- WorkCode = #{row.workCode,jdbcType=VARCHAR},
|
|
|
- WorkName = #{row.workName,jdbcType=VARCHAR},
|
|
|
- RecruitCount = #{row.recruitCount,jdbcType=INTEGER},
|
|
|
- CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
- PostName = #{row.postName,jdbcType=VARCHAR},
|
|
|
- RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
|
- WorkNature = #{row.workNature,jdbcType=VARCHAR},
|
|
|
- ValidDay = #{row.validDay,jdbcType=INTEGER},
|
|
|
- WorkYear = #{row.workYear,jdbcType=INTEGER},
|
|
|
- CultureRank = #{row.cultureRank,jdbcType=INTEGER},
|
|
|
- MaxSalary = #{row.maxSalary,jdbcType=DECIMAL},
|
|
|
- MinSalary = #{row.minSalary,jdbcType=DECIMAL},
|
|
|
- Welfare = #{row.welfare,jdbcType=VARCHAR},
|
|
|
- UserName = #{row.userName,jdbcType=VARCHAR},
|
|
|
- UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
- PostEmail = #{row.postEmail,jdbcType=VARCHAR},
|
|
|
- WorkTime = #{row.workTime,jdbcType=INTEGER},
|
|
|
- IsTrail = #{row.isTrail,jdbcType=BIT},
|
|
|
- TrailMonths = #{row.trailMonths,jdbcType=INTEGER},
|
|
|
- TrailMaxSalary = #{row.trailMaxSalary,jdbcType=DECIMAL},
|
|
|
- TrailMinSalary = #{row.trailMinSalary,jdbcType=DECIMAL},
|
|
|
- CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
- CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
- ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
- ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
- StartTime = #{row.startTime,jdbcType=TIMESTAMP},
|
|
|
- EndTime = #{row.endTime,jdbcType=TIMESTAMP},
|
|
|
- JobPlace = #{row.jobPlace,jdbcType=VARCHAR},
|
|
|
- PostDesc = #{row.postDesc,jdbcType=LONGVARCHAR},
|
|
|
- ContactName = #{row.contactName,jdbcType=VARCHAR},
|
|
|
- ContactMobile = #{row.contactMobile,jdbcType=VARCHAR},
|
|
|
- ContactEmail = #{row.contactEmail,jdbcType=VARCHAR},
|
|
|
- WorkNatureID = #{row.workNatureID,jdbcType=INTEGER},
|
|
|
- TagID = #{row.tagID,jdbcType=INTEGER}
|
|
|
+ ProfessionID = #{row.professionID,jdbcType=VARCHAR},
|
|
|
+ WorkCode = #{row.workCode,jdbcType=VARCHAR},
|
|
|
+ WorkName = #{row.workName,jdbcType=VARCHAR},
|
|
|
+ RecruitCount = #{row.recruitCount,jdbcType=INTEGER},
|
|
|
+ CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
+ PostName = #{row.postName,jdbcType=VARCHAR},
|
|
|
+ RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
|
+ WorkNature = #{row.workNature,jdbcType=VARCHAR},
|
|
|
+ ValidDay = #{row.validDay,jdbcType=INTEGER},
|
|
|
+ WorkYear = #{row.workYear,jdbcType=INTEGER},
|
|
|
+ CultureRank = #{row.cultureRank,jdbcType=INTEGER},
|
|
|
+ MaxSalary = #{row.maxSalary,jdbcType=DECIMAL},
|
|
|
+ MinSalary = #{row.minSalary,jdbcType=DECIMAL},
|
|
|
+ welfare = #{row.welfare,jdbcType=VARCHAR},
|
|
|
+ UserName = #{row.userName,jdbcType=VARCHAR},
|
|
|
+ UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
+ PostEmail = #{row.postEmail,jdbcType=VARCHAR},
|
|
|
+ WorkTime = #{row.workTime,jdbcType=INTEGER},
|
|
|
+ IsTrail = #{row.isTrail,jdbcType=BIT},
|
|
|
+ TrailMonths = #{row.trailMonths,jdbcType=INTEGER},
|
|
|
+ TrailMaxSalary = #{row.trailMaxSalary,jdbcType=DECIMAL},
|
|
|
+ TrailMinSalary = #{row.trailMinSalary,jdbcType=DECIMAL},
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
+ StartTime = #{row.startTime,jdbcType=TIMESTAMP},
|
|
|
+ EndTime = #{row.endTime,jdbcType=TIMESTAMP},
|
|
|
+ JobPlace = #{row.jobPlace,jdbcType=VARCHAR},
|
|
|
+ ContactName = #{row.contactName,jdbcType=VARCHAR},
|
|
|
+ ContactMobile = #{row.contactMobile,jdbcType=VARCHAR},
|
|
|
+ ContactEmail = #{row.contactEmail,jdbcType=VARCHAR},
|
|
|
+ WorkNatureID = #{row.workNatureID,jdbcType=INTEGER},
|
|
|
+ TagID = #{row.tagID,jdbcType=INTEGER},
|
|
|
+ OracleTableID = #{row.oracleTableID,jdbcType=VARCHAR},
|
|
|
+ PostDesc = #{row.postDesc,jdbcType=LONGVARCHAR}
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -587,41 +597,42 @@
|
|
|
<update id="updateByExample" parameterType="map">
|
|
|
update pc_post
|
|
|
set PostID = #{row.postID,jdbcType=VARCHAR},
|
|
|
- ProfessionID = #{row.professionID,jdbcType=VARCHAR},
|
|
|
- WorkCode = #{row.workCode,jdbcType=VARCHAR},
|
|
|
- WorkName = #{row.workName,jdbcType=VARCHAR},
|
|
|
- RecruitCount = #{row.recruitCount,jdbcType=INTEGER},
|
|
|
- CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
- PostName = #{row.postName,jdbcType=VARCHAR},
|
|
|
- RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
|
- WorkNature = #{row.workNature,jdbcType=VARCHAR},
|
|
|
- ValidDay = #{row.validDay,jdbcType=INTEGER},
|
|
|
- WorkYear = #{row.workYear,jdbcType=INTEGER},
|
|
|
- CultureRank = #{row.cultureRank,jdbcType=INTEGER},
|
|
|
- MaxSalary = #{row.maxSalary,jdbcType=DECIMAL},
|
|
|
- MinSalary = #{row.minSalary,jdbcType=DECIMAL},
|
|
|
- Welfare = #{row.welfare,jdbcType=VARCHAR},
|
|
|
- UserName = #{row.userName,jdbcType=VARCHAR},
|
|
|
- UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
- PostEmail = #{row.postEmail,jdbcType=VARCHAR},
|
|
|
- WorkTime = #{row.workTime,jdbcType=INTEGER},
|
|
|
- IsTrail = #{row.isTrail,jdbcType=BIT},
|
|
|
- TrailMonths = #{row.trailMonths,jdbcType=INTEGER},
|
|
|
- TrailMaxSalary = #{row.trailMaxSalary,jdbcType=DECIMAL},
|
|
|
- TrailMinSalary = #{row.trailMinSalary,jdbcType=DECIMAL},
|
|
|
- CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
- CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
- ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
- ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
- StartTime = #{row.startTime,jdbcType=TIMESTAMP},
|
|
|
- EndTime = #{row.endTime,jdbcType=TIMESTAMP},
|
|
|
- JobPlace = #{row.jobPlace,jdbcType=VARCHAR},
|
|
|
- ContactName = #{row.contactName,jdbcType=VARCHAR},
|
|
|
- ContactMobile = #{row.contactMobile,jdbcType=VARCHAR},
|
|
|
- ContactEmail = #{row.contactEmail,jdbcType=VARCHAR},
|
|
|
- WorkNatureID = #{row.workNatureID,jdbcType=INTEGER},
|
|
|
- TagID = #{row.tagID,jdbcType=INTEGER}
|
|
|
+ ProfessionID = #{row.professionID,jdbcType=VARCHAR},
|
|
|
+ WorkCode = #{row.workCode,jdbcType=VARCHAR},
|
|
|
+ WorkName = #{row.workName,jdbcType=VARCHAR},
|
|
|
+ RecruitCount = #{row.recruitCount,jdbcType=INTEGER},
|
|
|
+ CompanyID = #{row.companyID,jdbcType=VARCHAR},
|
|
|
+ PostName = #{row.postName,jdbcType=VARCHAR},
|
|
|
+ RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
|
|
|
+ WorkNature = #{row.workNature,jdbcType=VARCHAR},
|
|
|
+ ValidDay = #{row.validDay,jdbcType=INTEGER},
|
|
|
+ WorkYear = #{row.workYear,jdbcType=INTEGER},
|
|
|
+ CultureRank = #{row.cultureRank,jdbcType=INTEGER},
|
|
|
+ MaxSalary = #{row.maxSalary,jdbcType=DECIMAL},
|
|
|
+ MinSalary = #{row.minSalary,jdbcType=DECIMAL},
|
|
|
+ welfare = #{row.welfare,jdbcType=VARCHAR},
|
|
|
+ UserName = #{row.userName,jdbcType=VARCHAR},
|
|
|
+ UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
+ PostEmail = #{row.postEmail,jdbcType=VARCHAR},
|
|
|
+ WorkTime = #{row.workTime,jdbcType=INTEGER},
|
|
|
+ IsTrail = #{row.isTrail,jdbcType=BIT},
|
|
|
+ TrailMonths = #{row.trailMonths,jdbcType=INTEGER},
|
|
|
+ TrailMaxSalary = #{row.trailMaxSalary,jdbcType=DECIMAL},
|
|
|
+ TrailMinSalary = #{row.trailMinSalary,jdbcType=DECIMAL},
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
|
|
|
+ StartTime = #{row.startTime,jdbcType=TIMESTAMP},
|
|
|
+ EndTime = #{row.endTime,jdbcType=TIMESTAMP},
|
|
|
+ JobPlace = #{row.jobPlace,jdbcType=VARCHAR},
|
|
|
+ ContactName = #{row.contactName,jdbcType=VARCHAR},
|
|
|
+ ContactMobile = #{row.contactMobile,jdbcType=VARCHAR},
|
|
|
+ ContactEmail = #{row.contactEmail,jdbcType=VARCHAR},
|
|
|
+ WorkNatureID = #{row.workNatureID,jdbcType=INTEGER},
|
|
|
+ TagID = #{row.tagID,jdbcType=INTEGER},
|
|
|
+ OracleTableID = #{row.oracleTableID,jdbcType=VARCHAR}
|
|
|
<if test="example != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -669,7 +680,7 @@
|
|
|
MinSalary = #{minSalary,jdbcType=DECIMAL},
|
|
|
</if>
|
|
|
<if test="welfare != null">
|
|
|
- Welfare = #{welfare,jdbcType=VARCHAR},
|
|
|
+ welfare = #{welfare,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="userName != null">
|
|
|
UserName = #{userName,jdbcType=VARCHAR},
|
|
@@ -719,9 +730,6 @@
|
|
|
<if test="jobPlace != null">
|
|
|
JobPlace = #{jobPlace,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="postDesc != null">
|
|
|
- PostDesc = #{postDesc,jdbcType=LONGVARCHAR},
|
|
|
- </if>
|
|
|
<if test="contactName != null">
|
|
|
ContactName = #{contactName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
@@ -737,87 +745,94 @@
|
|
|
<if test="tagID != null">
|
|
|
TagID = #{tagID,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
+ <if test="oracleTableID != null">
|
|
|
+ OracleTableID = #{oracleTableID,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="postDesc != null">
|
|
|
+ PostDesc = #{postDesc,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where PostID = #{postID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKeyWithBLOBs" parameterType="com.hz.employmentsite.model.PcPost">
|
|
|
update pc_post
|
|
|
- set ProfessionID = #{professionID,jdbcType=VARCHAR},
|
|
|
- WorkCode = #{workCode,jdbcType=VARCHAR},
|
|
|
- WorkName = #{workName,jdbcType=VARCHAR},
|
|
|
- RecruitCount = #{recruitCount,jdbcType=INTEGER},
|
|
|
- CompanyID = #{companyID,jdbcType=VARCHAR},
|
|
|
- PostName = #{postName,jdbcType=VARCHAR},
|
|
|
- RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
- WorkNature = #{workNature,jdbcType=VARCHAR},
|
|
|
- ValidDay = #{validDay,jdbcType=INTEGER},
|
|
|
- WorkYear = #{workYear,jdbcType=INTEGER},
|
|
|
- CultureRank = #{cultureRank,jdbcType=INTEGER},
|
|
|
- MaxSalary = #{maxSalary,jdbcType=DECIMAL},
|
|
|
- MinSalary = #{minSalary,jdbcType=DECIMAL},
|
|
|
- Welfare = #{welfare,jdbcType=VARCHAR},
|
|
|
- UserName = #{userName,jdbcType=VARCHAR},
|
|
|
- UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
- PostEmail = #{postEmail,jdbcType=VARCHAR},
|
|
|
- WorkTime = #{workTime,jdbcType=INTEGER},
|
|
|
- IsTrail = #{isTrail,jdbcType=BIT},
|
|
|
- TrailMonths = #{trailMonths,jdbcType=INTEGER},
|
|
|
- TrailMaxSalary = #{trailMaxSalary,jdbcType=DECIMAL},
|
|
|
- TrailMinSalary = #{trailMinSalary,jdbcType=DECIMAL},
|
|
|
- CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
- CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
- ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
- StartTime = #{startTime,jdbcType=TIMESTAMP},
|
|
|
- EndTime = #{endTime,jdbcType=TIMESTAMP},
|
|
|
- JobPlace = #{jobPlace,jdbcType=VARCHAR},
|
|
|
- PostDesc = #{postDesc,jdbcType=LONGVARCHAR},
|
|
|
- ContactName = #{contactName,jdbcType=VARCHAR},
|
|
|
- ContactMobile = #{contactMobile,jdbcType=VARCHAR},
|
|
|
- ContactEmail = #{contactEmail,jdbcType=VARCHAR},
|
|
|
- WorkNatureID = #{workNatureID,jdbcType=INTEGER},
|
|
|
- TagID = #{tagID,jdbcType=INTEGER}
|
|
|
+ set ProfessionID = #{professionID,jdbcType=VARCHAR},
|
|
|
+ WorkCode = #{workCode,jdbcType=VARCHAR},
|
|
|
+ WorkName = #{workName,jdbcType=VARCHAR},
|
|
|
+ RecruitCount = #{recruitCount,jdbcType=INTEGER},
|
|
|
+ CompanyID = #{companyID,jdbcType=VARCHAR},
|
|
|
+ PostName = #{postName,jdbcType=VARCHAR},
|
|
|
+ RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
+ WorkNature = #{workNature,jdbcType=VARCHAR},
|
|
|
+ ValidDay = #{validDay,jdbcType=INTEGER},
|
|
|
+ WorkYear = #{workYear,jdbcType=INTEGER},
|
|
|
+ CultureRank = #{cultureRank,jdbcType=INTEGER},
|
|
|
+ MaxSalary = #{maxSalary,jdbcType=DECIMAL},
|
|
|
+ MinSalary = #{minSalary,jdbcType=DECIMAL},
|
|
|
+ welfare = #{welfare,jdbcType=VARCHAR},
|
|
|
+ UserName = #{userName,jdbcType=VARCHAR},
|
|
|
+ UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
+ PostEmail = #{postEmail,jdbcType=VARCHAR},
|
|
|
+ WorkTime = #{workTime,jdbcType=INTEGER},
|
|
|
+ IsTrail = #{isTrail,jdbcType=BIT},
|
|
|
+ TrailMonths = #{trailMonths,jdbcType=INTEGER},
|
|
|
+ TrailMaxSalary = #{trailMaxSalary,jdbcType=DECIMAL},
|
|
|
+ TrailMinSalary = #{trailMinSalary,jdbcType=DECIMAL},
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ StartTime = #{startTime,jdbcType=TIMESTAMP},
|
|
|
+ EndTime = #{endTime,jdbcType=TIMESTAMP},
|
|
|
+ JobPlace = #{jobPlace,jdbcType=VARCHAR},
|
|
|
+ ContactName = #{contactName,jdbcType=VARCHAR},
|
|
|
+ ContactMobile = #{contactMobile,jdbcType=VARCHAR},
|
|
|
+ ContactEmail = #{contactEmail,jdbcType=VARCHAR},
|
|
|
+ WorkNatureID = #{workNatureID,jdbcType=INTEGER},
|
|
|
+ TagID = #{tagID,jdbcType=INTEGER},
|
|
|
+ OracleTableID = #{oracleTableID,jdbcType=VARCHAR},
|
|
|
+ PostDesc = #{postDesc,jdbcType=LONGVARCHAR}
|
|
|
where PostID = #{postID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcPost">
|
|
|
update pc_post
|
|
|
set ProfessionID = #{professionID,jdbcType=VARCHAR},
|
|
|
- WorkCode = #{workCode,jdbcType=VARCHAR},
|
|
|
- WorkName = #{workName,jdbcType=VARCHAR},
|
|
|
- RecruitCount = #{recruitCount,jdbcType=INTEGER},
|
|
|
- CompanyID = #{companyID,jdbcType=VARCHAR},
|
|
|
- PostName = #{postName,jdbcType=VARCHAR},
|
|
|
- RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
- WorkNature = #{workNature,jdbcType=VARCHAR},
|
|
|
- ValidDay = #{validDay,jdbcType=INTEGER},
|
|
|
- WorkYear = #{workYear,jdbcType=INTEGER},
|
|
|
- CultureRank = #{cultureRank,jdbcType=INTEGER},
|
|
|
- MaxSalary = #{maxSalary,jdbcType=DECIMAL},
|
|
|
- MinSalary = #{minSalary,jdbcType=DECIMAL},
|
|
|
- Welfare = #{welfare,jdbcType=VARCHAR},
|
|
|
- UserName = #{userName,jdbcType=VARCHAR},
|
|
|
- UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
- PostEmail = #{postEmail,jdbcType=VARCHAR},
|
|
|
- WorkTime = #{workTime,jdbcType=INTEGER},
|
|
|
- IsTrail = #{isTrail,jdbcType=BIT},
|
|
|
- TrailMonths = #{trailMonths,jdbcType=INTEGER},
|
|
|
- TrailMaxSalary = #{trailMaxSalary,jdbcType=DECIMAL},
|
|
|
- TrailMinSalary = #{trailMinSalary,jdbcType=DECIMAL},
|
|
|
- CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
- CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
- ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
- ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
- StartTime = #{startTime,jdbcType=TIMESTAMP},
|
|
|
- EndTime = #{endTime,jdbcType=TIMESTAMP},
|
|
|
- JobPlace = #{jobPlace,jdbcType=VARCHAR},
|
|
|
- ContactName = #{contactName,jdbcType=VARCHAR},
|
|
|
- ContactMobile = #{contactMobile,jdbcType=VARCHAR},
|
|
|
- ContactEmail = #{contactEmail,jdbcType=VARCHAR},
|
|
|
- WorkNatureID = #{workNatureID,jdbcType=INTEGER},
|
|
|
- TagID = #{tagID,jdbcType=INTEGER}
|
|
|
+ WorkCode = #{workCode,jdbcType=VARCHAR},
|
|
|
+ WorkName = #{workName,jdbcType=VARCHAR},
|
|
|
+ RecruitCount = #{recruitCount,jdbcType=INTEGER},
|
|
|
+ CompanyID = #{companyID,jdbcType=VARCHAR},
|
|
|
+ PostName = #{postName,jdbcType=VARCHAR},
|
|
|
+ RecordStatus = #{recordStatus,jdbcType=INTEGER},
|
|
|
+ WorkNature = #{workNature,jdbcType=VARCHAR},
|
|
|
+ ValidDay = #{validDay,jdbcType=INTEGER},
|
|
|
+ WorkYear = #{workYear,jdbcType=INTEGER},
|
|
|
+ CultureRank = #{cultureRank,jdbcType=INTEGER},
|
|
|
+ MaxSalary = #{maxSalary,jdbcType=DECIMAL},
|
|
|
+ MinSalary = #{minSalary,jdbcType=DECIMAL},
|
|
|
+ welfare = #{welfare,jdbcType=VARCHAR},
|
|
|
+ UserName = #{userName,jdbcType=VARCHAR},
|
|
|
+ UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
+ PostEmail = #{postEmail,jdbcType=VARCHAR},
|
|
|
+ WorkTime = #{workTime,jdbcType=INTEGER},
|
|
|
+ IsTrail = #{isTrail,jdbcType=BIT},
|
|
|
+ TrailMonths = #{trailMonths,jdbcType=INTEGER},
|
|
|
+ TrailMaxSalary = #{trailMaxSalary,jdbcType=DECIMAL},
|
|
|
+ TrailMinSalary = #{trailMinSalary,jdbcType=DECIMAL},
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ ValidTime = #{validTime,jdbcType=TIMESTAMP},
|
|
|
+ StartTime = #{startTime,jdbcType=TIMESTAMP},
|
|
|
+ EndTime = #{endTime,jdbcType=TIMESTAMP},
|
|
|
+ JobPlace = #{jobPlace,jdbcType=VARCHAR},
|
|
|
+ ContactName = #{contactName,jdbcType=VARCHAR},
|
|
|
+ ContactMobile = #{contactMobile,jdbcType=VARCHAR},
|
|
|
+ ContactEmail = #{contactEmail,jdbcType=VARCHAR},
|
|
|
+ WorkNatureID = #{workNatureID,jdbcType=INTEGER},
|
|
|
+ TagID = #{tagID,jdbcType=INTEGER},
|
|
|
+ OracleTableID = #{oracleTableID,jdbcType=VARCHAR}
|
|
|
where PostID = #{postID,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
-
|
|
|
</mapper>
|