<?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="pwc.taxtech.atms.invoice.HlOutputOrderKpsqzbMapper">
  <resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzb">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <id column="SQUUID" jdbcType="VARCHAR" property="squuid" />
    <result column="SQLX" jdbcType="VARCHAR" property="sqlx" />
    <result column="SQBH" jdbcType="VARCHAR" property="sqbh" />
    <result column="KPGSSH" jdbcType="VARCHAR" property="kpgssh" />
    <result column="KHSH" jdbcType="VARCHAR" property="khsh" />
    <result column="HTBH" jdbcType="VARCHAR" property="htbh" />
    <result column="ZJE" jdbcType="VARCHAR" property="zje" />
    <result column="YKPJE" jdbcType="VARCHAR" property="ykpje" />
    <result column="BZ" jdbcType="VARCHAR" property="bz" />
    <result column="SQRQ" jdbcType="VARCHAR" property="sqrq" />
    <result column="SQRY" jdbcType="VARCHAR" property="sqry" />
    <result column="BZH" jdbcType="VARCHAR" property="bzh" />
    <result column="HLRQ" jdbcType="VARCHAR" property="hlrq" />
    <result column="HL" jdbcType="VARCHAR" property="hl" />
    <result column="JE" jdbcType="VARCHAR" property="je" />
    <result column="SE" jdbcType="VARCHAR" property="se" />
    <result column="JSHJ" jdbcType="VARCHAR" property="jshj" />
    <result column="KPLX" jdbcType="CHAR" property="kplx" />
    <result column="KPGSMC" jdbcType="VARCHAR" property="kpgsmc" />
    <result column="KHMC" jdbcType="VARCHAR" property="khmc" />
    <result column="HXSL" jdbcType="VARCHAR" property="hxsl" />
    <result column="YHXSL" jdbcType="VARCHAR" property="yhxsl" />
    <result column="SQZT" jdbcType="VARCHAR" property="sqzt" />
    <result column="PID" jdbcType="VARCHAR" property="pid" />
    <result column="ASSIGNEE" jdbcType="VARCHAR" property="assignee" />
    <result column="KHID" jdbcType="VARCHAR" property="khid" />
    <result column="YWLX" jdbcType="VARCHAR" property="ywlx" />
    <result column="YJSJ" jdbcType="VARCHAR" property="yjsj" />
    <result column="USERID" jdbcType="OTHER" property="userid" />
    <result column="SM" jdbcType="VARCHAR" property="sm" />
    <result column="YCJE" jdbcType="VARCHAR" property="ycje" />
  </resultMap>
  <sql id="Example_Where_Clause">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <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">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    <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">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    SQUUID, SQLX, SQBH, KPGSSH, KHSH, HTBH, ZJE, YKPJE, BZ, SQRQ, SQRY, BZH, HLRQ, HL, 
    JE, SE, JSHJ, KPLX, KPGSMC, KHMC, HXSL, YHXSL, SQZT, PID, ASSIGNEE, KHID, YWLX, YJSJ, 
    USERID, SM, YCJE
  </sql>
  <select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzbExample" resultMap="BaseResultMap">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select
    <if test="distinct">
      distinct
    </if>
    <include refid="Base_Column_List" />
    from OUTPUT_ORDER_KPSQZB
    <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">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select 
    <include refid="Base_Column_List" />
    from OUTPUT_ORDER_KPSQZB
    where SQUUID = #{squuid,jdbcType=VARCHAR}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from OUTPUT_ORDER_KPSQZB
    where SQUUID = #{squuid,jdbcType=VARCHAR}
  </delete>
  <delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzbExample">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from OUTPUT_ORDER_KPSQZB
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzb">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into OUTPUT_ORDER_KPSQZB (SQUUID, SQLX, SQBH, 
      KPGSSH, KHSH, HTBH, 
      ZJE, YKPJE, BZ, SQRQ, 
      SQRY, BZH, HLRQ, HL, 
      JE, SE, JSHJ, KPLX, 
      KPGSMC, KHMC, HXSL, 
      YHXSL, SQZT, PID, ASSIGNEE, 
      KHID, YWLX, YJSJ, USERID, 
      SM, YCJE)
    values (#{squuid,jdbcType=VARCHAR}, #{sqlx,jdbcType=VARCHAR}, #{sqbh,jdbcType=VARCHAR}, 
      #{kpgssh,jdbcType=VARCHAR}, #{khsh,jdbcType=VARCHAR}, #{htbh,jdbcType=VARCHAR}, 
      #{zje,jdbcType=VARCHAR}, #{ykpje,jdbcType=VARCHAR}, #{bz,jdbcType=VARCHAR}, #{sqrq,jdbcType=VARCHAR}, 
      #{sqry,jdbcType=VARCHAR}, #{bzh,jdbcType=VARCHAR}, #{hlrq,jdbcType=VARCHAR}, #{hl,jdbcType=VARCHAR}, 
      #{je,jdbcType=VARCHAR}, #{se,jdbcType=VARCHAR}, #{jshj,jdbcType=VARCHAR}, #{kplx,jdbcType=CHAR}, 
      #{kpgsmc,jdbcType=VARCHAR}, #{khmc,jdbcType=VARCHAR}, #{hxsl,jdbcType=VARCHAR}, 
      #{yhxsl,jdbcType=VARCHAR}, #{sqzt,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR}, #{assignee,jdbcType=VARCHAR}, 
      #{khid,jdbcType=VARCHAR}, #{ywlx,jdbcType=VARCHAR}, #{yjsj,jdbcType=VARCHAR}, #{userid,jdbcType=OTHER}, 
      #{sm,jdbcType=VARCHAR}, #{ycje,jdbcType=VARCHAR})
  </insert>
  <insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzb">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into OUTPUT_ORDER_KPSQZB
    <trim prefix="(" suffix=")" suffixOverrides=",">
      <if test="squuid != null">
        SQUUID,
      </if>
      <if test="sqlx != null">
        SQLX,
      </if>
      <if test="sqbh != null">
        SQBH,
      </if>
      <if test="kpgssh != null">
        KPGSSH,
      </if>
      <if test="khsh != null">
        KHSH,
      </if>
      <if test="htbh != null">
        HTBH,
      </if>
      <if test="zje != null">
        ZJE,
      </if>
      <if test="ykpje != null">
        YKPJE,
      </if>
      <if test="bz != null">
        BZ,
      </if>
      <if test="sqrq != null">
        SQRQ,
      </if>
      <if test="sqry != null">
        SQRY,
      </if>
      <if test="bzh != null">
        BZH,
      </if>
      <if test="hlrq != null">
        HLRQ,
      </if>
      <if test="hl != null">
        HL,
      </if>
      <if test="je != null">
        JE,
      </if>
      <if test="se != null">
        SE,
      </if>
      <if test="jshj != null">
        JSHJ,
      </if>
      <if test="kplx != null">
        KPLX,
      </if>
      <if test="kpgsmc != null">
        KPGSMC,
      </if>
      <if test="khmc != null">
        KHMC,
      </if>
      <if test="hxsl != null">
        HXSL,
      </if>
      <if test="yhxsl != null">
        YHXSL,
      </if>
      <if test="sqzt != null">
        SQZT,
      </if>
      <if test="pid != null">
        PID,
      </if>
      <if test="assignee != null">
        ASSIGNEE,
      </if>
      <if test="khid != null">
        KHID,
      </if>
      <if test="ywlx != null">
        YWLX,
      </if>
      <if test="yjsj != null">
        YJSJ,
      </if>
      <if test="userid != null">
        USERID,
      </if>
      <if test="sm != null">
        SM,
      </if>
      <if test="ycje != null">
        YCJE,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
      <if test="squuid != null">
        #{squuid,jdbcType=VARCHAR},
      </if>
      <if test="sqlx != null">
        #{sqlx,jdbcType=VARCHAR},
      </if>
      <if test="sqbh != null">
        #{sqbh,jdbcType=VARCHAR},
      </if>
      <if test="kpgssh != null">
        #{kpgssh,jdbcType=VARCHAR},
      </if>
      <if test="khsh != null">
        #{khsh,jdbcType=VARCHAR},
      </if>
      <if test="htbh != null">
        #{htbh,jdbcType=VARCHAR},
      </if>
      <if test="zje != null">
        #{zje,jdbcType=VARCHAR},
      </if>
      <if test="ykpje != null">
        #{ykpje,jdbcType=VARCHAR},
      </if>
      <if test="bz != null">
        #{bz,jdbcType=VARCHAR},
      </if>
      <if test="sqrq != null">
        #{sqrq,jdbcType=VARCHAR},
      </if>
      <if test="sqry != null">
        #{sqry,jdbcType=VARCHAR},
      </if>
      <if test="bzh != null">
        #{bzh,jdbcType=VARCHAR},
      </if>
      <if test="hlrq != null">
        #{hlrq,jdbcType=VARCHAR},
      </if>
      <if test="hl != null">
        #{hl,jdbcType=VARCHAR},
      </if>
      <if test="je != null">
        #{je,jdbcType=VARCHAR},
      </if>
      <if test="se != null">
        #{se,jdbcType=VARCHAR},
      </if>
      <if test="jshj != null">
        #{jshj,jdbcType=VARCHAR},
      </if>
      <if test="kplx != null">
        #{kplx,jdbcType=CHAR},
      </if>
      <if test="kpgsmc != null">
        #{kpgsmc,jdbcType=VARCHAR},
      </if>
      <if test="khmc != null">
        #{khmc,jdbcType=VARCHAR},
      </if>
      <if test="hxsl != null">
        #{hxsl,jdbcType=VARCHAR},
      </if>
      <if test="yhxsl != null">
        #{yhxsl,jdbcType=VARCHAR},
      </if>
      <if test="sqzt != null">
        #{sqzt,jdbcType=VARCHAR},
      </if>
      <if test="pid != null">
        #{pid,jdbcType=VARCHAR},
      </if>
      <if test="assignee != null">
        #{assignee,jdbcType=VARCHAR},
      </if>
      <if test="khid != null">
        #{khid,jdbcType=VARCHAR},
      </if>
      <if test="ywlx != null">
        #{ywlx,jdbcType=VARCHAR},
      </if>
      <if test="yjsj != null">
        #{yjsj,jdbcType=VARCHAR},
      </if>
      <if test="userid != null">
        #{userid,jdbcType=OTHER},
      </if>
      <if test="sm != null">
        #{sm,jdbcType=VARCHAR},
      </if>
      <if test="ycje != null">
        #{ycje,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzbExample" resultType="java.lang.Long">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select count(*) from OUTPUT_ORDER_KPSQZB
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update OUTPUT_ORDER_KPSQZB
    <set>
      <if test="record.squuid != null">
        SQUUID = #{record.squuid,jdbcType=VARCHAR},
      </if>
      <if test="record.sqlx != null">
        SQLX = #{record.sqlx,jdbcType=VARCHAR},
      </if>
      <if test="record.sqbh != null">
        SQBH = #{record.sqbh,jdbcType=VARCHAR},
      </if>
      <if test="record.kpgssh != null">
        KPGSSH = #{record.kpgssh,jdbcType=VARCHAR},
      </if>
      <if test="record.khsh != null">
        KHSH = #{record.khsh,jdbcType=VARCHAR},
      </if>
      <if test="record.htbh != null">
        HTBH = #{record.htbh,jdbcType=VARCHAR},
      </if>
      <if test="record.zje != null">
        ZJE = #{record.zje,jdbcType=VARCHAR},
      </if>
      <if test="record.ykpje != null">
        YKPJE = #{record.ykpje,jdbcType=VARCHAR},
      </if>
      <if test="record.bz != null">
        BZ = #{record.bz,jdbcType=VARCHAR},
      </if>
      <if test="record.sqrq != null">
        SQRQ = #{record.sqrq,jdbcType=VARCHAR},
      </if>
      <if test="record.sqry != null">
        SQRY = #{record.sqry,jdbcType=VARCHAR},
      </if>
      <if test="record.bzh != null">
        BZH = #{record.bzh,jdbcType=VARCHAR},
      </if>
      <if test="record.hlrq != null">
        HLRQ = #{record.hlrq,jdbcType=VARCHAR},
      </if>
      <if test="record.hl != null">
        HL = #{record.hl,jdbcType=VARCHAR},
      </if>
      <if test="record.je != null">
        JE = #{record.je,jdbcType=VARCHAR},
      </if>
      <if test="record.se != null">
        SE = #{record.se,jdbcType=VARCHAR},
      </if>
      <if test="record.jshj != null">
        JSHJ = #{record.jshj,jdbcType=VARCHAR},
      </if>
      <if test="record.kplx != null">
        KPLX = #{record.kplx,jdbcType=CHAR},
      </if>
      <if test="record.kpgsmc != null">
        KPGSMC = #{record.kpgsmc,jdbcType=VARCHAR},
      </if>
      <if test="record.khmc != null">
        KHMC = #{record.khmc,jdbcType=VARCHAR},
      </if>
      <if test="record.hxsl != null">
        HXSL = #{record.hxsl,jdbcType=VARCHAR},
      </if>
      <if test="record.yhxsl != null">
        YHXSL = #{record.yhxsl,jdbcType=VARCHAR},
      </if>
      <if test="record.sqzt != null">
        SQZT = #{record.sqzt,jdbcType=VARCHAR},
      </if>
      <if test="record.pid != null">
        PID = #{record.pid,jdbcType=VARCHAR},
      </if>
      <if test="record.assignee != null">
        ASSIGNEE = #{record.assignee,jdbcType=VARCHAR},
      </if>
      <if test="record.khid != null">
        KHID = #{record.khid,jdbcType=VARCHAR},
      </if>
      <if test="record.ywlx != null">
        YWLX = #{record.ywlx,jdbcType=VARCHAR},
      </if>
      <if test="record.yjsj != null">
        YJSJ = #{record.yjsj,jdbcType=VARCHAR},
      </if>
      <if test="record.userid != null">
        USERID = #{record.userid,jdbcType=OTHER},
      </if>
      <if test="record.sm != null">
        SM = #{record.sm,jdbcType=VARCHAR},
      </if>
      <if test="record.ycje != null">
        YCJE = #{record.ycje,jdbcType=VARCHAR},
      </if>
    </set>
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update OUTPUT_ORDER_KPSQZB
    set SQUUID = #{record.squuid,jdbcType=VARCHAR},
      SQLX = #{record.sqlx,jdbcType=VARCHAR},
      SQBH = #{record.sqbh,jdbcType=VARCHAR},
      KPGSSH = #{record.kpgssh,jdbcType=VARCHAR},
      KHSH = #{record.khsh,jdbcType=VARCHAR},
      HTBH = #{record.htbh,jdbcType=VARCHAR},
      ZJE = #{record.zje,jdbcType=VARCHAR},
      YKPJE = #{record.ykpje,jdbcType=VARCHAR},
      BZ = #{record.bz,jdbcType=VARCHAR},
      SQRQ = #{record.sqrq,jdbcType=VARCHAR},
      SQRY = #{record.sqry,jdbcType=VARCHAR},
      BZH = #{record.bzh,jdbcType=VARCHAR},
      HLRQ = #{record.hlrq,jdbcType=VARCHAR},
      HL = #{record.hl,jdbcType=VARCHAR},
      JE = #{record.je,jdbcType=VARCHAR},
      SE = #{record.se,jdbcType=VARCHAR},
      JSHJ = #{record.jshj,jdbcType=VARCHAR},
      KPLX = #{record.kplx,jdbcType=CHAR},
      KPGSMC = #{record.kpgsmc,jdbcType=VARCHAR},
      KHMC = #{record.khmc,jdbcType=VARCHAR},
      HXSL = #{record.hxsl,jdbcType=VARCHAR},
      YHXSL = #{record.yhxsl,jdbcType=VARCHAR},
      SQZT = #{record.sqzt,jdbcType=VARCHAR},
      PID = #{record.pid,jdbcType=VARCHAR},
      ASSIGNEE = #{record.assignee,jdbcType=VARCHAR},
      KHID = #{record.khid,jdbcType=VARCHAR},
      YWLX = #{record.ywlx,jdbcType=VARCHAR},
      YJSJ = #{record.yjsj,jdbcType=VARCHAR},
      USERID = #{record.userid,jdbcType=OTHER},
      SM = #{record.sm,jdbcType=VARCHAR},
      YCJE = #{record.ycje,jdbcType=VARCHAR}
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzb">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update OUTPUT_ORDER_KPSQZB
    <set>
      <if test="sqlx != null">
        SQLX = #{sqlx,jdbcType=VARCHAR},
      </if>
      <if test="sqbh != null">
        SQBH = #{sqbh,jdbcType=VARCHAR},
      </if>
      <if test="kpgssh != null">
        KPGSSH = #{kpgssh,jdbcType=VARCHAR},
      </if>
      <if test="khsh != null">
        KHSH = #{khsh,jdbcType=VARCHAR},
      </if>
      <if test="htbh != null">
        HTBH = #{htbh,jdbcType=VARCHAR},
      </if>
      <if test="zje != null">
        ZJE = #{zje,jdbcType=VARCHAR},
      </if>
      <if test="ykpje != null">
        YKPJE = #{ykpje,jdbcType=VARCHAR},
      </if>
      <if test="bz != null">
        BZ = #{bz,jdbcType=VARCHAR},
      </if>
      <if test="sqrq != null">
        SQRQ = #{sqrq,jdbcType=VARCHAR},
      </if>
      <if test="sqry != null">
        SQRY = #{sqry,jdbcType=VARCHAR},
      </if>
      <if test="bzh != null">
        BZH = #{bzh,jdbcType=VARCHAR},
      </if>
      <if test="hlrq != null">
        HLRQ = #{hlrq,jdbcType=VARCHAR},
      </if>
      <if test="hl != null">
        HL = #{hl,jdbcType=VARCHAR},
      </if>
      <if test="je != null">
        JE = #{je,jdbcType=VARCHAR},
      </if>
      <if test="se != null">
        SE = #{se,jdbcType=VARCHAR},
      </if>
      <if test="jshj != null">
        JSHJ = #{jshj,jdbcType=VARCHAR},
      </if>
      <if test="kplx != null">
        KPLX = #{kplx,jdbcType=CHAR},
      </if>
      <if test="kpgsmc != null">
        KPGSMC = #{kpgsmc,jdbcType=VARCHAR},
      </if>
      <if test="khmc != null">
        KHMC = #{khmc,jdbcType=VARCHAR},
      </if>
      <if test="hxsl != null">
        HXSL = #{hxsl,jdbcType=VARCHAR},
      </if>
      <if test="yhxsl != null">
        YHXSL = #{yhxsl,jdbcType=VARCHAR},
      </if>
      <if test="sqzt != null">
        SQZT = #{sqzt,jdbcType=VARCHAR},
      </if>
      <if test="pid != null">
        PID = #{pid,jdbcType=VARCHAR},
      </if>
      <if test="assignee != null">
        ASSIGNEE = #{assignee,jdbcType=VARCHAR},
      </if>
      <if test="khid != null">
        KHID = #{khid,jdbcType=VARCHAR},
      </if>
      <if test="ywlx != null">
        YWLX = #{ywlx,jdbcType=VARCHAR},
      </if>
      <if test="yjsj != null">
        YJSJ = #{yjsj,jdbcType=VARCHAR},
      </if>
      <if test="userid != null">
        USERID = #{userid,jdbcType=OTHER},
      </if>
      <if test="sm != null">
        SM = #{sm,jdbcType=VARCHAR},
      </if>
      <if test="ycje != null">
        YCJE = #{ycje,jdbcType=VARCHAR},
      </if>
    </set>
    where SQUUID = #{squuid,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.HlOutputOrderKpsqzb">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update OUTPUT_ORDER_KPSQZB
    set SQLX = #{sqlx,jdbcType=VARCHAR},
      SQBH = #{sqbh,jdbcType=VARCHAR},
      KPGSSH = #{kpgssh,jdbcType=VARCHAR},
      KHSH = #{khsh,jdbcType=VARCHAR},
      HTBH = #{htbh,jdbcType=VARCHAR},
      ZJE = #{zje,jdbcType=VARCHAR},
      YKPJE = #{ykpje,jdbcType=VARCHAR},
      BZ = #{bz,jdbcType=VARCHAR},
      SQRQ = #{sqrq,jdbcType=VARCHAR},
      SQRY = #{sqry,jdbcType=VARCHAR},
      BZH = #{bzh,jdbcType=VARCHAR},
      HLRQ = #{hlrq,jdbcType=VARCHAR},
      HL = #{hl,jdbcType=VARCHAR},
      JE = #{je,jdbcType=VARCHAR},
      SE = #{se,jdbcType=VARCHAR},
      JSHJ = #{jshj,jdbcType=VARCHAR},
      KPLX = #{kplx,jdbcType=CHAR},
      KPGSMC = #{kpgsmc,jdbcType=VARCHAR},
      KHMC = #{khmc,jdbcType=VARCHAR},
      HXSL = #{hxsl,jdbcType=VARCHAR},
      YHXSL = #{yhxsl,jdbcType=VARCHAR},
      SQZT = #{sqzt,jdbcType=VARCHAR},
      PID = #{pid,jdbcType=VARCHAR},
      ASSIGNEE = #{assignee,jdbcType=VARCHAR},
      KHID = #{khid,jdbcType=VARCHAR},
      YWLX = #{ywlx,jdbcType=VARCHAR},
      YJSJ = #{yjsj,jdbcType=VARCHAR},
      USERID = #{userid,jdbcType=OTHER},
      SM = #{sm,jdbcType=VARCHAR},
      YCJE = #{ycje,jdbcType=VARCHAR}
    where SQUUID = #{squuid,jdbcType=VARCHAR}
  </update>
</mapper>