123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!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" />
- <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" />
- </resultMap>
- <sql id="Example_Where_Clause">
- <where>
- <foreach collection="oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Update_By_Example_Where_Clause">
- <where>
- <foreach collection="example.oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Base_Column_List">
- 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
- </sql>
- <sql id="Blob_Column_List">
- PostDesc
- </sql>
- <select id="selectByExampleWithBLOBs" parameterType="com.hz.employmentsite.model.PcPostExample" resultMap="ResultMapWithBLOBs">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from pc_post
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByExample" parameterType="com.hz.employmentsite.model.PcPostExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from pc_post
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
- select
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from pc_post
- where PostID = #{postID,jdbcType=VARCHAR}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
- delete from pc_post
- where PostID = #{postID,jdbcType=VARCHAR}
- </delete>
- <delete id="deleteByExample" parameterType="com.hz.employmentsite.model.PcPostExample">
- delete from pc_post
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </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, 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
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="postID != null">
- PostID,
- </if>
- <if test="professionID != null">
- ProfessionID,
- </if>
- <if test="workCode != null">
- WorkCode,
- </if>
- <if test="workName != null">
- WorkName,
- </if>
- <if test="recruitCount != null">
- RecruitCount,
- </if>
- <if test="companyID != null">
- CompanyID,
- </if>
- <if test="postName != null">
- PostName,
- </if>
- <if test="recordStatus != null">
- RecordStatus,
- </if>
- <if test="workNature != null">
- WorkNature,
- </if>
- <if test="validDay != null">
- ValidDay,
- </if>
- <if test="workYear != null">
- WorkYear,
- </if>
- <if test="cultureRank != null">
- CultureRank,
- </if>
- <if test="maxSalary != null">
- MaxSalary,
- </if>
- <if test="minSalary != null">
- MinSalary,
- </if>
- <if test="welfare != null">
- welfare,
- </if>
- <if test="userName != null">
- UserName,
- </if>
- <if test="userMobile != null">
- UserMobile,
- </if>
- <if test="postEmail != null">
- PostEmail,
- </if>
- <if test="workTime != null">
- WorkTime,
- </if>
- <if test="isTrail != null">
- IsTrail,
- </if>
- <if test="trailMonths != null">
- TrailMonths,
- </if>
- <if test="trailMaxSalary != null">
- TrailMaxSalary,
- </if>
- <if test="trailMinSalary != null">
- TrailMinSalary,
- </if>
- <if test="createUserID != null">
- CreateUserID,
- </if>
- <if test="createTime != null">
- CreateTime,
- </if>
- <if test="modifyUserID != null">
- ModifyUserID,
- </if>
- <if test="modifyTime != null">
- ModifyTime,
- </if>
- <if test="validTime != null">
- ValidTime,
- </if>
- <if test="startTime != null">
- StartTime,
- </if>
- <if test="endTime != null">
- EndTime,
- </if>
- <if test="jobPlace != null">
- JobPlace,
- </if>
- <if test="contactName != null">
- ContactName,
- </if>
- <if test="contactMobile != null">
- ContactMobile,
- </if>
- <if test="contactEmail != null">
- ContactEmail,
- </if>
- <if test="workNatureID != null">
- WorkNatureID,
- </if>
- <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">
- #{postID,jdbcType=VARCHAR},
- </if>
- <if test="professionID != null">
- #{professionID,jdbcType=VARCHAR},
- </if>
- <if test="workCode != null">
- #{workCode,jdbcType=VARCHAR},
- </if>
- <if test="workName != null">
- #{workName,jdbcType=VARCHAR},
- </if>
- <if test="recruitCount != null">
- #{recruitCount,jdbcType=INTEGER},
- </if>
- <if test="companyID != null">
- #{companyID,jdbcType=VARCHAR},
- </if>
- <if test="postName != null">
- #{postName,jdbcType=VARCHAR},
- </if>
- <if test="recordStatus != null">
- #{recordStatus,jdbcType=INTEGER},
- </if>
- <if test="workNature != null">
- #{workNature,jdbcType=VARCHAR},
- </if>
- <if test="validDay != null">
- #{validDay,jdbcType=INTEGER},
- </if>
- <if test="workYear != null">
- #{workYear,jdbcType=INTEGER},
- </if>
- <if test="cultureRank != null">
- #{cultureRank,jdbcType=INTEGER},
- </if>
- <if test="maxSalary != null">
- #{maxSalary,jdbcType=DECIMAL},
- </if>
- <if test="minSalary != null">
- #{minSalary,jdbcType=DECIMAL},
- </if>
- <if test="welfare != null">
- #{welfare,jdbcType=VARCHAR},
- </if>
- <if test="userName != null">
- #{userName,jdbcType=VARCHAR},
- </if>
- <if test="userMobile != null">
- #{userMobile,jdbcType=VARCHAR},
- </if>
- <if test="postEmail != null">
- #{postEmail,jdbcType=VARCHAR},
- </if>
- <if test="workTime != null">
- #{workTime,jdbcType=INTEGER},
- </if>
- <if test="isTrail != null">
- #{isTrail,jdbcType=BIT},
- </if>
- <if test="trailMonths != null">
- #{trailMonths,jdbcType=INTEGER},
- </if>
- <if test="trailMaxSalary != null">
- #{trailMaxSalary,jdbcType=DECIMAL},
- </if>
- <if test="trailMinSalary != null">
- #{trailMinSalary,jdbcType=DECIMAL},
- </if>
- <if test="createUserID != null">
- #{createUserID,jdbcType=VARCHAR},
- </if>
- <if test="createTime != null">
- #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="modifyUserID != null">
- #{modifyUserID,jdbcType=VARCHAR},
- </if>
- <if test="modifyTime != null">
- #{modifyTime,jdbcType=TIMESTAMP},
- </if>
- <if test="validTime != null">
- #{validTime,jdbcType=TIMESTAMP},
- </if>
- <if test="startTime != null">
- #{startTime,jdbcType=TIMESTAMP},
- </if>
- <if test="endTime != null">
- #{endTime,jdbcType=TIMESTAMP},
- </if>
- <if test="jobPlace != null">
- #{jobPlace,jdbcType=VARCHAR},
- </if>
- <if test="contactName != null">
- #{contactName,jdbcType=VARCHAR},
- </if>
- <if test="contactMobile != null">
- #{contactMobile,jdbcType=VARCHAR},
- </if>
- <if test="contactEmail != null">
- #{contactEmail,jdbcType=VARCHAR},
- </if>
- <if test="workNatureID != null">
- #{workNatureID,jdbcType=INTEGER},
- </if>
- <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">
- select count(*) from pc_post
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update pc_post
- <set>
- <if test="row.postID != null">
- PostID = #{row.postID,jdbcType=VARCHAR},
- </if>
- <if test="row.professionID != null">
- ProfessionID = #{row.professionID,jdbcType=VARCHAR},
- </if>
- <if test="row.workCode != null">
- WorkCode = #{row.workCode,jdbcType=VARCHAR},
- </if>
- <if test="row.workName != null">
- WorkName = #{row.workName,jdbcType=VARCHAR},
- </if>
- <if test="row.recruitCount != null">
- RecruitCount = #{row.recruitCount,jdbcType=INTEGER},
- </if>
- <if test="row.companyID != null">
- CompanyID = #{row.companyID,jdbcType=VARCHAR},
- </if>
- <if test="row.postName != null">
- PostName = #{row.postName,jdbcType=VARCHAR},
- </if>
- <if test="row.recordStatus != null">
- RecordStatus = #{row.recordStatus,jdbcType=INTEGER},
- </if>
- <if test="row.workNature != null">
- WorkNature = #{row.workNature,jdbcType=VARCHAR},
- </if>
- <if test="row.validDay != null">
- ValidDay = #{row.validDay,jdbcType=INTEGER},
- </if>
- <if test="row.workYear != null">
- WorkYear = #{row.workYear,jdbcType=INTEGER},
- </if>
- <if test="row.cultureRank != null">
- CultureRank = #{row.cultureRank,jdbcType=INTEGER},
- </if>
- <if test="row.maxSalary != null">
- MaxSalary = #{row.maxSalary,jdbcType=DECIMAL},
- </if>
- <if test="row.minSalary != null">
- MinSalary = #{row.minSalary,jdbcType=DECIMAL},
- </if>
- <if test="row.welfare != null">
- welfare = #{row.welfare,jdbcType=VARCHAR},
- </if>
- <if test="row.userName != null">
- UserName = #{row.userName,jdbcType=VARCHAR},
- </if>
- <if test="row.userMobile != null">
- UserMobile = #{row.userMobile,jdbcType=VARCHAR},
- </if>
- <if test="row.postEmail != null">
- PostEmail = #{row.postEmail,jdbcType=VARCHAR},
- </if>
- <if test="row.workTime != null">
- WorkTime = #{row.workTime,jdbcType=INTEGER},
- </if>
- <if test="row.isTrail != null">
- IsTrail = #{row.isTrail,jdbcType=BIT},
- </if>
- <if test="row.trailMonths != null">
- TrailMonths = #{row.trailMonths,jdbcType=INTEGER},
- </if>
- <if test="row.trailMaxSalary != null">
- TrailMaxSalary = #{row.trailMaxSalary,jdbcType=DECIMAL},
- </if>
- <if test="row.trailMinSalary != null">
- TrailMinSalary = #{row.trailMinSalary,jdbcType=DECIMAL},
- </if>
- <if test="row.createUserID != null">
- CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
- </if>
- <if test="row.createTime != null">
- CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="row.modifyUserID != null">
- ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
- </if>
- <if test="row.modifyTime != null">
- ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP},
- </if>
- <if test="row.validTime != null">
- ValidTime = #{row.validTime,jdbcType=TIMESTAMP},
- </if>
- <if test="row.startTime != null">
- StartTime = #{row.startTime,jdbcType=TIMESTAMP},
- </if>
- <if test="row.endTime != null">
- EndTime = #{row.endTime,jdbcType=TIMESTAMP},
- </if>
- <if test="row.jobPlace != null">
- JobPlace = #{row.jobPlace,jdbcType=VARCHAR},
- </if>
- <if test="row.contactName != null">
- ContactName = #{row.contactName,jdbcType=VARCHAR},
- </if>
- <if test="row.contactMobile != null">
- ContactMobile = #{row.contactMobile,jdbcType=VARCHAR},
- </if>
- <if test="row.contactEmail != null">
- ContactEmail = #{row.contactEmail,jdbcType=VARCHAR},
- </if>
- <if test="row.workNatureID != null">
- WorkNatureID = #{row.workNatureID,jdbcType=INTEGER},
- </if>
- <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" />
- </if>
- </update>
- <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},
- 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>
- </update>
- <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},
- OracleTableID = #{row.oracleTableID,jdbcType=VARCHAR}
- <if test="example != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.hz.employmentsite.model.PcPost">
- update pc_post
- <set>
- <if test="professionID != null">
- ProfessionID = #{professionID,jdbcType=VARCHAR},
- </if>
- <if test="workCode != null">
- WorkCode = #{workCode,jdbcType=VARCHAR},
- </if>
- <if test="workName != null">
- WorkName = #{workName,jdbcType=VARCHAR},
- </if>
- <if test="recruitCount != null">
- RecruitCount = #{recruitCount,jdbcType=INTEGER},
- </if>
- <if test="companyID != null">
- CompanyID = #{companyID,jdbcType=VARCHAR},
- </if>
- <if test="postName != null">
- PostName = #{postName,jdbcType=VARCHAR},
- </if>
- <if test="recordStatus != null">
- RecordStatus = #{recordStatus,jdbcType=INTEGER},
- </if>
- <if test="workNature != null">
- WorkNature = #{workNature,jdbcType=VARCHAR},
- </if>
- <if test="validDay != null">
- ValidDay = #{validDay,jdbcType=INTEGER},
- </if>
- <if test="workYear != null">
- WorkYear = #{workYear,jdbcType=INTEGER},
- </if>
- <if test="cultureRank != null">
- CultureRank = #{cultureRank,jdbcType=INTEGER},
- </if>
- <if test="maxSalary != null">
- MaxSalary = #{maxSalary,jdbcType=DECIMAL},
- </if>
- <if test="minSalary != null">
- MinSalary = #{minSalary,jdbcType=DECIMAL},
- </if>
- <if test="welfare != null">
- welfare = #{welfare,jdbcType=VARCHAR},
- </if>
- <if test="userName != null">
- UserName = #{userName,jdbcType=VARCHAR},
- </if>
- <if test="userMobile != null">
- UserMobile = #{userMobile,jdbcType=VARCHAR},
- </if>
- <if test="postEmail != null">
- PostEmail = #{postEmail,jdbcType=VARCHAR},
- </if>
- <if test="workTime != null">
- WorkTime = #{workTime,jdbcType=INTEGER},
- </if>
- <if test="isTrail != null">
- IsTrail = #{isTrail,jdbcType=BIT},
- </if>
- <if test="trailMonths != null">
- TrailMonths = #{trailMonths,jdbcType=INTEGER},
- </if>
- <if test="trailMaxSalary != null">
- TrailMaxSalary = #{trailMaxSalary,jdbcType=DECIMAL},
- </if>
- <if test="trailMinSalary != null">
- TrailMinSalary = #{trailMinSalary,jdbcType=DECIMAL},
- </if>
- <if test="createUserID != null">
- CreateUserID = #{createUserID,jdbcType=VARCHAR},
- </if>
- <if test="createTime != null">
- CreateTime = #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="modifyUserID != null">
- ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
- </if>
- <if test="modifyTime != null">
- ModifyTime = #{modifyTime,jdbcType=TIMESTAMP},
- </if>
- <if test="validTime != null">
- ValidTime = #{validTime,jdbcType=TIMESTAMP},
- </if>
- <if test="startTime != null">
- StartTime = #{startTime,jdbcType=TIMESTAMP},
- </if>
- <if test="endTime != null">
- EndTime = #{endTime,jdbcType=TIMESTAMP},
- </if>
- <if test="jobPlace != null">
- JobPlace = #{jobPlace,jdbcType=VARCHAR},
- </if>
- <if test="contactName != null">
- ContactName = #{contactName,jdbcType=VARCHAR},
- </if>
- <if test="contactMobile != null">
- ContactMobile = #{contactMobile,jdbcType=VARCHAR},
- </if>
- <if test="contactEmail != null">
- ContactEmail = #{contactEmail,jdbcType=VARCHAR},
- </if>
- <if test="workNatureID != null">
- WorkNatureID = #{workNatureID,jdbcType=INTEGER},
- </if>
- <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},
- 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},
- OracleTableID = #{oracleTableID,jdbcType=VARCHAR}
- where PostID = #{postID,jdbcType=VARCHAR}
- </update>
- </mapper>
|