<?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.unis.base.server.dao.TyCrkjsxxDao" >
  <resultMap id="BaseResultMap" type="com.unis.base.server.entity.TyCrkjsxxDO" >
    <id column="JSID" property="jsid" jdbcType="VARCHAR" />
    <result column="JSDH" property="jsdh" jdbcType="VARCHAR" />
    <result column="JSSJ" property="jssj" jdbcType="TIMESTAMP" />
    <result column="PZBM" property="pzbm" jdbcType="VARCHAR" />
    <result column="PZMC" property="pzmc" jdbcType="VARCHAR" />
    <result column="LSDJBM" property="lsdjbm" jdbcType="VARCHAR" />
    <result column="LSDJMC" property="lsdjmc" jdbcType="VARCHAR" />
    <result column="KHDM" property="khdm" jdbcType="VARCHAR" />
    <result column="KHMC" property="khmc" jdbcType="VARCHAR" />
    <result column="KHSSQYDM" property="khssqydm" jdbcType="VARCHAR" />
    <result column="KHSSYQMC" property="khssyqmc" jdbcType="VARCHAR" />
    <result column="KHLXDH" property="khlxdh" jdbcType="VARCHAR" />
    <result column="KHSFZH" property="khsfzh" jdbcType="VARCHAR" />
    <result column="KHYHZH" property="khyhzh" jdbcType="VARCHAR" />
    <result column="KHKHYH" property="khkhyh" jdbcType="VARCHAR" />
    <result column="HWBM" property="hwbm" jdbcType="VARCHAR" />
    <result column="CFBH" property="cfbh" jdbcType="VARCHAR" />
    <result column="CFMC" property="cfmc" jdbcType="VARCHAR" />
    <result column="SSKDDM" property="sskddm" jdbcType="VARCHAR" />
    <result column="SSKDMC" property="sskdmc" jdbcType="VARCHAR" />
    <result column="SSQYDM" property="ssqydm" jdbcType="VARCHAR" />
    <result column="SSYQMC" property="ssyqmc" jdbcType="VARCHAR" />
    <result column="YSCCH" property="yscch" jdbcType="VARCHAR" />
    <result column="CZMZ" property="czmz" jdbcType="DECIMAL" />
    <result column="CZPZ" property="czpz" jdbcType="DECIMAL" />
    <result column="CZJZ" property="czjz" jdbcType="DECIMAL" />
    <result column="KZL" property="kzl" jdbcType="DECIMAL" />
    <result column="KDJ" property="kdj" jdbcType="DECIMAL" />
    <result column="DJJE" property="djje" jdbcType="DECIMAL" />
    <result column="ZZJSZL" property="zzjszl" jdbcType="DECIMAL" />
    <result column="ZZJSDJ" property="zzjsdj" jdbcType="DECIMAL" />
    <result column="ZZJSJE" property="zzjsje" jdbcType="DECIMAL" />
    <result column="CRKID" property="crkid" jdbcType="VARCHAR" />
    <result column="CRKDH" property="crkdh" jdbcType="VARCHAR" />
    <result column="STATUS" property="status" jdbcType="DECIMAL" />
    <result column="CREATOR" property="creator" jdbcType="VARCHAR" />
    <result column="CREATOR_CODE" property="creatorCode" jdbcType="VARCHAR" />
    <result column="CREATE_DATE" property="createDate" jdbcType="TIMESTAMP" />
    <result column="REFRESHER" property="refresher" jdbcType="VARCHAR" />
    <result column="REFRESHER_CODE" property="refresherCode" jdbcType="VARCHAR" />
    <result column="REFRESH_TIME" property="refreshTime" jdbcType="TIMESTAMP" />
    <result column="REMARK" property="remark" jdbcType="VARCHAR" />
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where >
      <foreach collection="oredCriteria" item="criteria" separator="or" >
        <if test="criteria.valid" >
          <trim prefix="(" suffix=")" prefixOverrides="and" >
            <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 collection="criterion.value" item="listItem" open="(" close=")" 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="(" suffix=")" prefixOverrides="and" >
            <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 collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                    #{listItem}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    JSID, JSDH, JSSJ, PZBM, PZMC, LSDJBM, LSDJMC, KHDM, KHMC, KHSSQYDM, KHSSYQMC, KHLXDH, 
    KHSFZH, KHYHZH, KHKHYH, HWBM, CFBH, CFMC, SSKDDM, SSKDMC, SSQYDM, SSYQMC, YSCCH, 
    CZMZ, CZPZ, CZJZ, KZL, KDJ, DJJE, ZZJSZL, ZZJSDJ, ZZJSJE, CRKID, CRKDH, STATUS, CREATOR, 
    CREATOR_CODE, CREATE_DATE, REFRESHER, REFRESHER_CODE, REFRESH_TIME, REMARK
  </sql>
  <!-- <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.unis.base.server.example.TyCrkjsxxExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from TY_CRKJSXX
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null" >
      order by ${orderByClause}
    </if>
  </select> -->
  <!-- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
    select 
    <include refid="Base_Column_List" />
    from TY_CRKJSXX
    where JSID = #{jsid,jdbcType=VARCHAR}
  </select> -->

  <select id="selectAlls" resultMap="BaseResultMap">
    select * from TY_CRKJSXX
  </select>

  <select id="selectByKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
    select 
    <include refid="Base_Column_List" />
    from TY_CRKJSXX
    where JSID = #{jsid,jdbcType=VARCHAR}
  </select> 
  <!-- <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
    delete from TY_CRKJSXX
    where JSID = #{jsid,jdbcType=VARCHAR}
  </delete> -->
  <!-- <delete id="deleteByExample" parameterType="com.unis.base.server.example.TyCrkjsxxExample" >
    delete from TY_CRKJSXX
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete> -->
  <insert id="insert" parameterType="com.unis.base.server.entity.TyCrkjsxxDO" >
    insert into TY_CRKJSXX (JSID, JSDH, JSSJ, 
      PZBM, PZMC, LSDJBM, 
      LSDJMC, KHDM, KHMC, 
      KHSSQYDM, KHSSYQMC, KHLXDH, 
      KHSFZH, KHYHZH, KHKHYH, 
      HWBM, CFBH, CFMC, SSKDDM, 
      SSKDMC, SSQYDM, SSYQMC, 
      YSCCH, CZMZ, CZPZ, 
      CZJZ, KZL, KDJ, DJJE, 
      ZZJSZL, ZZJSDJ, ZZJSJE, 
      CRKID, CRKDH, STATUS, 
      CREATOR, CREATOR_CODE, CREATE_DATE, 
      REFRESHER, REFRESHER_CODE, REFRESH_TIME, 
      REMARK)
    values (#{jsid,jdbcType=VARCHAR}, #{jsdh,jdbcType=VARCHAR}, #{jssj,jdbcType=TIMESTAMP}, 
      #{pzbm,jdbcType=VARCHAR}, #{pzmc,jdbcType=VARCHAR}, #{lsdjbm,jdbcType=VARCHAR}, 
      #{lsdjmc,jdbcType=VARCHAR}, #{khdm,jdbcType=VARCHAR}, #{khmc,jdbcType=VARCHAR}, 
      #{khssqydm,jdbcType=VARCHAR}, #{khssyqmc,jdbcType=VARCHAR}, #{khlxdh,jdbcType=VARCHAR}, 
      #{khsfzh,jdbcType=VARCHAR}, #{khyhzh,jdbcType=VARCHAR}, #{khkhyh,jdbcType=VARCHAR}, 
      #{hwbm,jdbcType=VARCHAR}, #{cfbh,jdbcType=VARCHAR}, #{cfmc,jdbcType=VARCHAR}, #{sskddm,jdbcType=VARCHAR}, 
      #{sskdmc,jdbcType=VARCHAR}, #{ssqydm,jdbcType=VARCHAR}, #{ssyqmc,jdbcType=VARCHAR}, 
      #{yscch,jdbcType=VARCHAR}, #{czmz,jdbcType=DECIMAL}, #{czpz,jdbcType=DECIMAL}, 
      #{czjz,jdbcType=DECIMAL}, #{kzl,jdbcType=DECIMAL}, #{kdj,jdbcType=DECIMAL}, #{djje,jdbcType=DECIMAL}, 
      #{zzjszl,jdbcType=DECIMAL}, #{zzjsdj,jdbcType=DECIMAL}, #{zzjsje,jdbcType=DECIMAL}, 
      #{crkid,jdbcType=VARCHAR}, #{crkdh,jdbcType=VARCHAR}, #{status,jdbcType=DECIMAL}, 
      #{creator,jdbcType=VARCHAR}, #{creatorCode,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, 
      #{refresher,jdbcType=VARCHAR}, #{refresherCode,jdbcType=VARCHAR}, #{refreshTime,jdbcType=TIMESTAMP}, 
      #{remark,jdbcType=VARCHAR})
  </insert>
  <insert id="insertSelective" parameterType="com.unis.base.server.entity.TyCrkjsxxDO" >
    insert into TY_CRKJSXX
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="jsid != null" >
        JSID,
      </if>
      <if test="jsdh != null" >
        JSDH,
      </if>
      <if test="jssj != null" >
        JSSJ,
      </if>
      <if test="pzbm != null" >
        PZBM,
      </if>
      <if test="pzmc != null" >
        PZMC,
      </if>
      <if test="lsdjbm != null" >
        LSDJBM,
      </if>
      <if test="lsdjmc != null" >
        LSDJMC,
      </if>
      <if test="khdm != null" >
        KHDM,
      </if>
      <if test="khmc != null" >
        KHMC,
      </if>
      <if test="khssqydm != null" >
        KHSSQYDM,
      </if>
      <if test="khssyqmc != null" >
        KHSSYQMC,
      </if>
      <if test="khlxdh != null" >
        KHLXDH,
      </if>
      <if test="khsfzh != null" >
        KHSFZH,
      </if>
      <if test="khyhzh != null" >
        KHYHZH,
      </if>
      <if test="khkhyh != null" >
        KHKHYH,
      </if>
      <if test="hwbm != null" >
        HWBM,
      </if>
      <if test="cfbh != null" >
        CFBH,
      </if>
      <if test="cfmc != null" >
        CFMC,
      </if>
      <if test="sskddm != null" >
        SSKDDM,
      </if>
      <if test="sskdmc != null" >
        SSKDMC,
      </if>
      <if test="ssqydm != null" >
        SSQYDM,
      </if>
      <if test="ssyqmc != null" >
        SSYQMC,
      </if>
      <if test="yscch != null" >
        YSCCH,
      </if>
      <if test="czmz != null" >
        CZMZ,
      </if>
      <if test="czpz != null" >
        CZPZ,
      </if>
      <if test="czjz != null" >
        CZJZ,
      </if>
      <if test="kzl != null" >
        KZL,
      </if>
      <if test="kdj != null" >
        KDJ,
      </if>
      <if test="djje != null" >
        DJJE,
      </if>
      <if test="zzjszl != null" >
        ZZJSZL,
      </if>
      <if test="zzjsdj != null" >
        ZZJSDJ,
      </if>
      <if test="zzjsje != null" >
        ZZJSJE,
      </if>
      <if test="crkid != null" >
        CRKID,
      </if>
      <if test="crkdh != null" >
        CRKDH,
      </if>
      <if test="status != null" >
        STATUS,
      </if>
      <if test="creator != null" >
        CREATOR,
      </if>
      <if test="creatorCode != null" >
        CREATOR_CODE,
      </if>
      <if test="createDate != null" >
        CREATE_DATE,
      </if>
      <if test="refresher != null" >
        REFRESHER,
      </if>
      <if test="refresherCode != null" >
        REFRESHER_CODE,
      </if>
      <if test="refreshTime != null" >
        REFRESH_TIME,
      </if>
      <if test="remark != null" >
        REMARK,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="jsid != null" >
        #{jsid,jdbcType=VARCHAR},
      </if>
      <if test="jsdh != null" >
        #{jsdh,jdbcType=VARCHAR},
      </if>
      <if test="jssj != null" >
        #{jssj,jdbcType=TIMESTAMP},
      </if>
      <if test="pzbm != null" >
        #{pzbm,jdbcType=VARCHAR},
      </if>
      <if test="pzmc != null" >
        #{pzmc,jdbcType=VARCHAR},
      </if>
      <if test="lsdjbm != null" >
        #{lsdjbm,jdbcType=VARCHAR},
      </if>
      <if test="lsdjmc != null" >
        #{lsdjmc,jdbcType=VARCHAR},
      </if>
      <if test="khdm != null" >
        #{khdm,jdbcType=VARCHAR},
      </if>
      <if test="khmc != null" >
        #{khmc,jdbcType=VARCHAR},
      </if>
      <if test="khssqydm != null" >
        #{khssqydm,jdbcType=VARCHAR},
      </if>
      <if test="khssyqmc != null" >
        #{khssyqmc,jdbcType=VARCHAR},
      </if>
      <if test="khlxdh != null" >
        #{khlxdh,jdbcType=VARCHAR},
      </if>
      <if test="khsfzh != null" >
        #{khsfzh,jdbcType=VARCHAR},
      </if>
      <if test="khyhzh != null" >
        #{khyhzh,jdbcType=VARCHAR},
      </if>
      <if test="khkhyh != null" >
        #{khkhyh,jdbcType=VARCHAR},
      </if>
      <if test="hwbm != null" >
        #{hwbm,jdbcType=VARCHAR},
      </if>
      <if test="cfbh != null" >
        #{cfbh,jdbcType=VARCHAR},
      </if>
      <if test="cfmc != null" >
        #{cfmc,jdbcType=VARCHAR},
      </if>
      <if test="sskddm != null" >
        #{sskddm,jdbcType=VARCHAR},
      </if>
      <if test="sskdmc != null" >
        #{sskdmc,jdbcType=VARCHAR},
      </if>
      <if test="ssqydm != null" >
        #{ssqydm,jdbcType=VARCHAR},
      </if>
      <if test="ssyqmc != null" >
        #{ssyqmc,jdbcType=VARCHAR},
      </if>
      <if test="yscch != null" >
        #{yscch,jdbcType=VARCHAR},
      </if>
      <if test="czmz != null" >
        #{czmz,jdbcType=DECIMAL},
      </if>
      <if test="czpz != null" >
        #{czpz,jdbcType=DECIMAL},
      </if>
      <if test="czjz != null" >
        #{czjz,jdbcType=DECIMAL},
      </if>
      <if test="kzl != null" >
        #{kzl,jdbcType=DECIMAL},
      </if>
      <if test="kdj != null" >
        #{kdj,jdbcType=DECIMAL},
      </if>
      <if test="djje != null" >
        #{djje,jdbcType=DECIMAL},
      </if>
      <if test="zzjszl != null" >
        #{zzjszl,jdbcType=DECIMAL},
      </if>
      <if test="zzjsdj != null" >
        #{zzjsdj,jdbcType=DECIMAL},
      </if>
      <if test="zzjsje != null" >
        #{zzjsje,jdbcType=DECIMAL},
      </if>
      <if test="crkid != null" >
        #{crkid,jdbcType=VARCHAR},
      </if>
      <if test="crkdh != null" >
        #{crkdh,jdbcType=VARCHAR},
      </if>
      <if test="status != null" >
        #{status,jdbcType=DECIMAL},
      </if>
      <if test="creator != null" >
        #{creator,jdbcType=VARCHAR},
      </if>
      <if test="creatorCode != null" >
        #{creatorCode,jdbcType=VARCHAR},
      </if>
      <if test="createDate != null" >
        #{createDate,jdbcType=TIMESTAMP},
      </if>
      <if test="refresher != null" >
        #{refresher,jdbcType=VARCHAR},
      </if>
      <if test="refresherCode != null" >
        #{refresherCode,jdbcType=VARCHAR},
      </if>
      <if test="refreshTime != null" >
        #{refreshTime,jdbcType=TIMESTAMP},
      </if>
      <if test="remark != null" >
        #{remark,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.unis.base.server.example.TyCrkjsxxExample" resultType="java.lang.Integer" >
    select count(1) from TY_CRKJSXX
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <!-- <update id="updateByExampleSelective" parameterType="map" >
    update TY_CRKJSXX
    <set >
      <if test="record.jsid != null" >
        JSID = #{record.jsid,jdbcType=VARCHAR},
      </if>
      <if test="record.jsdh != null" >
        JSDH = #{record.jsdh,jdbcType=VARCHAR},
      </if>
      <if test="record.jssj != null" >
        JSSJ = #{record.jssj,jdbcType=TIMESTAMP},
      </if>
      <if test="record.pzbm != null" >
        PZBM = #{record.pzbm,jdbcType=VARCHAR},
      </if>
      <if test="record.pzmc != null" >
        PZMC = #{record.pzmc,jdbcType=VARCHAR},
      </if>
      <if test="record.lsdjbm != null" >
        LSDJBM = #{record.lsdjbm,jdbcType=VARCHAR},
      </if>
      <if test="record.lsdjmc != null" >
        LSDJMC = #{record.lsdjmc,jdbcType=VARCHAR},
      </if>
      <if test="record.khdm != null" >
        KHDM = #{record.khdm,jdbcType=VARCHAR},
      </if>
      <if test="record.khmc != null" >
        KHMC = #{record.khmc,jdbcType=VARCHAR},
      </if>
      <if test="record.khssqydm != null" >
        KHSSQYDM = #{record.khssqydm,jdbcType=VARCHAR},
      </if>
      <if test="record.khssyqmc != null" >
        KHSSYQMC = #{record.khssyqmc,jdbcType=VARCHAR},
      </if>
      <if test="record.khlxdh != null" >
        KHLXDH = #{record.khlxdh,jdbcType=VARCHAR},
      </if>
      <if test="record.khsfzh != null" >
        KHSFZH = #{record.khsfzh,jdbcType=VARCHAR},
      </if>
      <if test="record.khyhzh != null" >
        KHYHZH = #{record.khyhzh,jdbcType=VARCHAR},
      </if>
      <if test="record.khkhyh != null" >
        KHKHYH = #{record.khkhyh,jdbcType=VARCHAR},
      </if>
      <if test="record.hwbm != null" >
        HWBM = #{record.hwbm,jdbcType=VARCHAR},
      </if>
      <if test="record.cfbh != null" >
        CFBH = #{record.cfbh,jdbcType=VARCHAR},
      </if>
      <if test="record.cfmc != null" >
        CFMC = #{record.cfmc,jdbcType=VARCHAR},
      </if>
      <if test="record.sskddm != null" >
        SSKDDM = #{record.sskddm,jdbcType=VARCHAR},
      </if>
      <if test="record.sskdmc != null" >
        SSKDMC = #{record.sskdmc,jdbcType=VARCHAR},
      </if>
      <if test="record.ssqydm != null" >
        SSQYDM = #{record.ssqydm,jdbcType=VARCHAR},
      </if>
      <if test="record.ssyqmc != null" >
        SSYQMC = #{record.ssyqmc,jdbcType=VARCHAR},
      </if>
      <if test="record.yscch != null" >
        YSCCH = #{record.yscch,jdbcType=VARCHAR},
      </if>
      <if test="record.czmz != null" >
        CZMZ = #{record.czmz,jdbcType=DECIMAL},
      </if>
      <if test="record.czpz != null" >
        CZPZ = #{record.czpz,jdbcType=DECIMAL},
      </if>
      <if test="record.czjz != null" >
        CZJZ = #{record.czjz,jdbcType=DECIMAL},
      </if>
      <if test="record.kzl != null" >
        KZL = #{record.kzl,jdbcType=DECIMAL},
      </if>
      <if test="record.kdj != null" >
        KDJ = #{record.kdj,jdbcType=DECIMAL},
      </if>
      <if test="record.djje != null" >
        DJJE = #{record.djje,jdbcType=DECIMAL},
      </if>
      <if test="record.zzjszl != null" >
        ZZJSZL = #{record.zzjszl,jdbcType=DECIMAL},
      </if>
      <if test="record.zzjsdj != null" >
        ZZJSDJ = #{record.zzjsdj,jdbcType=DECIMAL},
      </if>
      <if test="record.zzjsje != null" >
        ZZJSJE = #{record.zzjsje,jdbcType=DECIMAL},
      </if>
      <if test="record.crkid != null" >
        CRKID = #{record.crkid,jdbcType=VARCHAR},
      </if>
      <if test="record.crkdh != null" >
        CRKDH = #{record.crkdh,jdbcType=VARCHAR},
      </if>
      <if test="record.status != null" >
        STATUS = #{record.status,jdbcType=DECIMAL},
      </if>
      <if test="record.creator != null" >
        CREATOR = #{record.creator,jdbcType=VARCHAR},
      </if>
      <if test="record.creatorCode != null" >
        CREATOR_CODE = #{record.creatorCode,jdbcType=VARCHAR},
      </if>
      <if test="record.createDate != null" >
        CREATE_DATE = #{record.createDate,jdbcType=TIMESTAMP},
      </if>
      <if test="record.refresher != null" >
        REFRESHER = #{record.refresher,jdbcType=VARCHAR},
      </if>
      <if test="record.refresherCode != null" >
        REFRESHER_CODE = #{record.refresherCode,jdbcType=VARCHAR},
      </if>
      <if test="record.refreshTime != null" >
        REFRESH_TIME = #{record.refreshTime,jdbcType=TIMESTAMP},
      </if>
      <if test="record.remark != null" >
        REMARK = #{record.remark,jdbcType=VARCHAR},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update> -->
  <!-- <update id="updateByExample" parameterType="map" >
    update TY_CRKJSXX
    set JSID = #{record.jsid,jdbcType=VARCHAR},
      JSDH = #{record.jsdh,jdbcType=VARCHAR},
      JSSJ = #{record.jssj,jdbcType=TIMESTAMP},
      PZBM = #{record.pzbm,jdbcType=VARCHAR},
      PZMC = #{record.pzmc,jdbcType=VARCHAR},
      LSDJBM = #{record.lsdjbm,jdbcType=VARCHAR},
      LSDJMC = #{record.lsdjmc,jdbcType=VARCHAR},
      KHDM = #{record.khdm,jdbcType=VARCHAR},
      KHMC = #{record.khmc,jdbcType=VARCHAR},
      KHSSQYDM = #{record.khssqydm,jdbcType=VARCHAR},
      KHSSYQMC = #{record.khssyqmc,jdbcType=VARCHAR},
      KHLXDH = #{record.khlxdh,jdbcType=VARCHAR},
      KHSFZH = #{record.khsfzh,jdbcType=VARCHAR},
      KHYHZH = #{record.khyhzh,jdbcType=VARCHAR},
      KHKHYH = #{record.khkhyh,jdbcType=VARCHAR},
      HWBM = #{record.hwbm,jdbcType=VARCHAR},
      CFBH = #{record.cfbh,jdbcType=VARCHAR},
      CFMC = #{record.cfmc,jdbcType=VARCHAR},
      SSKDDM = #{record.sskddm,jdbcType=VARCHAR},
      SSKDMC = #{record.sskdmc,jdbcType=VARCHAR},
      SSQYDM = #{record.ssqydm,jdbcType=VARCHAR},
      SSYQMC = #{record.ssyqmc,jdbcType=VARCHAR},
      YSCCH = #{record.yscch,jdbcType=VARCHAR},
      CZMZ = #{record.czmz,jdbcType=DECIMAL},
      CZPZ = #{record.czpz,jdbcType=DECIMAL},
      CZJZ = #{record.czjz,jdbcType=DECIMAL},
      KZL = #{record.kzl,jdbcType=DECIMAL},
      KDJ = #{record.kdj,jdbcType=DECIMAL},
      DJJE = #{record.djje,jdbcType=DECIMAL},
      ZZJSZL = #{record.zzjszl,jdbcType=DECIMAL},
      ZZJSDJ = #{record.zzjsdj,jdbcType=DECIMAL},
      ZZJSJE = #{record.zzjsje,jdbcType=DECIMAL},
      CRKID = #{record.crkid,jdbcType=VARCHAR},
      CRKDH = #{record.crkdh,jdbcType=VARCHAR},
      STATUS = #{record.status,jdbcType=DECIMAL},
      CREATOR = #{record.creator,jdbcType=VARCHAR},
      CREATOR_CODE = #{record.creatorCode,jdbcType=VARCHAR},
      CREATE_DATE = #{record.createDate,jdbcType=TIMESTAMP},
      REFRESHER = #{record.refresher,jdbcType=VARCHAR},
      REFRESHER_CODE = #{record.refresherCode,jdbcType=VARCHAR},
      REFRESH_TIME = #{record.refreshTime,jdbcType=TIMESTAMP},
      REMARK = #{record.remark,jdbcType=VARCHAR}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update> -->
  <!-- <update id="updateByPrimaryKeySelective" parameterType="com.unis.base.server.entity.TyCrkjsxxDO" >
    update TY_CRKJSXX
    <set >
      <if test="jsdh != null" >
        JSDH = #{jsdh,jdbcType=VARCHAR},
      </if>
      <if test="jssj != null" >
        JSSJ = #{jssj,jdbcType=TIMESTAMP},
      </if>
      <if test="pzbm != null" >
        PZBM = #{pzbm,jdbcType=VARCHAR},
      </if>
      <if test="pzmc != null" >
        PZMC = #{pzmc,jdbcType=VARCHAR},
      </if>
      <if test="lsdjbm != null" >
        LSDJBM = #{lsdjbm,jdbcType=VARCHAR},
      </if>
      <if test="lsdjmc != null" >
        LSDJMC = #{lsdjmc,jdbcType=VARCHAR},
      </if>
      <if test="khdm != null" >
        KHDM = #{khdm,jdbcType=VARCHAR},
      </if>
      <if test="khmc != null" >
        KHMC = #{khmc,jdbcType=VARCHAR},
      </if>
      <if test="khssqydm != null" >
        KHSSQYDM = #{khssqydm,jdbcType=VARCHAR},
      </if>
      <if test="khssyqmc != null" >
        KHSSYQMC = #{khssyqmc,jdbcType=VARCHAR},
      </if>
      <if test="khlxdh != null" >
        KHLXDH = #{khlxdh,jdbcType=VARCHAR},
      </if>
      <if test="khsfzh != null" >
        KHSFZH = #{khsfzh,jdbcType=VARCHAR},
      </if>
      <if test="khyhzh != null" >
        KHYHZH = #{khyhzh,jdbcType=VARCHAR},
      </if>
      <if test="khkhyh != null" >
        KHKHYH = #{khkhyh,jdbcType=VARCHAR},
      </if>
      <if test="hwbm != null" >
        HWBM = #{hwbm,jdbcType=VARCHAR},
      </if>
      <if test="cfbh != null" >
        CFBH = #{cfbh,jdbcType=VARCHAR},
      </if>
      <if test="cfmc != null" >
        CFMC = #{cfmc,jdbcType=VARCHAR},
      </if>
      <if test="sskddm != null" >
        SSKDDM = #{sskddm,jdbcType=VARCHAR},
      </if>
      <if test="sskdmc != null" >
        SSKDMC = #{sskdmc,jdbcType=VARCHAR},
      </if>
      <if test="ssqydm != null" >
        SSQYDM = #{ssqydm,jdbcType=VARCHAR},
      </if>
      <if test="ssyqmc != null" >
        SSYQMC = #{ssyqmc,jdbcType=VARCHAR},
      </if>
      <if test="yscch != null" >
        YSCCH = #{yscch,jdbcType=VARCHAR},
      </if>
      <if test="czmz != null" >
        CZMZ = #{czmz,jdbcType=DECIMAL},
      </if>
      <if test="czpz != null" >
        CZPZ = #{czpz,jdbcType=DECIMAL},
      </if>
      <if test="czjz != null" >
        CZJZ = #{czjz,jdbcType=DECIMAL},
      </if>
      <if test="kzl != null" >
        KZL = #{kzl,jdbcType=DECIMAL},
      </if>
      <if test="kdj != null" >
        KDJ = #{kdj,jdbcType=DECIMAL},
      </if>
      <if test="djje != null" >
        DJJE = #{djje,jdbcType=DECIMAL},
      </if>
      <if test="zzjszl != null" >
        ZZJSZL = #{zzjszl,jdbcType=DECIMAL},
      </if>
      <if test="zzjsdj != null" >
        ZZJSDJ = #{zzjsdj,jdbcType=DECIMAL},
      </if>
      <if test="zzjsje != null" >
        ZZJSJE = #{zzjsje,jdbcType=DECIMAL},
      </if>
      <if test="crkid != null" >
        CRKID = #{crkid,jdbcType=VARCHAR},
      </if>
      <if test="crkdh != null" >
        CRKDH = #{crkdh,jdbcType=VARCHAR},
      </if>
      <if test="status != null" >
        STATUS = #{status,jdbcType=DECIMAL},
      </if>
      <if test="creator != null" >
        CREATOR = #{creator,jdbcType=VARCHAR},
      </if>
      <if test="creatorCode != null" >
        CREATOR_CODE = #{creatorCode,jdbcType=VARCHAR},
      </if>
      <if test="createDate != null" >
        CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
      </if>
      <if test="refresher != null" >
        REFRESHER = #{refresher,jdbcType=VARCHAR},
      </if>
      <if test="refresherCode != null" >
        REFRESHER_CODE = #{refresherCode,jdbcType=VARCHAR},
      </if>
      <if test="refreshTime != null" >
        REFRESH_TIME = #{refreshTime,jdbcType=TIMESTAMP},
      </if>
      <if test="remark != null" >
        REMARK = #{remark,jdbcType=VARCHAR},
      </if>
    </set>
    where JSID = #{jsid,jdbcType=VARCHAR}
  </update> -->
  <update id="updateByPrimaryKey" parameterType="com.unis.base.server.entity.TyCrkjsxxDO" >
    update TY_CRKJSXX
    set JSDH = #{jsdh,jdbcType=VARCHAR},
      JSSJ = #{jssj,jdbcType=TIMESTAMP},
      PZBM = #{pzbm,jdbcType=VARCHAR},
      PZMC = #{pzmc,jdbcType=VARCHAR},
      LSDJBM = #{lsdjbm,jdbcType=VARCHAR},
      LSDJMC = #{lsdjmc,jdbcType=VARCHAR},
      KHDM = #{khdm,jdbcType=VARCHAR},
      KHMC = #{khmc,jdbcType=VARCHAR},
      KHSSQYDM = #{khssqydm,jdbcType=VARCHAR},
      KHSSYQMC = #{khssyqmc,jdbcType=VARCHAR},
      KHLXDH = #{khlxdh,jdbcType=VARCHAR},
      KHSFZH = #{khsfzh,jdbcType=VARCHAR},
      KHYHZH = #{khyhzh,jdbcType=VARCHAR},
      KHKHYH = #{khkhyh,jdbcType=VARCHAR},
      HWBM = #{hwbm,jdbcType=VARCHAR},
      CFBH = #{cfbh,jdbcType=VARCHAR},
      CFMC = #{cfmc,jdbcType=VARCHAR},
      SSKDDM = #{sskddm,jdbcType=VARCHAR},
      SSKDMC = #{sskdmc,jdbcType=VARCHAR},
      SSQYDM = #{ssqydm,jdbcType=VARCHAR},
      SSYQMC = #{ssyqmc,jdbcType=VARCHAR},
      YSCCH = #{yscch,jdbcType=VARCHAR},
      CZMZ = #{czmz,jdbcType=DECIMAL},
      CZPZ = #{czpz,jdbcType=DECIMAL},
      CZJZ = #{czjz,jdbcType=DECIMAL},
      KZL = #{kzl,jdbcType=DECIMAL},
      KDJ = #{kdj,jdbcType=DECIMAL},
      DJJE = #{djje,jdbcType=DECIMAL},
      ZZJSZL = #{zzjszl,jdbcType=DECIMAL},
      ZZJSDJ = #{zzjsdj,jdbcType=DECIMAL},
      ZZJSJE = #{zzjsje,jdbcType=DECIMAL},
      CRKID = #{crkid,jdbcType=VARCHAR},
      CRKDH = #{crkdh,jdbcType=VARCHAR},
      STATUS = #{status,jdbcType=DECIMAL},
      CREATOR = #{creator,jdbcType=VARCHAR},
      CREATOR_CODE = #{creatorCode,jdbcType=VARCHAR},
      CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
      REFRESHER = #{refresher,jdbcType=VARCHAR},
      REFRESHER_CODE = #{refresherCode,jdbcType=VARCHAR},
      REFRESH_TIME = #{refreshTime,jdbcType=TIMESTAMP},
      REMARK = #{remark,jdbcType=VARCHAR}
    where JSID = #{jsid,jdbcType=VARCHAR}
  </update>
</mapper>