<?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.TyLhtzdDao" >
  <resultMap id="BaseResultMap" type="com.unis.base.server.entity.TyLhtzdDO" >
    <id column="TZDID" property="tzdid" jdbcType="VARCHAR" />
    <result column="TZDH" property="tzdh" jdbcType="VARCHAR" />
    <result column="TZDLX" property="tzdlx" jdbcType="VARCHAR" />
    <result column="PZBM" property="pzbm" jdbcType="VARCHAR" />
    <result column="PZMC" property="pzmc" jdbcType="VARCHAR" />
    <result column="LSYQSL" property="lsyqsl" jdbcType="DECIMAL" />
    <result column="LSNQ" property="lsnq" jdbcType="VARCHAR" />
    <result column="LSWCSL" property="lswcsl" jdbcType="DECIMAL" />
    <result column="LSJG" property="lsjg" jdbcType="DECIMAL" />
    <result column="JHKSSJ" property="jhkssj" jdbcType="TIMESTAMP" />
    <result column="JHJZSJ" property="jhjzsj" jdbcType="TIMESTAMP" />
    <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="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="SSJHXXID" property="ssjhxxid" jdbcType="VARCHAR" />
    <result column="SSJHH" property="ssjhh" jdbcType="VARCHAR" />
    <result column="SSHTXXID" property="sshtxxid" jdbcType="VARCHAR" />
    <result column="SSHTBM" property="sshtbm" 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" >
    TZDID, TZDH, TZDLX, PZBM, PZMC, LSYQSL, LSNQ, LSWCSL, LSJG, JHKSSJ, JHJZSJ, KHDM, 
    KHMC, KHSSQYDM, KHSSYQMC, CFBH, CFMC, SSKDDM, SSKDMC, SSQYDM, SSYQMC, SSJHXXID, SSJHH, 
    SSHTXXID, SSHTBM, STATUS, CREATOR, CREATOR_CODE, CREATE_DATE, REFRESHER, REFRESHER_CODE, 
    REFRESH_TIME, REMARK
  </sql>

  <select id="selectAlls" resultMap="BaseResultMap">
    select * from TY_LHTZD order by refresh_time desc
  </select>

  <!-- <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.unis.base.server.example.TyLhtzdExample" >
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from TY_LHTZD
    <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_LHTZD
    where TZDID = #{tzdid,jdbcType=VARCHAR}
  </select> -->
  <select id="selectByKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
    select 
    <include refid="Base_Column_List" />
    from TY_LHTZD
    where TZDID = #{tzdid,jdbcType=VARCHAR}
  </select>
  <!-- <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
    delete from TY_LHTZD
    where TZDID = #{tzdid,jdbcType=VARCHAR}
  </delete> -->
  <!-- <delete id="deleteByExample" parameterType="com.unis.base.server.example.TyLhtzdExample" >
    delete from TY_LHTZD
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete> -->
  <insert id="insert" parameterType="com.unis.base.server.entity.TyLhtzdDO" >
    insert into TY_LHTZD (TZDID, TZDH, TZDLX, 
      PZBM, PZMC, LSYQSL, 
      LSNQ, LSWCSL, LSJG, 
      JHKSSJ, JHJZSJ, KHDM, 
      KHMC, KHSSQYDM, KHSSYQMC, 
      CFBH, CFMC, SSKDDM, 
      SSKDMC, SSQYDM, SSYQMC, 
      SSJHXXID, SSJHH, SSHTXXID, 
      SSHTBM, STATUS, CREATOR, 
      CREATOR_CODE, CREATE_DATE, REFRESHER, 
      REFRESHER_CODE, REFRESH_TIME, REMARK
      )
    values (#{tzdid,jdbcType=VARCHAR}, #{tzdh,jdbcType=VARCHAR}, #{tzdlx,jdbcType=VARCHAR}, 
      #{pzbm,jdbcType=VARCHAR}, #{pzmc,jdbcType=VARCHAR}, #{lsyqsl,jdbcType=DECIMAL}, 
      #{lsnq,jdbcType=VARCHAR}, #{lswcsl,jdbcType=DECIMAL}, #{lsjg,jdbcType=DECIMAL}, 
      #{jhkssj,jdbcType=TIMESTAMP}, #{jhjzsj,jdbcType=TIMESTAMP}, #{khdm,jdbcType=VARCHAR}, 
      #{khmc,jdbcType=VARCHAR}, #{khssqydm,jdbcType=VARCHAR}, #{khssyqmc,jdbcType=VARCHAR}, 
      #{cfbh,jdbcType=VARCHAR}, #{cfmc,jdbcType=VARCHAR}, #{sskddm,jdbcType=VARCHAR}, 
      #{sskdmc,jdbcType=VARCHAR}, #{ssqydm,jdbcType=VARCHAR}, #{ssyqmc,jdbcType=VARCHAR}, 
      #{ssjhxxid,jdbcType=VARCHAR}, #{ssjhh,jdbcType=VARCHAR}, #{sshtxxid,jdbcType=VARCHAR}, 
      #{sshtbm,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.TyLhtzdDO" >
    insert into TY_LHTZD
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="tzdid != null" >
        TZDID,
      </if>
      <if test="tzdh != null" >
        TZDH,
      </if>
      <if test="tzdlx != null" >
        TZDLX,
      </if>
      <if test="pzbm != null" >
        PZBM,
      </if>
      <if test="pzmc != null" >
        PZMC,
      </if>
      <if test="lsyqsl != null" >
        LSYQSL,
      </if>
      <if test="lsnq != null" >
        LSNQ,
      </if>
      <if test="lswcsl != null" >
        LSWCSL,
      </if>
      <if test="lsjg != null" >
        LSJG,
      </if>
      <if test="jhkssj != null" >
        JHKSSJ,
      </if>
      <if test="jhjzsj != null" >
        JHJZSJ,
      </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="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="ssjhxxid != null" >
        SSJHXXID,
      </if>
      <if test="ssjhh != null" >
        SSJHH,
      </if>
      <if test="sshtxxid != null" >
        SSHTXXID,
      </if>
      <if test="sshtbm != null" >
        SSHTBM,
      </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="tzdid != null" >
        #{tzdid,jdbcType=VARCHAR},
      </if>
      <if test="tzdh != null" >
        #{tzdh,jdbcType=VARCHAR},
      </if>
      <if test="tzdlx != null" >
        #{tzdlx,jdbcType=VARCHAR},
      </if>
      <if test="pzbm != null" >
        #{pzbm,jdbcType=VARCHAR},
      </if>
      <if test="pzmc != null" >
        #{pzmc,jdbcType=VARCHAR},
      </if>
      <if test="lsyqsl != null" >
        #{lsyqsl,jdbcType=DECIMAL},
      </if>
      <if test="lsnq != null" >
        #{lsnq,jdbcType=VARCHAR},
      </if>
      <if test="lswcsl != null" >
        #{lswcsl,jdbcType=DECIMAL},
      </if>
      <if test="lsjg != null" >
        #{lsjg,jdbcType=DECIMAL},
      </if>
      <if test="jhkssj != null" >
        #{jhkssj,jdbcType=TIMESTAMP},
      </if>
      <if test="jhjzsj != null" >
        #{jhjzsj,jdbcType=TIMESTAMP},
      </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="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="ssjhxxid != null" >
        #{ssjhxxid,jdbcType=VARCHAR},
      </if>
      <if test="ssjhh != null" >
        #{ssjhh,jdbcType=VARCHAR},
      </if>
      <if test="sshtxxid != null" >
        #{sshtxxid,jdbcType=VARCHAR},
      </if>
      <if test="sshtbm != null" >
        #{sshtbm,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.TyLhtzdExample" resultType="java.lang.Integer" >
    select count(1) from TY_LHTZD
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <!-- <update id="updateByExampleSelective" parameterType="map" >
    update TY_LHTZD
    <set >
      <if test="record.tzdid != null" >
        TZDID = #{record.tzdid,jdbcType=VARCHAR},
      </if>
      <if test="record.tzdh != null" >
        TZDH = #{record.tzdh,jdbcType=VARCHAR},
      </if>
      <if test="record.tzdlx != null" >
        TZDLX = #{record.tzdlx,jdbcType=VARCHAR},
      </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.lsyqsl != null" >
        LSYQSL = #{record.lsyqsl,jdbcType=DECIMAL},
      </if>
      <if test="record.lsnq != null" >
        LSNQ = #{record.lsnq,jdbcType=VARCHAR},
      </if>
      <if test="record.lswcsl != null" >
        LSWCSL = #{record.lswcsl,jdbcType=DECIMAL},
      </if>
      <if test="record.lsjg != null" >
        LSJG = #{record.lsjg,jdbcType=DECIMAL},
      </if>
      <if test="record.jhkssj != null" >
        JHKSSJ = #{record.jhkssj,jdbcType=TIMESTAMP},
      </if>
      <if test="record.jhjzsj != null" >
        JHJZSJ = #{record.jhjzsj,jdbcType=TIMESTAMP},
      </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.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.ssjhxxid != null" >
        SSJHXXID = #{record.ssjhxxid,jdbcType=VARCHAR},
      </if>
      <if test="record.ssjhh != null" >
        SSJHH = #{record.ssjhh,jdbcType=VARCHAR},
      </if>
      <if test="record.sshtxxid != null" >
        SSHTXXID = #{record.sshtxxid,jdbcType=VARCHAR},
      </if>
      <if test="record.sshtbm != null" >
        SSHTBM = #{record.sshtbm,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_LHTZD
    set TZDID = #{record.tzdid,jdbcType=VARCHAR},
      TZDH = #{record.tzdh,jdbcType=VARCHAR},
      TZDLX = #{record.tzdlx,jdbcType=VARCHAR},
      PZBM = #{record.pzbm,jdbcType=VARCHAR},
      PZMC = #{record.pzmc,jdbcType=VARCHAR},
      LSYQSL = #{record.lsyqsl,jdbcType=DECIMAL},
      LSNQ = #{record.lsnq,jdbcType=VARCHAR},
      LSWCSL = #{record.lswcsl,jdbcType=DECIMAL},
      LSJG = #{record.lsjg,jdbcType=DECIMAL},
      JHKSSJ = #{record.jhkssj,jdbcType=TIMESTAMP},
      JHJZSJ = #{record.jhjzsj,jdbcType=TIMESTAMP},
      KHDM = #{record.khdm,jdbcType=VARCHAR},
      KHMC = #{record.khmc,jdbcType=VARCHAR},
      KHSSQYDM = #{record.khssqydm,jdbcType=VARCHAR},
      KHSSYQMC = #{record.khssyqmc,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},
      SSJHXXID = #{record.ssjhxxid,jdbcType=VARCHAR},
      SSJHH = #{record.ssjhh,jdbcType=VARCHAR},
      SSHTXXID = #{record.sshtxxid,jdbcType=VARCHAR},
      SSHTBM = #{record.sshtbm,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.TyLhtzdDO" >
    update TY_LHTZD
    <set >
      <if test="tzdh != null" >
        TZDH = #{tzdh,jdbcType=VARCHAR},
      </if>
      <if test="tzdlx != null" >
        TZDLX = #{tzdlx,jdbcType=VARCHAR},
      </if>
      <if test="pzbm != null" >
        PZBM = #{pzbm,jdbcType=VARCHAR},
      </if>
      <if test="pzmc != null" >
        PZMC = #{pzmc,jdbcType=VARCHAR},
      </if>
      <if test="lsyqsl != null" >
        LSYQSL = #{lsyqsl,jdbcType=DECIMAL},
      </if>
      <if test="lsnq != null" >
        LSNQ = #{lsnq,jdbcType=VARCHAR},
      </if>
      <if test="lswcsl != null" >
        LSWCSL = #{lswcsl,jdbcType=DECIMAL},
      </if>
      <if test="lsjg != null" >
        LSJG = #{lsjg,jdbcType=DECIMAL},
      </if>
      <if test="jhkssj != null" >
        JHKSSJ = #{jhkssj,jdbcType=TIMESTAMP},
      </if>
      <if test="jhjzsj != null" >
        JHJZSJ = #{jhjzsj,jdbcType=TIMESTAMP},
      </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="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="ssjhxxid != null" >
        SSJHXXID = #{ssjhxxid,jdbcType=VARCHAR},
      </if>
      <if test="ssjhh != null" >
        SSJHH = #{ssjhh,jdbcType=VARCHAR},
      </if>
      <if test="sshtxxid != null" >
        SSHTXXID = #{sshtxxid,jdbcType=VARCHAR},
      </if>
      <if test="sshtbm != null" >
        SSHTBM = #{sshtbm,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 TZDID = #{tzdid,jdbcType=VARCHAR}
  </update> -->
  <update id="updateByPrimaryKey" parameterType="com.unis.base.server.entity.TyLhtzdDO" >
    update TY_LHTZD
    set TZDH = #{tzdh,jdbcType=VARCHAR},
      TZDLX = #{tzdlx,jdbcType=VARCHAR},
      PZBM = #{pzbm,jdbcType=VARCHAR},
      PZMC = #{pzmc,jdbcType=VARCHAR},
      LSYQSL = #{lsyqsl,jdbcType=DECIMAL},
      LSNQ = #{lsnq,jdbcType=VARCHAR},
      LSWCSL = #{lswcsl,jdbcType=DECIMAL},
      LSJG = #{lsjg,jdbcType=DECIMAL},
      JHKSSJ = #{jhkssj,jdbcType=TIMESTAMP},
      JHJZSJ = #{jhjzsj,jdbcType=TIMESTAMP},
      KHDM = #{khdm,jdbcType=VARCHAR},
      KHMC = #{khmc,jdbcType=VARCHAR},
      KHSSQYDM = #{khssqydm,jdbcType=VARCHAR},
      KHSSYQMC = #{khssyqmc,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},
      SSJHXXID = #{ssjhxxid,jdbcType=VARCHAR},
      SSJHH = #{ssjhh,jdbcType=VARCHAR},
      SSHTXXID = #{sshtxxid,jdbcType=VARCHAR},
      SSHTBM = #{sshtbm,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 TZDID = #{tzdid,jdbcType=VARCHAR}
  </update>
</mapper>