|
@@ -0,0 +1,685 @@
|
|
|
|
+<?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.PcJobuserMapper">
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.hz.employmentsite.model.PcJobuser">
|
|
|
|
+ <id column="JobuserID" jdbcType="VARCHAR" property="jobuserID" />
|
|
|
|
+ <result column="SiteID" jdbcType="VARCHAR" property="siteID" />
|
|
|
|
+ <result column="IdentityNumber" jdbcType="VARCHAR" property="identityNumber" />
|
|
|
|
+ <result column="Name" jdbcType="VARCHAR" property="name" />
|
|
|
|
+ <result column="PyName" jdbcType="VARCHAR" property="pyName" />
|
|
|
|
+ <result column="EngName" jdbcType="VARCHAR" property="engName" />
|
|
|
|
+ <result column="Sex" jdbcType="INTEGER" property="sex" />
|
|
|
|
+ <result column="Nation" jdbcType="VARCHAR" property="nation" />
|
|
|
|
+ <result column="PoliticsStatusID" jdbcType="INTEGER" property="politicsStatusID" />
|
|
|
|
+ <result column="Birthplace" jdbcType="VARCHAR" property="birthplace" />
|
|
|
|
+ <result column="BirthDay" jdbcType="TIMESTAMP" property="birthDay" />
|
|
|
|
+ <result column="FamilyNatureID" jdbcType="INTEGER" property="familyNatureID" />
|
|
|
|
+ <result column="CultureRank" jdbcType="VARCHAR" property="cultureRank" />
|
|
|
|
+ <result column="HealthID" jdbcType="INTEGER" property="healthID" />
|
|
|
|
+ <result column="BloodTypeID" jdbcType="INTEGER" property="bloodTypeID" />
|
|
|
|
+ <result column="Height" jdbcType="VARCHAR" property="height" />
|
|
|
|
+ <result column="Vision" jdbcType="VARCHAR" property="vision" />
|
|
|
|
+ <result column="Weight" jdbcType="VARCHAR" property="weight" />
|
|
|
|
+ <result column="MaritalStatusID" jdbcType="INTEGER" property="maritalStatusID" />
|
|
|
|
+ <result column="Province" jdbcType="VARCHAR" property="province" />
|
|
|
|
+ <result column="City" jdbcType="VARCHAR" property="city" />
|
|
|
|
+ <result column="Region" jdbcType="VARCHAR" property="region" />
|
|
|
|
+ <result column="UserName" jdbcType="VARCHAR" property="userName" />
|
|
|
|
+ <result column="UserMobile" jdbcType="VARCHAR" property="userMobile" />
|
|
|
|
+ <result column="Address" jdbcType="VARCHAR" property="address" />
|
|
|
|
+ <result column="FamilyAddress" jdbcType="VARCHAR" property="familyAddress" />
|
|
|
|
+ <result column="PostalCode" jdbcType="VARCHAR" property="postalCode" />
|
|
|
|
+ <result column="Email" jdbcType="VARCHAR" property="email" />
|
|
|
|
+ <result column="Hobby" jdbcType="VARCHAR" property="hobby" />
|
|
|
|
+ <result column="JobStatusID" jdbcType="INTEGER" property="jobStatusID" />
|
|
|
|
+ <result column="KeyPersonTypeID" jdbcType="INTEGER" property="keyPersonTypeID" />
|
|
|
|
+ <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" />
|
|
|
|
+ </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">
|
|
|
|
+ JobuserID, SiteID, IdentityNumber, Name, PyName, EngName, Sex, Nation, PoliticsStatusID,
|
|
|
|
+ Birthplace, BirthDay, FamilyNatureID, CultureRank, HealthID, BloodTypeID, Height,
|
|
|
|
+ Vision, Weight, MaritalStatusID, Province, City, Region, UserName, UserMobile, Address,
|
|
|
|
+ FamilyAddress, PostalCode, Email, Hobby, JobStatusID, KeyPersonTypeID, CreateUserID,
|
|
|
|
+ CreateTime, ModifyUserID, ModifyTime
|
|
|
|
+ </sql>
|
|
|
|
+ <select id="selectByExample" parameterType="com.hz.employmentsite.model.PcJobuserExample" resultMap="BaseResultMap">
|
|
|
|
+ select
|
|
|
|
+ <if test="distinct">
|
|
|
|
+ distinct
|
|
|
|
+ </if>
|
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
|
+ from pc_jobuser
|
|
|
|
+ <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="BaseResultMap">
|
|
|
|
+ select
|
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
|
+ from pc_jobuser
|
|
|
|
+ where JobuserID = #{jobuserID,jdbcType=VARCHAR}
|
|
|
|
+ </select>
|
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
|
+ delete from pc_jobuser
|
|
|
|
+ where JobuserID = #{jobuserID,jdbcType=VARCHAR}
|
|
|
|
+ </delete>
|
|
|
|
+ <delete id="deleteByExample" parameterType="com.hz.employmentsite.model.PcJobuserExample">
|
|
|
|
+ delete from pc_jobuser
|
|
|
|
+ <if test="_parameter != null">
|
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </delete>
|
|
|
|
+ <insert id="insert" parameterType="com.hz.employmentsite.model.PcJobuser">
|
|
|
|
+ insert into pc_jobuser (JobuserID, SiteID, IdentityNumber,
|
|
|
|
+ Name, PyName, EngName,
|
|
|
|
+ Sex, Nation, PoliticsStatusID,
|
|
|
|
+ Birthplace, BirthDay, FamilyNatureID,
|
|
|
|
+ CultureRank, HealthID, BloodTypeID,
|
|
|
|
+ Height, Vision, Weight,
|
|
|
|
+ MaritalStatusID, Province, City,
|
|
|
|
+ Region, UserName, UserMobile,
|
|
|
|
+ Address, FamilyAddress, PostalCode,
|
|
|
|
+ Email, Hobby, JobStatusID,
|
|
|
|
+ KeyPersonTypeID, CreateUserID, CreateTime,
|
|
|
|
+ ModifyUserID, ModifyTime)
|
|
|
|
+ values (#{jobuserID,jdbcType=VARCHAR}, #{siteID,jdbcType=VARCHAR}, #{identityNumber,jdbcType=VARCHAR},
|
|
|
|
+ #{name,jdbcType=VARCHAR}, #{pyName,jdbcType=VARCHAR}, #{engName,jdbcType=VARCHAR},
|
|
|
|
+ #{sex,jdbcType=INTEGER}, #{nation,jdbcType=VARCHAR}, #{politicsStatusID,jdbcType=INTEGER},
|
|
|
|
+ #{birthplace,jdbcType=VARCHAR}, #{birthDay,jdbcType=TIMESTAMP}, #{familyNatureID,jdbcType=INTEGER},
|
|
|
|
+ #{cultureRank,jdbcType=VARCHAR}, #{healthID,jdbcType=INTEGER}, #{bloodTypeID,jdbcType=INTEGER},
|
|
|
|
+ #{height,jdbcType=VARCHAR}, #{vision,jdbcType=VARCHAR}, #{weight,jdbcType=VARCHAR},
|
|
|
|
+ #{maritalStatusID,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR},
|
|
|
|
+ #{region,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{userMobile,jdbcType=VARCHAR},
|
|
|
|
+ #{address,jdbcType=VARCHAR}, #{familyAddress,jdbcType=VARCHAR}, #{postalCode,jdbcType=VARCHAR},
|
|
|
|
+ #{email,jdbcType=VARCHAR}, #{hobby,jdbcType=VARCHAR}, #{jobStatusID,jdbcType=INTEGER},
|
|
|
|
+ #{keyPersonTypeID,jdbcType=INTEGER}, #{createUserID,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
+ #{modifyUserID,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP})
|
|
|
|
+ </insert>
|
|
|
|
+ <insert id="insertSelective" parameterType="com.hz.employmentsite.model.PcJobuser">
|
|
|
|
+ insert into pc_jobuser
|
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
+ <if test="jobuserID != null">
|
|
|
|
+ JobuserID,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="siteID != null">
|
|
|
|
+ SiteID,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="identityNumber != null">
|
|
|
|
+ IdentityNumber,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="name != null">
|
|
|
|
+ Name,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="pyName != null">
|
|
|
|
+ PyName,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="engName != null">
|
|
|
|
+ EngName,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="sex != null">
|
|
|
|
+ Sex,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="nation != null">
|
|
|
|
+ Nation,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="politicsStatusID != null">
|
|
|
|
+ PoliticsStatusID,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="birthplace != null">
|
|
|
|
+ Birthplace,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="birthDay != null">
|
|
|
|
+ BirthDay,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="familyNatureID != null">
|
|
|
|
+ FamilyNatureID,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="cultureRank != null">
|
|
|
|
+ CultureRank,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="healthID != null">
|
|
|
|
+ HealthID,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bloodTypeID != null">
|
|
|
|
+ BloodTypeID,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="height != null">
|
|
|
|
+ Height,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="vision != null">
|
|
|
|
+ Vision,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="weight != null">
|
|
|
|
+ Weight,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="maritalStatusID != null">
|
|
|
|
+ MaritalStatusID,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="province != null">
|
|
|
|
+ Province,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="city != null">
|
|
|
|
+ City,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="region != null">
|
|
|
|
+ Region,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="userName != null">
|
|
|
|
+ UserName,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="userMobile != null">
|
|
|
|
+ UserMobile,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="address != null">
|
|
|
|
+ Address,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="familyAddress != null">
|
|
|
|
+ FamilyAddress,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="postalCode != null">
|
|
|
|
+ PostalCode,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="email != null">
|
|
|
|
+ Email,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="hobby != null">
|
|
|
|
+ Hobby,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="jobStatusID != null">
|
|
|
|
+ JobStatusID,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="keyPersonTypeID != null">
|
|
|
|
+ KeyPersonTypeID,
|
|
|
|
+ </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>
|
|
|
|
+ </trim>
|
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
+ <if test="jobuserID != null">
|
|
|
|
+ #{jobuserID,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="siteID != null">
|
|
|
|
+ #{siteID,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="identityNumber != null">
|
|
|
|
+ #{identityNumber,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="name != null">
|
|
|
|
+ #{name,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="pyName != null">
|
|
|
|
+ #{pyName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="engName != null">
|
|
|
|
+ #{engName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="sex != null">
|
|
|
|
+ #{sex,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="nation != null">
|
|
|
|
+ #{nation,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="politicsStatusID != null">
|
|
|
|
+ #{politicsStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="birthplace != null">
|
|
|
|
+ #{birthplace,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="birthDay != null">
|
|
|
|
+ #{birthDay,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="familyNatureID != null">
|
|
|
|
+ #{familyNatureID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="cultureRank != null">
|
|
|
|
+ #{cultureRank,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="healthID != null">
|
|
|
|
+ #{healthID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bloodTypeID != null">
|
|
|
|
+ #{bloodTypeID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="height != null">
|
|
|
|
+ #{height,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="vision != null">
|
|
|
|
+ #{vision,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="weight != null">
|
|
|
|
+ #{weight,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="maritalStatusID != null">
|
|
|
|
+ #{maritalStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="province != null">
|
|
|
|
+ #{province,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="city != null">
|
|
|
|
+ #{city,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="region != null">
|
|
|
|
+ #{region,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="userName != null">
|
|
|
|
+ #{userName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="userMobile != null">
|
|
|
|
+ #{userMobile,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="address != null">
|
|
|
|
+ #{address,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="familyAddress != null">
|
|
|
|
+ #{familyAddress,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="postalCode != null">
|
|
|
|
+ #{postalCode,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="email != null">
|
|
|
|
+ #{email,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="hobby != null">
|
|
|
|
+ #{hobby,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="jobStatusID != null">
|
|
|
|
+ #{jobStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="keyPersonTypeID != null">
|
|
|
|
+ #{keyPersonTypeID,jdbcType=INTEGER},
|
|
|
|
+ </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>
|
|
|
|
+ </trim>
|
|
|
|
+ </insert>
|
|
|
|
+ <select id="countByExample" parameterType="com.hz.employmentsite.model.PcJobuserExample" resultType="java.lang.Long">
|
|
|
|
+ select count(*) from pc_jobuser
|
|
|
|
+ <if test="_parameter != null">
|
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </select>
|
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
|
+ update pc_jobuser
|
|
|
|
+ <set>
|
|
|
|
+ <if test="row.jobuserID != null">
|
|
|
|
+ JobuserID = #{row.jobuserID,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.siteID != null">
|
|
|
|
+ SiteID = #{row.siteID,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.identityNumber != null">
|
|
|
|
+ IdentityNumber = #{row.identityNumber,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.name != null">
|
|
|
|
+ Name = #{row.name,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.pyName != null">
|
|
|
|
+ PyName = #{row.pyName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.engName != null">
|
|
|
|
+ EngName = #{row.engName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.sex != null">
|
|
|
|
+ Sex = #{row.sex,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.nation != null">
|
|
|
|
+ Nation = #{row.nation,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.politicsStatusID != null">
|
|
|
|
+ PoliticsStatusID = #{row.politicsStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.birthplace != null">
|
|
|
|
+ Birthplace = #{row.birthplace,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.birthDay != null">
|
|
|
|
+ BirthDay = #{row.birthDay,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.familyNatureID != null">
|
|
|
|
+ FamilyNatureID = #{row.familyNatureID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.cultureRank != null">
|
|
|
|
+ CultureRank = #{row.cultureRank,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.healthID != null">
|
|
|
|
+ HealthID = #{row.healthID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.bloodTypeID != null">
|
|
|
|
+ BloodTypeID = #{row.bloodTypeID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.height != null">
|
|
|
|
+ Height = #{row.height,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.vision != null">
|
|
|
|
+ Vision = #{row.vision,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.weight != null">
|
|
|
|
+ Weight = #{row.weight,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.maritalStatusID != null">
|
|
|
|
+ MaritalStatusID = #{row.maritalStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.province != null">
|
|
|
|
+ Province = #{row.province,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.city != null">
|
|
|
|
+ City = #{row.city,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.region != null">
|
|
|
|
+ Region = #{row.region,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.address != null">
|
|
|
|
+ Address = #{row.address,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.familyAddress != null">
|
|
|
|
+ FamilyAddress = #{row.familyAddress,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.postalCode != null">
|
|
|
|
+ PostalCode = #{row.postalCode,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.email != null">
|
|
|
|
+ Email = #{row.email,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.hobby != null">
|
|
|
|
+ Hobby = #{row.hobby,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.jobStatusID != null">
|
|
|
|
+ JobStatusID = #{row.jobStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="row.keyPersonTypeID != null">
|
|
|
|
+ KeyPersonTypeID = #{row.keyPersonTypeID,jdbcType=INTEGER},
|
|
|
|
+ </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>
|
|
|
|
+ </set>
|
|
|
|
+ <if test="example != null">
|
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </update>
|
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
|
+ update pc_jobuser
|
|
|
|
+ set JobuserID = #{row.jobuserID,jdbcType=VARCHAR},
|
|
|
|
+ SiteID = #{row.siteID,jdbcType=VARCHAR},
|
|
|
|
+ IdentityNumber = #{row.identityNumber,jdbcType=VARCHAR},
|
|
|
|
+ Name = #{row.name,jdbcType=VARCHAR},
|
|
|
|
+ PyName = #{row.pyName,jdbcType=VARCHAR},
|
|
|
|
+ EngName = #{row.engName,jdbcType=VARCHAR},
|
|
|
|
+ Sex = #{row.sex,jdbcType=INTEGER},
|
|
|
|
+ Nation = #{row.nation,jdbcType=VARCHAR},
|
|
|
|
+ PoliticsStatusID = #{row.politicsStatusID,jdbcType=INTEGER},
|
|
|
|
+ Birthplace = #{row.birthplace,jdbcType=VARCHAR},
|
|
|
|
+ BirthDay = #{row.birthDay,jdbcType=TIMESTAMP},
|
|
|
|
+ FamilyNatureID = #{row.familyNatureID,jdbcType=INTEGER},
|
|
|
|
+ CultureRank = #{row.cultureRank,jdbcType=VARCHAR},
|
|
|
|
+ HealthID = #{row.healthID,jdbcType=INTEGER},
|
|
|
|
+ BloodTypeID = #{row.bloodTypeID,jdbcType=INTEGER},
|
|
|
|
+ Height = #{row.height,jdbcType=VARCHAR},
|
|
|
|
+ Vision = #{row.vision,jdbcType=VARCHAR},
|
|
|
|
+ Weight = #{row.weight,jdbcType=VARCHAR},
|
|
|
|
+ MaritalStatusID = #{row.maritalStatusID,jdbcType=INTEGER},
|
|
|
|
+ Province = #{row.province,jdbcType=VARCHAR},
|
|
|
|
+ City = #{row.city,jdbcType=VARCHAR},
|
|
|
|
+ Region = #{row.region,jdbcType=VARCHAR},
|
|
|
|
+ UserName = #{row.userName,jdbcType=VARCHAR},
|
|
|
|
+ UserMobile = #{row.userMobile,jdbcType=VARCHAR},
|
|
|
|
+ Address = #{row.address,jdbcType=VARCHAR},
|
|
|
|
+ FamilyAddress = #{row.familyAddress,jdbcType=VARCHAR},
|
|
|
|
+ PostalCode = #{row.postalCode,jdbcType=VARCHAR},
|
|
|
|
+ Email = #{row.email,jdbcType=VARCHAR},
|
|
|
|
+ Hobby = #{row.hobby,jdbcType=VARCHAR},
|
|
|
|
+ JobStatusID = #{row.jobStatusID,jdbcType=INTEGER},
|
|
|
|
+ KeyPersonTypeID = #{row.keyPersonTypeID,jdbcType=INTEGER},
|
|
|
|
+ CreateUserID = #{row.createUserID,jdbcType=VARCHAR},
|
|
|
|
+ CreateTime = #{row.createTime,jdbcType=TIMESTAMP},
|
|
|
|
+ ModifyUserID = #{row.modifyUserID,jdbcType=VARCHAR},
|
|
|
|
+ ModifyTime = #{row.modifyTime,jdbcType=TIMESTAMP}
|
|
|
|
+ <if test="example != null">
|
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
|
+ </if>
|
|
|
|
+ </update>
|
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.hz.employmentsite.model.PcJobuser">
|
|
|
|
+ update pc_jobuser
|
|
|
|
+ <set>
|
|
|
|
+ <if test="siteID != null">
|
|
|
|
+ SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="identityNumber != null">
|
|
|
|
+ IdentityNumber = #{identityNumber,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="name != null">
|
|
|
|
+ Name = #{name,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="pyName != null">
|
|
|
|
+ PyName = #{pyName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="engName != null">
|
|
|
|
+ EngName = #{engName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="sex != null">
|
|
|
|
+ Sex = #{sex,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="nation != null">
|
|
|
|
+ Nation = #{nation,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="politicsStatusID != null">
|
|
|
|
+ PoliticsStatusID = #{politicsStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="birthplace != null">
|
|
|
|
+ Birthplace = #{birthplace,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="birthDay != null">
|
|
|
|
+ BirthDay = #{birthDay,jdbcType=TIMESTAMP},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="familyNatureID != null">
|
|
|
|
+ FamilyNatureID = #{familyNatureID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="cultureRank != null">
|
|
|
|
+ CultureRank = #{cultureRank,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="healthID != null">
|
|
|
|
+ HealthID = #{healthID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="bloodTypeID != null">
|
|
|
|
+ BloodTypeID = #{bloodTypeID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="height != null">
|
|
|
|
+ Height = #{height,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="vision != null">
|
|
|
|
+ Vision = #{vision,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="weight != null">
|
|
|
|
+ Weight = #{weight,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="maritalStatusID != null">
|
|
|
|
+ MaritalStatusID = #{maritalStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="province != null">
|
|
|
|
+ Province = #{province,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="city != null">
|
|
|
|
+ City = #{city,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="region != null">
|
|
|
|
+ Region = #{region,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="userName != null">
|
|
|
|
+ UserName = #{userName,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="userMobile != null">
|
|
|
|
+ UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="address != null">
|
|
|
|
+ Address = #{address,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="familyAddress != null">
|
|
|
|
+ FamilyAddress = #{familyAddress,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="postalCode != null">
|
|
|
|
+ PostalCode = #{postalCode,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="email != null">
|
|
|
|
+ Email = #{email,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="hobby != null">
|
|
|
|
+ Hobby = #{hobby,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="jobStatusID != null">
|
|
|
|
+ JobStatusID = #{jobStatusID,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="keyPersonTypeID != null">
|
|
|
|
+ KeyPersonTypeID = #{keyPersonTypeID,jdbcType=INTEGER},
|
|
|
|
+ </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>
|
|
|
|
+ </set>
|
|
|
|
+ where JobuserID = #{jobuserID,jdbcType=VARCHAR}
|
|
|
|
+ </update>
|
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.hz.employmentsite.model.PcJobuser">
|
|
|
|
+ update pc_jobuser
|
|
|
|
+ set SiteID = #{siteID,jdbcType=VARCHAR},
|
|
|
|
+ IdentityNumber = #{identityNumber,jdbcType=VARCHAR},
|
|
|
|
+ Name = #{name,jdbcType=VARCHAR},
|
|
|
|
+ PyName = #{pyName,jdbcType=VARCHAR},
|
|
|
|
+ EngName = #{engName,jdbcType=VARCHAR},
|
|
|
|
+ Sex = #{sex,jdbcType=INTEGER},
|
|
|
|
+ Nation = #{nation,jdbcType=VARCHAR},
|
|
|
|
+ PoliticsStatusID = #{politicsStatusID,jdbcType=INTEGER},
|
|
|
|
+ Birthplace = #{birthplace,jdbcType=VARCHAR},
|
|
|
|
+ BirthDay = #{birthDay,jdbcType=TIMESTAMP},
|
|
|
|
+ FamilyNatureID = #{familyNatureID,jdbcType=INTEGER},
|
|
|
|
+ CultureRank = #{cultureRank,jdbcType=VARCHAR},
|
|
|
|
+ HealthID = #{healthID,jdbcType=INTEGER},
|
|
|
|
+ BloodTypeID = #{bloodTypeID,jdbcType=INTEGER},
|
|
|
|
+ Height = #{height,jdbcType=VARCHAR},
|
|
|
|
+ Vision = #{vision,jdbcType=VARCHAR},
|
|
|
|
+ Weight = #{weight,jdbcType=VARCHAR},
|
|
|
|
+ MaritalStatusID = #{maritalStatusID,jdbcType=INTEGER},
|
|
|
|
+ Province = #{province,jdbcType=VARCHAR},
|
|
|
|
+ City = #{city,jdbcType=VARCHAR},
|
|
|
|
+ Region = #{region,jdbcType=VARCHAR},
|
|
|
|
+ UserName = #{userName,jdbcType=VARCHAR},
|
|
|
|
+ UserMobile = #{userMobile,jdbcType=VARCHAR},
|
|
|
|
+ Address = #{address,jdbcType=VARCHAR},
|
|
|
|
+ FamilyAddress = #{familyAddress,jdbcType=VARCHAR},
|
|
|
|
+ PostalCode = #{postalCode,jdbcType=VARCHAR},
|
|
|
|
+ Email = #{email,jdbcType=VARCHAR},
|
|
|
|
+ Hobby = #{hobby,jdbcType=VARCHAR},
|
|
|
|
+ JobStatusID = #{jobStatusID,jdbcType=INTEGER},
|
|
|
|
+ KeyPersonTypeID = #{keyPersonTypeID,jdbcType=INTEGER},
|
|
|
|
+ CreateUserID = #{createUserID,jdbcType=VARCHAR},
|
|
|
|
+ CreateTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
+ ModifyUserID = #{modifyUserID,jdbcType=VARCHAR},
|
|
|
|
+ ModifyTime = #{modifyTime,jdbcType=TIMESTAMP}
|
|
|
|
+ where JobuserID = #{jobuserID,jdbcType=VARCHAR}
|
|
|
|
+ </update>
|
|
|
|
+</mapper>
|