123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771 |
- <?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.ghsc.partybuild.mapper.LwLeaderteamMapper">
- <resultMap id="BaseResultMap" type="com.ghsc.partybuild.model.LwLeaderteam">
- <id column="leaderTeamId" jdbcType="VARCHAR" property="leaderteamid" />
- <result column="name" jdbcType="VARCHAR" property="name" />
- <result column="no" jdbcType="VARCHAR" property="no" />
- <result column="leaderTeamType" jdbcType="INTEGER" property="leaderteamtype" />
- <result column="sex" jdbcType="INTEGER" property="sex" />
- <result column="birthDate" jdbcType="DATE" property="birthdate" />
- <result column="nativePlace" jdbcType="VARCHAR" property="nativeplace" />
- <result column="politicsStatus" jdbcType="INTEGER" property="politicsstatus" />
- <result column="departmentName" jdbcType="VARCHAR" property="departmentname" />
- <result column="position" jdbcType="VARCHAR" property="position" />
- <result column="positionLevel" jdbcType="INTEGER" property="positionlevel" />
- <result column="nowPositionDate" jdbcType="DATE" property="nowpositiondate" />
- <result column="samePositionDate" jdbcType="DATE" property="samepositiondate" />
- <result column="joinDate" jdbcType="DATE" property="joindate" />
- <result column="workDate" jdbcType="DATE" property="workdate" />
- <result column="educationType" jdbcType="INTEGER" property="educationtype" />
- <result column="qualificationType" jdbcType="INTEGER" property="qualificationtype" />
- <result column="professionalType" jdbcType="INTEGER" property="professionaltype" />
- <result column="undergraduateProfessional" jdbcType="VARCHAR" property="undergraduateprofessional" />
- <result column="masterProfessional" jdbcType="VARCHAR" property="masterprofessional" />
- <result column="remark" jdbcType="VARCHAR" property="remark" />
- <result column="createTime" jdbcType="TIMESTAMP" property="createtime" />
- <result column="createUserId" jdbcType="VARCHAR" property="createuserid" />
- <result column="updateTime" jdbcType="TIMESTAMP" property="updatetime" />
- <result column="updateUserId" jdbcType="VARCHAR" property="updateuserid" />
- <result column="jobTitle" jdbcType="VARCHAR" property="jobtitle" />
- <result column="birthplace" jdbcType="VARCHAR" property="birthplace" />
- <result column="graduationSchoolMajor" jdbcType="VARCHAR" property="graduationschoolmajor" />
- <result column="inJobEducationType" jdbcType="INTEGER" property="injobeducationtype" />
- <result column="inJobQualificationType" jdbcType="INTEGER" property="injobqualificationtype" />
- <result column="inJobGraduationSchoolMajor" jdbcType="VARCHAR" property="injobgraduationschoolmajor" />
- <result column="party" jdbcType="VARCHAR" property="party" />
- <result column="engageDate" jdbcType="DATE" property="engagedate" />
- </resultMap>
- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.ghsc.partybuild.model.LwLeaderteam">
- <result column="workExperience" jdbcType="LONGVARCHAR" property="workexperience" />
- </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">
- leaderTeamId, name, no, leaderTeamType, sex, birthDate, nativePlace, politicsStatus,
- departmentName, position, positionLevel, nowPositionDate, samePositionDate, joinDate,
- workDate, educationType, qualificationType, professionalType, undergraduateProfessional,
- masterProfessional, remark, createTime, createUserId, updateTime, updateUserId, jobTitle,
- birthplace, graduationSchoolMajor, inJobEducationType, inJobQualificationType, inJobGraduationSchoolMajor,
- party, engageDate
- </sql>
- <sql id="Blob_Column_List">
- workExperience
- </sql>
- <select id="selectByExampleWithBLOBs" parameterType="com.ghsc.partybuild.model.LwLeaderteamExample" resultMap="ResultMapWithBLOBs">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- ,
- <include refid="Blob_Column_List" />
- from lw_leaderteam
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByExample" parameterType="com.ghsc.partybuild.model.LwLeaderteamExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from lw_leaderteam
- <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 lw_leaderteam
- where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
- delete from lw_leaderteam
- where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
- </delete>
- <delete id="deleteByExample" parameterType="com.ghsc.partybuild.model.LwLeaderteamExample">
- delete from lw_leaderteam
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
- insert into lw_leaderteam (leaderTeamId, name, no,
- leaderTeamType, sex, birthDate,
- nativePlace, politicsStatus, departmentName,
- position, positionLevel, nowPositionDate,
- samePositionDate, joinDate, workDate,
- educationType, qualificationType, professionalType,
- undergraduateProfessional, masterProfessional,
- remark, createTime, createUserId,
- updateTime, updateUserId, jobTitle,
- birthplace, graduationSchoolMajor, inJobEducationType,
- inJobQualificationType, inJobGraduationSchoolMajor,
- party, engageDate, workExperience
- )
- values (#{leaderteamid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR},
- #{leaderteamtype,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{birthdate,jdbcType=DATE},
- #{nativeplace,jdbcType=VARCHAR}, #{politicsstatus,jdbcType=INTEGER}, #{departmentname,jdbcType=VARCHAR},
- #{position,jdbcType=VARCHAR}, #{positionlevel,jdbcType=INTEGER}, #{nowpositiondate,jdbcType=DATE},
- #{samepositiondate,jdbcType=DATE}, #{joindate,jdbcType=DATE}, #{workdate,jdbcType=DATE},
- #{educationtype,jdbcType=INTEGER}, #{qualificationtype,jdbcType=INTEGER}, #{professionaltype,jdbcType=INTEGER},
- #{undergraduateprofessional,jdbcType=VARCHAR}, #{masterprofessional,jdbcType=VARCHAR},
- #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{createuserid,jdbcType=VARCHAR},
- #{updatetime,jdbcType=TIMESTAMP}, #{updateuserid,jdbcType=VARCHAR}, #{jobtitle,jdbcType=VARCHAR},
- #{birthplace,jdbcType=VARCHAR}, #{graduationschoolmajor,jdbcType=VARCHAR}, #{injobeducationtype,jdbcType=INTEGER},
- #{injobqualificationtype,jdbcType=INTEGER}, #{injobgraduationschoolmajor,jdbcType=VARCHAR},
- #{party,jdbcType=VARCHAR}, #{engagedate,jdbcType=DATE}, #{workexperience,jdbcType=LONGVARCHAR}
- )
- </insert>
- <insert id="insertSelective" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
- insert into lw_leaderteam
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="leaderteamid != null">
- leaderTeamId,
- </if>
- <if test="name != null">
- name,
- </if>
- <if test="no != null">
- no,
- </if>
- <if test="leaderteamtype != null">
- leaderTeamType,
- </if>
- <if test="sex != null">
- sex,
- </if>
- <if test="birthdate != null">
- birthDate,
- </if>
- <if test="nativeplace != null">
- nativePlace,
- </if>
- <if test="politicsstatus != null">
- politicsStatus,
- </if>
- <if test="departmentname != null">
- departmentName,
- </if>
- <if test="position != null">
- position,
- </if>
- <if test="positionlevel != null">
- positionLevel,
- </if>
- <if test="nowpositiondate != null">
- nowPositionDate,
- </if>
- <if test="samepositiondate != null">
- samePositionDate,
- </if>
- <if test="joindate != null">
- joinDate,
- </if>
- <if test="workdate != null">
- workDate,
- </if>
- <if test="educationtype != null">
- educationType,
- </if>
- <if test="qualificationtype != null">
- qualificationType,
- </if>
- <if test="professionaltype != null">
- professionalType,
- </if>
- <if test="undergraduateprofessional != null">
- undergraduateProfessional,
- </if>
- <if test="masterprofessional != null">
- masterProfessional,
- </if>
- <if test="remark != null">
- remark,
- </if>
- <if test="createtime != null">
- createTime,
- </if>
- <if test="createuserid != null">
- createUserId,
- </if>
- <if test="updatetime != null">
- updateTime,
- </if>
- <if test="updateuserid != null">
- updateUserId,
- </if>
- <if test="jobtitle != null">
- jobTitle,
- </if>
- <if test="birthplace != null">
- birthplace,
- </if>
- <if test="graduationschoolmajor != null">
- graduationSchoolMajor,
- </if>
- <if test="injobeducationtype != null">
- inJobEducationType,
- </if>
- <if test="injobqualificationtype != null">
- inJobQualificationType,
- </if>
- <if test="injobgraduationschoolmajor != null">
- inJobGraduationSchoolMajor,
- </if>
- <if test="party != null">
- party,
- </if>
- <if test="engagedate != null">
- engageDate,
- </if>
- <if test="workexperience != null">
- workExperience,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="leaderteamid != null">
- #{leaderteamid,jdbcType=VARCHAR},
- </if>
- <if test="name != null">
- #{name,jdbcType=VARCHAR},
- </if>
- <if test="no != null">
- #{no,jdbcType=VARCHAR},
- </if>
- <if test="leaderteamtype != null">
- #{leaderteamtype,jdbcType=INTEGER},
- </if>
- <if test="sex != null">
- #{sex,jdbcType=INTEGER},
- </if>
- <if test="birthdate != null">
- #{birthdate,jdbcType=DATE},
- </if>
- <if test="nativeplace != null">
- #{nativeplace,jdbcType=VARCHAR},
- </if>
- <if test="politicsstatus != null">
- #{politicsstatus,jdbcType=INTEGER},
- </if>
- <if test="departmentname != null">
- #{departmentname,jdbcType=VARCHAR},
- </if>
- <if test="position != null">
- #{position,jdbcType=VARCHAR},
- </if>
- <if test="positionlevel != null">
- #{positionlevel,jdbcType=INTEGER},
- </if>
- <if test="nowpositiondate != null">
- #{nowpositiondate,jdbcType=DATE},
- </if>
- <if test="samepositiondate != null">
- #{samepositiondate,jdbcType=DATE},
- </if>
- <if test="joindate != null">
- #{joindate,jdbcType=DATE},
- </if>
- <if test="workdate != null">
- #{workdate,jdbcType=DATE},
- </if>
- <if test="educationtype != null">
- #{educationtype,jdbcType=INTEGER},
- </if>
- <if test="qualificationtype != null">
- #{qualificationtype,jdbcType=INTEGER},
- </if>
- <if test="professionaltype != null">
- #{professionaltype,jdbcType=INTEGER},
- </if>
- <if test="undergraduateprofessional != null">
- #{undergraduateprofessional,jdbcType=VARCHAR},
- </if>
- <if test="masterprofessional != null">
- #{masterprofessional,jdbcType=VARCHAR},
- </if>
- <if test="remark != null">
- #{remark,jdbcType=VARCHAR},
- </if>
- <if test="createtime != null">
- #{createtime,jdbcType=TIMESTAMP},
- </if>
- <if test="createuserid != null">
- #{createuserid,jdbcType=VARCHAR},
- </if>
- <if test="updatetime != null">
- #{updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="updateuserid != null">
- #{updateuserid,jdbcType=VARCHAR},
- </if>
- <if test="jobtitle != null">
- #{jobtitle,jdbcType=VARCHAR},
- </if>
- <if test="birthplace != null">
- #{birthplace,jdbcType=VARCHAR},
- </if>
- <if test="graduationschoolmajor != null">
- #{graduationschoolmajor,jdbcType=VARCHAR},
- </if>
- <if test="injobeducationtype != null">
- #{injobeducationtype,jdbcType=INTEGER},
- </if>
- <if test="injobqualificationtype != null">
- #{injobqualificationtype,jdbcType=INTEGER},
- </if>
- <if test="injobgraduationschoolmajor != null">
- #{injobgraduationschoolmajor,jdbcType=VARCHAR},
- </if>
- <if test="party != null">
- #{party,jdbcType=VARCHAR},
- </if>
- <if test="engagedate != null">
- #{engagedate,jdbcType=DATE},
- </if>
- <if test="workexperience != null">
- #{workexperience,jdbcType=LONGVARCHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.ghsc.partybuild.model.LwLeaderteamExample" resultType="java.lang.Long">
- select count(*) from lw_leaderteam
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update lw_leaderteam
- <set>
- <if test="record.leaderteamid != null">
- leaderTeamId = #{record.leaderteamid,jdbcType=VARCHAR},
- </if>
- <if test="record.name != null">
- name = #{record.name,jdbcType=VARCHAR},
- </if>
- <if test="record.no != null">
- no = #{record.no,jdbcType=VARCHAR},
- </if>
- <if test="record.leaderteamtype != null">
- leaderTeamType = #{record.leaderteamtype,jdbcType=INTEGER},
- </if>
- <if test="record.sex != null">
- sex = #{record.sex,jdbcType=INTEGER},
- </if>
- <if test="record.birthdate != null">
- birthDate = #{record.birthdate,jdbcType=DATE},
- </if>
- <if test="record.nativeplace != null">
- nativePlace = #{record.nativeplace,jdbcType=VARCHAR},
- </if>
- <if test="record.politicsstatus != null">
- politicsStatus = #{record.politicsstatus,jdbcType=INTEGER},
- </if>
- <if test="record.departmentname != null">
- departmentName = #{record.departmentname,jdbcType=VARCHAR},
- </if>
- <if test="record.position != null">
- position = #{record.position,jdbcType=VARCHAR},
- </if>
- <if test="record.positionlevel != null">
- positionLevel = #{record.positionlevel,jdbcType=INTEGER},
- </if>
- <if test="record.nowpositiondate != null">
- nowPositionDate = #{record.nowpositiondate,jdbcType=DATE},
- </if>
- <if test="record.samepositiondate != null">
- samePositionDate = #{record.samepositiondate,jdbcType=DATE},
- </if>
- <if test="record.joindate != null">
- joinDate = #{record.joindate,jdbcType=DATE},
- </if>
- <if test="record.workdate != null">
- workDate = #{record.workdate,jdbcType=DATE},
- </if>
- <if test="record.educationtype != null">
- educationType = #{record.educationtype,jdbcType=INTEGER},
- </if>
- <if test="record.qualificationtype != null">
- qualificationType = #{record.qualificationtype,jdbcType=INTEGER},
- </if>
- <if test="record.professionaltype != null">
- professionalType = #{record.professionaltype,jdbcType=INTEGER},
- </if>
- <if test="record.undergraduateprofessional != null">
- undergraduateProfessional = #{record.undergraduateprofessional,jdbcType=VARCHAR},
- </if>
- <if test="record.masterprofessional != null">
- masterProfessional = #{record.masterprofessional,jdbcType=VARCHAR},
- </if>
- <if test="record.remark != null">
- remark = #{record.remark,jdbcType=VARCHAR},
- </if>
- <if test="record.createtime != null">
- createTime = #{record.createtime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.createuserid != null">
- createUserId = #{record.createuserid,jdbcType=VARCHAR},
- </if>
- <if test="record.updatetime != null">
- updateTime = #{record.updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.updateuserid != null">
- updateUserId = #{record.updateuserid,jdbcType=VARCHAR},
- </if>
- <if test="record.jobtitle != null">
- jobTitle = #{record.jobtitle,jdbcType=VARCHAR},
- </if>
- <if test="record.birthplace != null">
- birthplace = #{record.birthplace,jdbcType=VARCHAR},
- </if>
- <if test="record.graduationschoolmajor != null">
- graduationSchoolMajor = #{record.graduationschoolmajor,jdbcType=VARCHAR},
- </if>
- <if test="record.injobeducationtype != null">
- inJobEducationType = #{record.injobeducationtype,jdbcType=INTEGER},
- </if>
- <if test="record.injobqualificationtype != null">
- inJobQualificationType = #{record.injobqualificationtype,jdbcType=INTEGER},
- </if>
- <if test="record.injobgraduationschoolmajor != null">
- inJobGraduationSchoolMajor = #{record.injobgraduationschoolmajor,jdbcType=VARCHAR},
- </if>
- <if test="record.party != null">
- party = #{record.party,jdbcType=VARCHAR},
- </if>
- <if test="record.engagedate != null">
- engageDate = #{record.engagedate,jdbcType=DATE},
- </if>
- <if test="record.workexperience != null">
- workExperience = #{record.workexperience,jdbcType=LONGVARCHAR},
- </if>
- </set>
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExampleWithBLOBs" parameterType="map">
- update lw_leaderteam
- set leaderTeamId = #{record.leaderteamid,jdbcType=VARCHAR},
- name = #{record.name,jdbcType=VARCHAR},
- no = #{record.no,jdbcType=VARCHAR},
- leaderTeamType = #{record.leaderteamtype,jdbcType=INTEGER},
- sex = #{record.sex,jdbcType=INTEGER},
- birthDate = #{record.birthdate,jdbcType=DATE},
- nativePlace = #{record.nativeplace,jdbcType=VARCHAR},
- politicsStatus = #{record.politicsstatus,jdbcType=INTEGER},
- departmentName = #{record.departmentname,jdbcType=VARCHAR},
- position = #{record.position,jdbcType=VARCHAR},
- positionLevel = #{record.positionlevel,jdbcType=INTEGER},
- nowPositionDate = #{record.nowpositiondate,jdbcType=DATE},
- samePositionDate = #{record.samepositiondate,jdbcType=DATE},
- joinDate = #{record.joindate,jdbcType=DATE},
- workDate = #{record.workdate,jdbcType=DATE},
- educationType = #{record.educationtype,jdbcType=INTEGER},
- qualificationType = #{record.qualificationtype,jdbcType=INTEGER},
- professionalType = #{record.professionaltype,jdbcType=INTEGER},
- undergraduateProfessional = #{record.undergraduateprofessional,jdbcType=VARCHAR},
- masterProfessional = #{record.masterprofessional,jdbcType=VARCHAR},
- remark = #{record.remark,jdbcType=VARCHAR},
- createTime = #{record.createtime,jdbcType=TIMESTAMP},
- createUserId = #{record.createuserid,jdbcType=VARCHAR},
- updateTime = #{record.updatetime,jdbcType=TIMESTAMP},
- updateUserId = #{record.updateuserid,jdbcType=VARCHAR},
- jobTitle = #{record.jobtitle,jdbcType=VARCHAR},
- birthplace = #{record.birthplace,jdbcType=VARCHAR},
- graduationSchoolMajor = #{record.graduationschoolmajor,jdbcType=VARCHAR},
- inJobEducationType = #{record.injobeducationtype,jdbcType=INTEGER},
- inJobQualificationType = #{record.injobqualificationtype,jdbcType=INTEGER},
- inJobGraduationSchoolMajor = #{record.injobgraduationschoolmajor,jdbcType=VARCHAR},
- party = #{record.party,jdbcType=VARCHAR},
- engageDate = #{record.engagedate,jdbcType=DATE},
- workExperience = #{record.workexperience,jdbcType=LONGVARCHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map">
- update lw_leaderteam
- set leaderTeamId = #{record.leaderteamid,jdbcType=VARCHAR},
- name = #{record.name,jdbcType=VARCHAR},
- no = #{record.no,jdbcType=VARCHAR},
- leaderTeamType = #{record.leaderteamtype,jdbcType=INTEGER},
- sex = #{record.sex,jdbcType=INTEGER},
- birthDate = #{record.birthdate,jdbcType=DATE},
- nativePlace = #{record.nativeplace,jdbcType=VARCHAR},
- politicsStatus = #{record.politicsstatus,jdbcType=INTEGER},
- departmentName = #{record.departmentname,jdbcType=VARCHAR},
- position = #{record.position,jdbcType=VARCHAR},
- positionLevel = #{record.positionlevel,jdbcType=INTEGER},
- nowPositionDate = #{record.nowpositiondate,jdbcType=DATE},
- samePositionDate = #{record.samepositiondate,jdbcType=DATE},
- joinDate = #{record.joindate,jdbcType=DATE},
- workDate = #{record.workdate,jdbcType=DATE},
- educationType = #{record.educationtype,jdbcType=INTEGER},
- qualificationType = #{record.qualificationtype,jdbcType=INTEGER},
- professionalType = #{record.professionaltype,jdbcType=INTEGER},
- undergraduateProfessional = #{record.undergraduateprofessional,jdbcType=VARCHAR},
- masterProfessional = #{record.masterprofessional,jdbcType=VARCHAR},
- remark = #{record.remark,jdbcType=VARCHAR},
- createTime = #{record.createtime,jdbcType=TIMESTAMP},
- createUserId = #{record.createuserid,jdbcType=VARCHAR},
- updateTime = #{record.updatetime,jdbcType=TIMESTAMP},
- updateUserId = #{record.updateuserid,jdbcType=VARCHAR},
- jobTitle = #{record.jobtitle,jdbcType=VARCHAR},
- birthplace = #{record.birthplace,jdbcType=VARCHAR},
- graduationSchoolMajor = #{record.graduationschoolmajor,jdbcType=VARCHAR},
- inJobEducationType = #{record.injobeducationtype,jdbcType=INTEGER},
- inJobQualificationType = #{record.injobqualificationtype,jdbcType=INTEGER},
- inJobGraduationSchoolMajor = #{record.injobgraduationschoolmajor,jdbcType=VARCHAR},
- party = #{record.party,jdbcType=VARCHAR},
- engageDate = #{record.engagedate,jdbcType=DATE}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
- update lw_leaderteam
- <set>
- <if test="name != null">
- name = #{name,jdbcType=VARCHAR},
- </if>
- <if test="no != null">
- no = #{no,jdbcType=VARCHAR},
- </if>
- <if test="leaderteamtype != null">
- leaderTeamType = #{leaderteamtype,jdbcType=INTEGER},
- </if>
- <if test="sex != null">
- sex = #{sex,jdbcType=INTEGER},
- </if>
- <if test="birthdate != null">
- birthDate = #{birthdate,jdbcType=DATE},
- </if>
- <if test="nativeplace != null">
- nativePlace = #{nativeplace,jdbcType=VARCHAR},
- </if>
- <if test="politicsstatus != null">
- politicsStatus = #{politicsstatus,jdbcType=INTEGER},
- </if>
- <if test="departmentname != null">
- departmentName = #{departmentname,jdbcType=VARCHAR},
- </if>
- <if test="position != null">
- position = #{position,jdbcType=VARCHAR},
- </if>
- <if test="positionlevel != null">
- positionLevel = #{positionlevel,jdbcType=INTEGER},
- </if>
- <if test="nowpositiondate != null">
- nowPositionDate = #{nowpositiondate,jdbcType=DATE},
- </if>
- <if test="samepositiondate != null">
- samePositionDate = #{samepositiondate,jdbcType=DATE},
- </if>
- <if test="joindate != null">
- joinDate = #{joindate,jdbcType=DATE},
- </if>
- <if test="workdate != null">
- workDate = #{workdate,jdbcType=DATE},
- </if>
- <if test="educationtype != null">
- educationType = #{educationtype,jdbcType=INTEGER},
- </if>
- <if test="qualificationtype != null">
- qualificationType = #{qualificationtype,jdbcType=INTEGER},
- </if>
- <if test="professionaltype != null">
- professionalType = #{professionaltype,jdbcType=INTEGER},
- </if>
- <if test="undergraduateprofessional != null">
- undergraduateProfessional = #{undergraduateprofessional,jdbcType=VARCHAR},
- </if>
- <if test="masterprofessional != null">
- masterProfessional = #{masterprofessional,jdbcType=VARCHAR},
- </if>
- <if test="remark != null">
- remark = #{remark,jdbcType=VARCHAR},
- </if>
- <if test="createtime != null">
- createTime = #{createtime,jdbcType=TIMESTAMP},
- </if>
- <if test="createuserid != null">
- createUserId = #{createuserid,jdbcType=VARCHAR},
- </if>
- <if test="updatetime != null">
- updateTime = #{updatetime,jdbcType=TIMESTAMP},
- </if>
- <if test="updateuserid != null">
- updateUserId = #{updateuserid,jdbcType=VARCHAR},
- </if>
- <if test="jobtitle != null">
- jobTitle = #{jobtitle,jdbcType=VARCHAR},
- </if>
- <if test="birthplace != null">
- birthplace = #{birthplace,jdbcType=VARCHAR},
- </if>
- <if test="graduationschoolmajor != null">
- graduationSchoolMajor = #{graduationschoolmajor,jdbcType=VARCHAR},
- </if>
- <if test="injobeducationtype != null">
- inJobEducationType = #{injobeducationtype,jdbcType=INTEGER},
- </if>
- <if test="injobqualificationtype != null">
- inJobQualificationType = #{injobqualificationtype,jdbcType=INTEGER},
- </if>
- <if test="injobgraduationschoolmajor != null">
- inJobGraduationSchoolMajor = #{injobgraduationschoolmajor,jdbcType=VARCHAR},
- </if>
- <if test="party != null">
- party = #{party,jdbcType=VARCHAR},
- </if>
- <if test="engagedate != null">
- engageDate = #{engagedate,jdbcType=DATE},
- </if>
- <if test="workexperience != null">
- workExperience = #{workexperience,jdbcType=LONGVARCHAR},
- </if>
- </set>
- where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
- update lw_leaderteam
- set name = #{name,jdbcType=VARCHAR},
- no = #{no,jdbcType=VARCHAR},
- leaderTeamType = #{leaderteamtype,jdbcType=INTEGER},
- sex = #{sex,jdbcType=INTEGER},
- birthDate = #{birthdate,jdbcType=DATE},
- nativePlace = #{nativeplace,jdbcType=VARCHAR},
- politicsStatus = #{politicsstatus,jdbcType=INTEGER},
- departmentName = #{departmentname,jdbcType=VARCHAR},
- position = #{position,jdbcType=VARCHAR},
- positionLevel = #{positionlevel,jdbcType=INTEGER},
- nowPositionDate = #{nowpositiondate,jdbcType=DATE},
- samePositionDate = #{samepositiondate,jdbcType=DATE},
- joinDate = #{joindate,jdbcType=DATE},
- workDate = #{workdate,jdbcType=DATE},
- educationType = #{educationtype,jdbcType=INTEGER},
- qualificationType = #{qualificationtype,jdbcType=INTEGER},
- professionalType = #{professionaltype,jdbcType=INTEGER},
- undergraduateProfessional = #{undergraduateprofessional,jdbcType=VARCHAR},
- masterProfessional = #{masterprofessional,jdbcType=VARCHAR},
- remark = #{remark,jdbcType=VARCHAR},
- createTime = #{createtime,jdbcType=TIMESTAMP},
- createUserId = #{createuserid,jdbcType=VARCHAR},
- updateTime = #{updatetime,jdbcType=TIMESTAMP},
- updateUserId = #{updateuserid,jdbcType=VARCHAR},
- jobTitle = #{jobtitle,jdbcType=VARCHAR},
- birthplace = #{birthplace,jdbcType=VARCHAR},
- graduationSchoolMajor = #{graduationschoolmajor,jdbcType=VARCHAR},
- inJobEducationType = #{injobeducationtype,jdbcType=INTEGER},
- inJobQualificationType = #{injobqualificationtype,jdbcType=INTEGER},
- inJobGraduationSchoolMajor = #{injobgraduationschoolmajor,jdbcType=VARCHAR},
- party = #{party,jdbcType=VARCHAR},
- engageDate = #{engagedate,jdbcType=DATE},
- workExperience = #{workexperience,jdbcType=LONGVARCHAR}
- where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
- update lw_leaderteam
- set name = #{name,jdbcType=VARCHAR},
- no = #{no,jdbcType=VARCHAR},
- leaderTeamType = #{leaderteamtype,jdbcType=INTEGER},
- sex = #{sex,jdbcType=INTEGER},
- birthDate = #{birthdate,jdbcType=DATE},
- nativePlace = #{nativeplace,jdbcType=VARCHAR},
- politicsStatus = #{politicsstatus,jdbcType=INTEGER},
- departmentName = #{departmentname,jdbcType=VARCHAR},
- position = #{position,jdbcType=VARCHAR},
- positionLevel = #{positionlevel,jdbcType=INTEGER},
- nowPositionDate = #{nowpositiondate,jdbcType=DATE},
- samePositionDate = #{samepositiondate,jdbcType=DATE},
- joinDate = #{joindate,jdbcType=DATE},
- workDate = #{workdate,jdbcType=DATE},
- educationType = #{educationtype,jdbcType=INTEGER},
- qualificationType = #{qualificationtype,jdbcType=INTEGER},
- professionalType = #{professionaltype,jdbcType=INTEGER},
- undergraduateProfessional = #{undergraduateprofessional,jdbcType=VARCHAR},
- masterProfessional = #{masterprofessional,jdbcType=VARCHAR},
- remark = #{remark,jdbcType=VARCHAR},
- createTime = #{createtime,jdbcType=TIMESTAMP},
- createUserId = #{createuserid,jdbcType=VARCHAR},
- updateTime = #{updatetime,jdbcType=TIMESTAMP},
- updateUserId = #{updateuserid,jdbcType=VARCHAR},
- jobTitle = #{jobtitle,jdbcType=VARCHAR},
- birthplace = #{birthplace,jdbcType=VARCHAR},
- graduationSchoolMajor = #{graduationschoolmajor,jdbcType=VARCHAR},
- inJobEducationType = #{injobeducationtype,jdbcType=INTEGER},
- inJobQualificationType = #{injobqualificationtype,jdbcType=INTEGER},
- inJobGraduationSchoolMajor = #{injobgraduationschoolmajor,jdbcType=VARCHAR},
- party = #{party,jdbcType=VARCHAR},
- engageDate = #{engagedate,jdbcType=DATE}
- where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
- </update>
- </mapper>
|