|
@@ -0,0 +1,494 @@
|
|
|
+<?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.PxTrainingRecordMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.ghsc.partybuild.model.PxTrainingRecord">
|
|
|
+ <id column="id" jdbcType="VARCHAR" property="id" />
|
|
|
+ <result column="rybm" jdbcType="VARCHAR" property="rybm" />
|
|
|
+ <result column="name" jdbcType="VARCHAR" property="name" />
|
|
|
+ <result column="pxdxlx" jdbcType="INTEGER" property="pxdxlx" />
|
|
|
+ <result column="gender" jdbcType="INTEGER" property="gender" />
|
|
|
+ <result column="sfzh" jdbcType="VARCHAR" property="sfzh" />
|
|
|
+ <result column="gzbm" jdbcType="VARCHAR" property="gzbm" />
|
|
|
+ <result column="zw" jdbcType="VARCHAR" property="zw" />
|
|
|
+ <result column="pxxmmc" jdbcType="VARCHAR" property="pxxmmc" />
|
|
|
+ <result column="pxxs" jdbcType="INTEGER" property="pxxs" />
|
|
|
+ <result column="xxkssj" jdbcType="DATE" property="xxkssj" />
|
|
|
+ <result column="xxjssj" jdbcType="DATE" property="xxjssj" />
|
|
|
+ <result column="cxts" jdbcType="INTEGER" property="cxts" />
|
|
|
+ <result column="xss" jdbcType="INTEGER" property="xss" />
|
|
|
+ <result column="khqk" jdbcType="VARCHAR" property="khqk" />
|
|
|
+ <result column="ssjgmc" jdbcType="VARCHAR" property="ssjgmc" />
|
|
|
+ <result column="xxdd" jdbcType="VARCHAR" property="xxdd" />
|
|
|
+ <result column="xxnr" jdbcType="VARCHAR" property="xxnr" />
|
|
|
+ <result column="remark" jdbcType="VARCHAR" property="remark" />
|
|
|
+ <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
+ <result column="create_userid" jdbcType="VARCHAR" property="createUserid" />
|
|
|
+ <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
+ <result column="update_userid" jdbcType="VARCHAR" property="updateUserid" />
|
|
|
+ </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">
|
|
|
+ id, rybm, name, pxdxlx, gender, sfzh, gzbm, zw, pxxmmc, pxxs, xxkssj, xxjssj, cxts,
|
|
|
+ xss, khqk, ssjgmc, xxdd, xxnr, remark, create_time, create_userid, update_time, update_userid
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.ghsc.partybuild.model.PxTrainingRecordExample" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from px_training_record
|
|
|
+ <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 px_training_record
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
|
|
+ delete from px_training_record
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.ghsc.partybuild.model.PxTrainingRecordExample">
|
|
|
+ delete from px_training_record
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.ghsc.partybuild.model.PxTrainingRecord">
|
|
|
+ insert into px_training_record (id, rybm, name,
|
|
|
+ pxdxlx, gender, sfzh,
|
|
|
+ gzbm, zw, pxxmmc, pxxs,
|
|
|
+ xxkssj, xxjssj, cxts, xss,
|
|
|
+ khqk, ssjgmc, xxdd,
|
|
|
+ xxnr, remark, create_time,
|
|
|
+ create_userid, update_time, update_userid
|
|
|
+ )
|
|
|
+ values (#{id,jdbcType=VARCHAR}, #{rybm,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
|
|
|
+ #{pxdxlx,jdbcType=INTEGER}, #{gender,jdbcType=INTEGER}, #{sfzh,jdbcType=VARCHAR},
|
|
|
+ #{gzbm,jdbcType=VARCHAR}, #{zw,jdbcType=VARCHAR}, #{pxxmmc,jdbcType=VARCHAR}, #{pxxs,jdbcType=INTEGER},
|
|
|
+ #{xxkssj,jdbcType=DATE}, #{xxjssj,jdbcType=DATE}, #{cxts,jdbcType=INTEGER}, #{xss,jdbcType=INTEGER},
|
|
|
+ #{khqk,jdbcType=VARCHAR}, #{ssjgmc,jdbcType=VARCHAR}, #{xxdd,jdbcType=VARCHAR},
|
|
|
+ #{xxnr,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ #{createUserid,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{updateUserid,jdbcType=VARCHAR}
|
|
|
+ )
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.ghsc.partybuild.model.PxTrainingRecord">
|
|
|
+ insert into px_training_record
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
+ <if test="rybm != null">
|
|
|
+ rybm,
|
|
|
+ </if>
|
|
|
+ <if test="name != null">
|
|
|
+ name,
|
|
|
+ </if>
|
|
|
+ <if test="pxdxlx != null">
|
|
|
+ pxdxlx,
|
|
|
+ </if>
|
|
|
+ <if test="gender != null">
|
|
|
+ gender,
|
|
|
+ </if>
|
|
|
+ <if test="sfzh != null">
|
|
|
+ sfzh,
|
|
|
+ </if>
|
|
|
+ <if test="gzbm != null">
|
|
|
+ gzbm,
|
|
|
+ </if>
|
|
|
+ <if test="zw != null">
|
|
|
+ zw,
|
|
|
+ </if>
|
|
|
+ <if test="pxxmmc != null">
|
|
|
+ pxxmmc,
|
|
|
+ </if>
|
|
|
+ <if test="pxxs != null">
|
|
|
+ pxxs,
|
|
|
+ </if>
|
|
|
+ <if test="xxkssj != null">
|
|
|
+ xxkssj,
|
|
|
+ </if>
|
|
|
+ <if test="xxjssj != null">
|
|
|
+ xxjssj,
|
|
|
+ </if>
|
|
|
+ <if test="cxts != null">
|
|
|
+ cxts,
|
|
|
+ </if>
|
|
|
+ <if test="xss != null">
|
|
|
+ xss,
|
|
|
+ </if>
|
|
|
+ <if test="khqk != null">
|
|
|
+ khqk,
|
|
|
+ </if>
|
|
|
+ <if test="ssjgmc != null">
|
|
|
+ ssjgmc,
|
|
|
+ </if>
|
|
|
+ <if test="xxdd != null">
|
|
|
+ xxdd,
|
|
|
+ </if>
|
|
|
+ <if test="xxnr != null">
|
|
|
+ xxnr,
|
|
|
+ </if>
|
|
|
+ <if test="remark != null">
|
|
|
+ remark,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time,
|
|
|
+ </if>
|
|
|
+ <if test="createUserid != null">
|
|
|
+ create_userid,
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null">
|
|
|
+ update_time,
|
|
|
+ </if>
|
|
|
+ <if test="updateUserid != null">
|
|
|
+ update_userid,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="id != null">
|
|
|
+ #{id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="rybm != null">
|
|
|
+ #{rybm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="name != null">
|
|
|
+ #{name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pxdxlx != null">
|
|
|
+ #{pxdxlx,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="gender != null">
|
|
|
+ #{gender,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="sfzh != null">
|
|
|
+ #{sfzh,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gzbm != null">
|
|
|
+ #{gzbm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="zw != null">
|
|
|
+ #{zw,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pxxmmc != null">
|
|
|
+ #{pxxmmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pxxs != null">
|
|
|
+ #{pxxs,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="xxkssj != null">
|
|
|
+ #{xxkssj,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="xxjssj != null">
|
|
|
+ #{xxjssj,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="cxts != null">
|
|
|
+ #{cxts,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="xss != null">
|
|
|
+ #{xss,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="khqk != null">
|
|
|
+ #{khqk,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ssjgmc != null">
|
|
|
+ #{ssjgmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="xxdd != null">
|
|
|
+ #{xxdd,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="xxnr != null">
|
|
|
+ #{xxnr,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>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.ghsc.partybuild.model.PxTrainingRecordExample" resultType="java.lang.Long">
|
|
|
+ select count(*) from px_training_record
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ update px_training_record
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
+ id = #{record.id,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.rybm != null">
|
|
|
+ rybm = #{record.rybm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.name != null">
|
|
|
+ name = #{record.name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.pxdxlx != null">
|
|
|
+ pxdxlx = #{record.pxdxlx,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.gender != null">
|
|
|
+ gender = #{record.gender,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.sfzh != null">
|
|
|
+ sfzh = #{record.sfzh,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.gzbm != null">
|
|
|
+ gzbm = #{record.gzbm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.zw != null">
|
|
|
+ zw = #{record.zw,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.pxxmmc != null">
|
|
|
+ pxxmmc = #{record.pxxmmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.pxxs != null">
|
|
|
+ pxxs = #{record.pxxs,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.xxkssj != null">
|
|
|
+ xxkssj = #{record.xxkssj,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="record.xxjssj != null">
|
|
|
+ xxjssj = #{record.xxjssj,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="record.cxts != null">
|
|
|
+ cxts = #{record.cxts,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.xss != null">
|
|
|
+ xss = #{record.xss,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.khqk != null">
|
|
|
+ khqk = #{record.khqk,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.ssjgmc != null">
|
|
|
+ ssjgmc = #{record.ssjgmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.xxdd != null">
|
|
|
+ xxdd = #{record.xxdd,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.xxnr != null">
|
|
|
+ xxnr = #{record.xxnr,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.remark != null">
|
|
|
+ remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createTime != null">
|
|
|
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="record.createUserid != null">
|
|
|
+ create_userid = #{record.createUserid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.updateTime != null">
|
|
|
+ update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="record.updateUserid != null">
|
|
|
+ update_userid = #{record.updateUserid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ update px_training_record
|
|
|
+ set id = #{record.id,jdbcType=VARCHAR},
|
|
|
+ rybm = #{record.rybm,jdbcType=VARCHAR},
|
|
|
+ name = #{record.name,jdbcType=VARCHAR},
|
|
|
+ pxdxlx = #{record.pxdxlx,jdbcType=INTEGER},
|
|
|
+ gender = #{record.gender,jdbcType=INTEGER},
|
|
|
+ sfzh = #{record.sfzh,jdbcType=VARCHAR},
|
|
|
+ gzbm = #{record.gzbm,jdbcType=VARCHAR},
|
|
|
+ zw = #{record.zw,jdbcType=VARCHAR},
|
|
|
+ pxxmmc = #{record.pxxmmc,jdbcType=VARCHAR},
|
|
|
+ pxxs = #{record.pxxs,jdbcType=INTEGER},
|
|
|
+ xxkssj = #{record.xxkssj,jdbcType=DATE},
|
|
|
+ xxjssj = #{record.xxjssj,jdbcType=DATE},
|
|
|
+ cxts = #{record.cxts,jdbcType=INTEGER},
|
|
|
+ xss = #{record.xss,jdbcType=INTEGER},
|
|
|
+ khqk = #{record.khqk,jdbcType=VARCHAR},
|
|
|
+ ssjgmc = #{record.ssjgmc,jdbcType=VARCHAR},
|
|
|
+ xxdd = #{record.xxdd,jdbcType=VARCHAR},
|
|
|
+ xxnr = #{record.xxnr,jdbcType=VARCHAR},
|
|
|
+ remark = #{record.remark,jdbcType=VARCHAR},
|
|
|
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
+ create_userid = #{record.createUserid,jdbcType=VARCHAR},
|
|
|
+ update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
+ update_userid = #{record.updateUserid,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.ghsc.partybuild.model.PxTrainingRecord">
|
|
|
+ update px_training_record
|
|
|
+ <set>
|
|
|
+ <if test="rybm != null">
|
|
|
+ rybm = #{rybm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="name != null">
|
|
|
+ name = #{name,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pxdxlx != null">
|
|
|
+ pxdxlx = #{pxdxlx,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="gender != null">
|
|
|
+ gender = #{gender,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="sfzh != null">
|
|
|
+ sfzh = #{sfzh,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="gzbm != null">
|
|
|
+ gzbm = #{gzbm,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="zw != null">
|
|
|
+ zw = #{zw,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pxxmmc != null">
|
|
|
+ pxxmmc = #{pxxmmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pxxs != null">
|
|
|
+ pxxs = #{pxxs,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="xxkssj != null">
|
|
|
+ xxkssj = #{xxkssj,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="xxjssj != null">
|
|
|
+ xxjssj = #{xxjssj,jdbcType=DATE},
|
|
|
+ </if>
|
|
|
+ <if test="cxts != null">
|
|
|
+ cxts = #{cxts,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="xss != null">
|
|
|
+ xss = #{xss,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="khqk != null">
|
|
|
+ khqk = #{khqk,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="ssjgmc != null">
|
|
|
+ ssjgmc = #{ssjgmc,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="xxdd != null">
|
|
|
+ xxdd = #{xxdd,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="xxnr != null">
|
|
|
+ xxnr = #{xxnr,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="remark != null">
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null">
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="createUserid != null">
|
|
|
+ create_userid = #{createUserid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null">
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updateUserid != null">
|
|
|
+ update_userid = #{updateUserid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.ghsc.partybuild.model.PxTrainingRecord">
|
|
|
+ update px_training_record
|
|
|
+ set rybm = #{rybm,jdbcType=VARCHAR},
|
|
|
+ name = #{name,jdbcType=VARCHAR},
|
|
|
+ pxdxlx = #{pxdxlx,jdbcType=INTEGER},
|
|
|
+ gender = #{gender,jdbcType=INTEGER},
|
|
|
+ sfzh = #{sfzh,jdbcType=VARCHAR},
|
|
|
+ gzbm = #{gzbm,jdbcType=VARCHAR},
|
|
|
+ zw = #{zw,jdbcType=VARCHAR},
|
|
|
+ pxxmmc = #{pxxmmc,jdbcType=VARCHAR},
|
|
|
+ pxxs = #{pxxs,jdbcType=INTEGER},
|
|
|
+ xxkssj = #{xxkssj,jdbcType=DATE},
|
|
|
+ xxjssj = #{xxjssj,jdbcType=DATE},
|
|
|
+ cxts = #{cxts,jdbcType=INTEGER},
|
|
|
+ xss = #{xss,jdbcType=INTEGER},
|
|
|
+ khqk = #{khqk,jdbcType=VARCHAR},
|
|
|
+ ssjgmc = #{ssjgmc,jdbcType=VARCHAR},
|
|
|
+ xxdd = #{xxdd,jdbcType=VARCHAR},
|
|
|
+ xxnr = #{xxnr,jdbcType=VARCHAR},
|
|
|
+ remark = #{remark,jdbcType=VARCHAR},
|
|
|
+ create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ create_userid = #{createUserid,jdbcType=VARCHAR},
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ update_userid = #{updateUserid,jdbcType=VARCHAR}
|
|
|
+ where id = #{id,jdbcType=VARCHAR}
|
|
|
+ </update>
|
|
|
+</mapper>
|