OutputInvoiceMapper.xml 36 KB
Newer Older
sherlock's avatar
sherlock committed
1 2 3
<?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.OutputInvoiceMapper">
sherlock's avatar
sherlock committed
4
  <resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.OutputInvoice">
sherlock's avatar
sherlock committed
5 6 7 8
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
sherlock's avatar
sherlock committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
    <id column="ID" jdbcType="VARCHAR" property="ID" />
    <id column="FPQQLSH" jdbcType="VARCHAR" property="FPQQLSH" />
    <result column="FPDM" jdbcType="VARCHAR" property="FPDM" />
    <result column="FPHM" jdbcType="VARCHAR" property="FPHM" />
    <result column="KPRQ" jdbcType="VARCHAR" property="KPRQ" />
    <result column="FPLXDM" jdbcType="VARCHAR" property="FPLXDM" />
    <result column="EWM" jdbcType="VARCHAR" property="EWM" />
    <result column="JQBH" jdbcType="VARCHAR" property="JQBH" />
    <result column="JYM" jdbcType="VARCHAR" property="JYM" />
    <result column="GFMC" jdbcType="VARCHAR" property="GFMC" />
    <result column="GFSH" jdbcType="VARCHAR" property="GFSH" />
    <result column="GFDZDH" jdbcType="VARCHAR" property="GFDZDH" />
    <result column="GFYHZH" jdbcType="VARCHAR" property="GFYHZH" />
    <result column="XFSH" jdbcType="VARCHAR" property="XFSH" />
    <result column="XFMC" jdbcType="VARCHAR" property="XFMC" />
    <result column="XFDZDH" jdbcType="VARCHAR" property="XFDZDH" />
    <result column="XFYHZH" jdbcType="VARCHAR" property="XFYHZH" />
    <result column="BZ" jdbcType="VARCHAR" property="BZ" />
    <result column="SKR" jdbcType="VARCHAR" property="SKR" />
    <result column="FHR" jdbcType="VARCHAR" property="FHR" />
    <result column="KPR" jdbcType="VARCHAR" property="KPR" />
    <result column="KDDH" jdbcType="VARCHAR" property="KDDH" />
    <result column="KDUUID" jdbcType="VARCHAR" property="KDUUID" />
    <result column="FPLX" jdbcType="VARCHAR" property="FPLX" />
    <result column="KPZT" jdbcType="VARCHAR" property="KPZT" />
    <result column="FPZT" jdbcType="VARCHAR" property="FPZT" />
    <result column="YFPDM" jdbcType="VARCHAR" property="YFPDM" />
    <result column="YFPHM" jdbcType="VARCHAR" property="YFPHM" />
    <result column="GFGSBM" jdbcType="VARCHAR" property="GFGSBM" />
    <result column="XFGSBM" jdbcType="VARCHAR" property="XFGSBM" />
    <result column="SPBH" jdbcType="VARCHAR" property="SPBH" />
    <result column="XTLY" jdbcType="VARCHAR" property="XTLY" />
    <result column="CJSJ" jdbcType="VARCHAR" property="CJSJ" />
    <result column="HJJE" jdbcType="VARCHAR" property="HJJE" />
    <result column="HJSE" jdbcType="VARCHAR" property="HJSE" />
    <result column="JSHJ" jdbcType="VARCHAR" property="JSHJ" />
    <result column="XXBBH" jdbcType="VARCHAR" property="XXBBH" />
    <result column="DYZT" jdbcType="VARCHAR" property="DYZT" />
    <result column="GDJLH" jdbcType="VARCHAR" property="GDJLH" />
    <result column="ZKJE" jdbcType="VARCHAR" property="ZKJE" />
    <result column="ZKSE" jdbcType="VARCHAR" property="ZKSE" />
    <result column="ZKJSHJ" jdbcType="VARCHAR" property="ZKJSHJ" />
    <result column="SLV" jdbcType="VARCHAR" property="SLV" />
    <result column="QY" jdbcType="VARCHAR" property="QY" />
    <result column="JSZT" jdbcType="VARCHAR" property="JSZT" />
    <result column="KDGS" jdbcType="VARCHAR" property="KDGS" />
    <result column="SHZT" jdbcType="VARCHAR" property="SHZT" />
    <result column="THKPSQ" jdbcType="VARCHAR" property="THKPSQ" />
    <result column="JSFJ" jdbcType="VARCHAR" property="JSFJ" />
    <result column="SQR" jdbcType="VARCHAR" property="SQR" />
    <result column="BSCDM" jdbcType="VARCHAR" property="BSCDM" />
    <result column="BSC" jdbcType="VARCHAR" property="BSC" />
    <result column="QYDM" jdbcType="VARCHAR" property="QYDM" />
    <result column="SQBH" jdbcType="VARCHAR" property="SQBH" />
    <result column="HTBH" jdbcType="VARCHAR" property="HTBH" />
    <result column="SQRQ" jdbcType="VARCHAR" property="SQRQ" />
    <result column="YZRQ" jdbcType="VARCHAR" property="YZRQ" />
sherlock's avatar
sherlock committed
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
  </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.
    -->
sherlock's avatar
sherlock committed
138 139 140 141 142
    ID, FPQQLSH, FPDM, FPHM, KPRQ, FPLXDM, EWM, JQBH, JYM, GFMC, GFSH, GFDZDH, GFYHZH, 
    XFSH, XFMC, XFDZDH, XFYHZH, BZ, SKR, FHR, KPR, KDDH, KDUUID, FPLX, KPZT, FPZT, YFPDM, 
    YFPHM, GFGSBM, XFGSBM, SPBH, XTLY, CJSJ, HJJE, HJSE, JSHJ, XXBBH, DYZT, GDJLH, ZKJE, 
    ZKSE, ZKJSHJ, SLV, QY, JSZT, KDGS, SHZT, THKPSQ, JSFJ, SQR, BSCDM, BSC, QYDM, SQBH, 
    HTBH, SQRQ, YZRQ
sherlock's avatar
sherlock committed
143
  </sql>
sherlock's avatar
sherlock committed
144
  <select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoiceExample" resultMap="BaseResultMap">
sherlock's avatar
sherlock committed
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
    <!--
      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_INVOICE
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
sherlock's avatar
sherlock committed
162
  <select id="selectByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoiceKey" resultMap="BaseResultMap">
sherlock's avatar
sherlock committed
163 164 165 166 167 168 169
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select 
    <include refid="Base_Column_List" />
    from OUTPUT_INVOICE
sherlock's avatar
sherlock committed
170 171
    where ID = #{ID,jdbcType=VARCHAR}
      and FPQQLSH = #{FPQQLSH,jdbcType=VARCHAR}
sherlock's avatar
sherlock committed
172
  </select>
sherlock's avatar
sherlock committed
173
  <delete id="deleteByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoiceKey">
sherlock's avatar
sherlock committed
174 175 176 177 178
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from OUTPUT_INVOICE
sherlock's avatar
sherlock committed
179 180
    where ID = #{ID,jdbcType=VARCHAR}
      and FPQQLSH = #{FPQQLSH,jdbcType=VARCHAR}
sherlock's avatar
sherlock committed
181
  </delete>
sherlock's avatar
sherlock committed
182
  <delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoiceExample">
sherlock's avatar
sherlock committed
183 184 185 186 187 188 189 190 191
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    delete from OUTPUT_INVOICE
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
sherlock's avatar
sherlock committed
192
  <insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoice">
sherlock's avatar
sherlock committed
193 194 195 196
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
sherlock's avatar
sherlock committed
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230
    insert into OUTPUT_INVOICE (ID, FPQQLSH, FPDM, 
      FPHM, KPRQ, FPLXDM, 
      EWM, JQBH, JYM, GFMC, 
      GFSH, GFDZDH, GFYHZH, 
      XFSH, XFMC, XFDZDH, 
      XFYHZH, BZ, SKR, FHR, 
      KPR, KDDH, KDUUID, 
      FPLX, KPZT, FPZT, YFPDM, 
      YFPHM, GFGSBM, XFGSBM, 
      SPBH, XTLY, CJSJ, HJJE, 
      HJSE, JSHJ, XXBBH, 
      DYZT, GDJLH, ZKJE, 
      ZKSE, ZKJSHJ, SLV, 
      QY, JSZT, KDGS, SHZT, 
      THKPSQ, JSFJ, SQR, 
      BSCDM, BSC, QYDM, SQBH, 
      HTBH, SQRQ, YZRQ)
    values (#{ID,jdbcType=VARCHAR}, #{FPQQLSH,jdbcType=VARCHAR}, #{FPDM,jdbcType=VARCHAR}, 
      #{FPHM,jdbcType=VARCHAR}, #{KPRQ,jdbcType=VARCHAR}, #{FPLXDM,jdbcType=VARCHAR}, 
      #{EWM,jdbcType=VARCHAR}, #{JQBH,jdbcType=VARCHAR}, #{JYM,jdbcType=VARCHAR}, #{GFMC,jdbcType=VARCHAR}, 
      #{GFSH,jdbcType=VARCHAR}, #{GFDZDH,jdbcType=VARCHAR}, #{GFYHZH,jdbcType=VARCHAR}, 
      #{XFSH,jdbcType=VARCHAR}, #{XFMC,jdbcType=VARCHAR}, #{XFDZDH,jdbcType=VARCHAR}, 
      #{XFYHZH,jdbcType=VARCHAR}, #{BZ,jdbcType=VARCHAR}, #{SKR,jdbcType=VARCHAR}, #{FHR,jdbcType=VARCHAR}, 
      #{KPR,jdbcType=VARCHAR}, #{KDDH,jdbcType=VARCHAR}, #{KDUUID,jdbcType=VARCHAR}, 
      #{FPLX,jdbcType=VARCHAR}, #{KPZT,jdbcType=VARCHAR}, #{FPZT,jdbcType=VARCHAR}, #{YFPDM,jdbcType=VARCHAR}, 
      #{YFPHM,jdbcType=VARCHAR}, #{GFGSBM,jdbcType=VARCHAR}, #{XFGSBM,jdbcType=VARCHAR}, 
      #{SPBH,jdbcType=VARCHAR}, #{XTLY,jdbcType=VARCHAR}, #{CJSJ,jdbcType=VARCHAR}, #{HJJE,jdbcType=VARCHAR}, 
      #{HJSE,jdbcType=VARCHAR}, #{JSHJ,jdbcType=VARCHAR}, #{XXBBH,jdbcType=VARCHAR}, 
      #{DYZT,jdbcType=VARCHAR}, #{GDJLH,jdbcType=VARCHAR}, #{ZKJE,jdbcType=VARCHAR}, 
      #{ZKSE,jdbcType=VARCHAR}, #{ZKJSHJ,jdbcType=VARCHAR}, #{SLV,jdbcType=VARCHAR}, 
      #{QY,jdbcType=VARCHAR}, #{JSZT,jdbcType=VARCHAR}, #{KDGS,jdbcType=VARCHAR}, #{SHZT,jdbcType=VARCHAR}, 
      #{THKPSQ,jdbcType=VARCHAR}, #{JSFJ,jdbcType=VARCHAR}, #{SQR,jdbcType=VARCHAR}, 
      #{BSCDM,jdbcType=VARCHAR}, #{BSC,jdbcType=VARCHAR}, #{QYDM,jdbcType=VARCHAR}, #{SQBH,jdbcType=VARCHAR}, 
      #{HTBH,jdbcType=VARCHAR}, #{SQRQ,jdbcType=VARCHAR}, #{YZRQ,jdbcType=VARCHAR})
sherlock's avatar
sherlock committed
231
  </insert>
sherlock's avatar
sherlock committed
232
  <insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoice">
sherlock's avatar
sherlock committed
233 234 235 236 237 238
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    insert into OUTPUT_INVOICE
    <trim prefix="(" suffix=")" suffixOverrides=",">
sherlock's avatar
sherlock committed
239 240
      <if test="ID != null">
        ID,
sherlock's avatar
sherlock committed
241
      </if>
sherlock's avatar
sherlock committed
242 243
      <if test="FPQQLSH != null">
        FPQQLSH,
sherlock's avatar
sherlock committed
244
      </if>
sherlock's avatar
sherlock committed
245 246
      <if test="FPDM != null">
        FPDM,
sherlock's avatar
sherlock committed
247
      </if>
sherlock's avatar
sherlock committed
248 249
      <if test="FPHM != null">
        FPHM,
sherlock's avatar
sherlock committed
250
      </if>
sherlock's avatar
sherlock committed
251 252
      <if test="KPRQ != null">
        KPRQ,
sherlock's avatar
sherlock committed
253
      </if>
sherlock's avatar
sherlock committed
254 255
      <if test="FPLXDM != null">
        FPLXDM,
sherlock's avatar
sherlock committed
256
      </if>
sherlock's avatar
sherlock committed
257 258
      <if test="EWM != null">
        EWM,
sherlock's avatar
sherlock committed
259
      </if>
sherlock's avatar
sherlock committed
260 261
      <if test="JQBH != null">
        JQBH,
sherlock's avatar
sherlock committed
262
      </if>
sherlock's avatar
sherlock committed
263 264
      <if test="JYM != null">
        JYM,
sherlock's avatar
sherlock committed
265
      </if>
sherlock's avatar
sherlock committed
266 267
      <if test="GFMC != null">
        GFMC,
sherlock's avatar
sherlock committed
268
      </if>
sherlock's avatar
sherlock committed
269 270
      <if test="GFSH != null">
        GFSH,
sherlock's avatar
sherlock committed
271
      </if>
sherlock's avatar
sherlock committed
272 273
      <if test="GFDZDH != null">
        GFDZDH,
sherlock's avatar
sherlock committed
274
      </if>
sherlock's avatar
sherlock committed
275 276
      <if test="GFYHZH != null">
        GFYHZH,
sherlock's avatar
sherlock committed
277
      </if>
sherlock's avatar
sherlock committed
278 279
      <if test="XFSH != null">
        XFSH,
sherlock's avatar
sherlock committed
280
      </if>
sherlock's avatar
sherlock committed
281 282
      <if test="XFMC != null">
        XFMC,
sherlock's avatar
sherlock committed
283
      </if>
sherlock's avatar
sherlock committed
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408
      <if test="XFDZDH != null">
        XFDZDH,
      </if>
      <if test="XFYHZH != null">
        XFYHZH,
      </if>
      <if test="BZ != null">
        BZ,
      </if>
      <if test="SKR != null">
        SKR,
      </if>
      <if test="FHR != null">
        FHR,
      </if>
      <if test="KPR != null">
        KPR,
      </if>
      <if test="KDDH != null">
        KDDH,
      </if>
      <if test="KDUUID != null">
        KDUUID,
      </if>
      <if test="FPLX != null">
        FPLX,
      </if>
      <if test="KPZT != null">
        KPZT,
      </if>
      <if test="FPZT != null">
        FPZT,
      </if>
      <if test="YFPDM != null">
        YFPDM,
      </if>
      <if test="YFPHM != null">
        YFPHM,
      </if>
      <if test="GFGSBM != null">
        GFGSBM,
      </if>
      <if test="XFGSBM != null">
        XFGSBM,
      </if>
      <if test="SPBH != null">
        SPBH,
      </if>
      <if test="XTLY != null">
        XTLY,
      </if>
      <if test="CJSJ != null">
        CJSJ,
      </if>
      <if test="HJJE != null">
        HJJE,
      </if>
      <if test="HJSE != null">
        HJSE,
      </if>
      <if test="JSHJ != null">
        JSHJ,
      </if>
      <if test="XXBBH != null">
        XXBBH,
      </if>
      <if test="DYZT != null">
        DYZT,
      </if>
      <if test="GDJLH != null">
        GDJLH,
      </if>
      <if test="ZKJE != null">
        ZKJE,
      </if>
      <if test="ZKSE != null">
        ZKSE,
      </if>
      <if test="ZKJSHJ != null">
        ZKJSHJ,
      </if>
      <if test="SLV != null">
        SLV,
      </if>
      <if test="QY != null">
        QY,
      </if>
      <if test="JSZT != null">
        JSZT,
      </if>
      <if test="KDGS != null">
        KDGS,
      </if>
      <if test="SHZT != null">
        SHZT,
      </if>
      <if test="THKPSQ != null">
        THKPSQ,
      </if>
      <if test="JSFJ != null">
        JSFJ,
      </if>
      <if test="SQR != null">
        SQR,
      </if>
      <if test="BSCDM != null">
        BSCDM,
      </if>
      <if test="BSC != null">
        BSC,
      </if>
      <if test="QYDM != null">
        QYDM,
      </if>
      <if test="SQBH != null">
        SQBH,
      </if>
      <if test="HTBH != null">
        HTBH,
      </if>
      <if test="SQRQ != null">
        SQRQ,
      </if>
      <if test="YZRQ != null">
        YZRQ,
sherlock's avatar
sherlock committed
409 410 411
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
sherlock's avatar
sherlock committed
412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536
      <if test="ID != null">
        #{ID,jdbcType=VARCHAR},
      </if>
      <if test="FPQQLSH != null">
        #{FPQQLSH,jdbcType=VARCHAR},
      </if>
      <if test="FPDM != null">
        #{FPDM,jdbcType=VARCHAR},
      </if>
      <if test="FPHM != null">
        #{FPHM,jdbcType=VARCHAR},
      </if>
      <if test="KPRQ != null">
        #{KPRQ,jdbcType=VARCHAR},
      </if>
      <if test="FPLXDM != null">
        #{FPLXDM,jdbcType=VARCHAR},
      </if>
      <if test="EWM != null">
        #{EWM,jdbcType=VARCHAR},
      </if>
      <if test="JQBH != null">
        #{JQBH,jdbcType=VARCHAR},
      </if>
      <if test="JYM != null">
        #{JYM,jdbcType=VARCHAR},
      </if>
      <if test="GFMC != null">
        #{GFMC,jdbcType=VARCHAR},
      </if>
      <if test="GFSH != null">
        #{GFSH,jdbcType=VARCHAR},
      </if>
      <if test="GFDZDH != null">
        #{GFDZDH,jdbcType=VARCHAR},
      </if>
      <if test="GFYHZH != null">
        #{GFYHZH,jdbcType=VARCHAR},
      </if>
      <if test="XFSH != null">
        #{XFSH,jdbcType=VARCHAR},
      </if>
      <if test="XFMC != null">
        #{XFMC,jdbcType=VARCHAR},
      </if>
      <if test="XFDZDH != null">
        #{XFDZDH,jdbcType=VARCHAR},
      </if>
      <if test="XFYHZH != null">
        #{XFYHZH,jdbcType=VARCHAR},
      </if>
      <if test="BZ != null">
        #{BZ,jdbcType=VARCHAR},
      </if>
      <if test="SKR != null">
        #{SKR,jdbcType=VARCHAR},
      </if>
      <if test="FHR != null">
        #{FHR,jdbcType=VARCHAR},
      </if>
      <if test="KPR != null">
        #{KPR,jdbcType=VARCHAR},
      </if>
      <if test="KDDH != null">
        #{KDDH,jdbcType=VARCHAR},
      </if>
      <if test="KDUUID != null">
        #{KDUUID,jdbcType=VARCHAR},
      </if>
      <if test="FPLX != null">
        #{FPLX,jdbcType=VARCHAR},
      </if>
      <if test="KPZT != null">
        #{KPZT,jdbcType=VARCHAR},
      </if>
      <if test="FPZT != null">
        #{FPZT,jdbcType=VARCHAR},
      </if>
      <if test="YFPDM != null">
        #{YFPDM,jdbcType=VARCHAR},
      </if>
      <if test="YFPHM != null">
        #{YFPHM,jdbcType=VARCHAR},
      </if>
      <if test="GFGSBM != null">
        #{GFGSBM,jdbcType=VARCHAR},
      </if>
      <if test="XFGSBM != null">
        #{XFGSBM,jdbcType=VARCHAR},
      </if>
      <if test="SPBH != null">
        #{SPBH,jdbcType=VARCHAR},
      </if>
      <if test="XTLY != null">
        #{XTLY,jdbcType=VARCHAR},
      </if>
      <if test="CJSJ != null">
        #{CJSJ,jdbcType=VARCHAR},
      </if>
      <if test="HJJE != null">
        #{HJJE,jdbcType=VARCHAR},
      </if>
      <if test="HJSE != null">
        #{HJSE,jdbcType=VARCHAR},
      </if>
      <if test="JSHJ != null">
        #{JSHJ,jdbcType=VARCHAR},
      </if>
      <if test="XXBBH != null">
        #{XXBBH,jdbcType=VARCHAR},
      </if>
      <if test="DYZT != null">
        #{DYZT,jdbcType=VARCHAR},
      </if>
      <if test="GDJLH != null">
        #{GDJLH,jdbcType=VARCHAR},
      </if>
      <if test="ZKJE != null">
        #{ZKJE,jdbcType=VARCHAR},
      </if>
      <if test="ZKSE != null">
        #{ZKSE,jdbcType=VARCHAR},
      </if>
      <if test="ZKJSHJ != null">
        #{ZKJSHJ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
537
      </if>
sherlock's avatar
sherlock committed
538 539
      <if test="SLV != null">
        #{SLV,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
540
      </if>
sherlock's avatar
sherlock committed
541 542
      <if test="QY != null">
        #{QY,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
543
      </if>
sherlock's avatar
sherlock committed
544 545
      <if test="JSZT != null">
        #{JSZT,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
546
      </if>
sherlock's avatar
sherlock committed
547 548
      <if test="KDGS != null">
        #{KDGS,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
549
      </if>
sherlock's avatar
sherlock committed
550 551
      <if test="SHZT != null">
        #{SHZT,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
552
      </if>
sherlock's avatar
sherlock committed
553 554
      <if test="THKPSQ != null">
        #{THKPSQ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
555
      </if>
sherlock's avatar
sherlock committed
556 557
      <if test="JSFJ != null">
        #{JSFJ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
558
      </if>
sherlock's avatar
sherlock committed
559 560
      <if test="SQR != null">
        #{SQR,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
561
      </if>
sherlock's avatar
sherlock committed
562 563
      <if test="BSCDM != null">
        #{BSCDM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
564
      </if>
sherlock's avatar
sherlock committed
565 566
      <if test="BSC != null">
        #{BSC,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
567
      </if>
sherlock's avatar
sherlock committed
568 569
      <if test="QYDM != null">
        #{QYDM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
570
      </if>
sherlock's avatar
sherlock committed
571 572
      <if test="SQBH != null">
        #{SQBH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
573
      </if>
sherlock's avatar
sherlock committed
574 575
      <if test="HTBH != null">
        #{HTBH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
576
      </if>
sherlock's avatar
sherlock committed
577 578
      <if test="SQRQ != null">
        #{SQRQ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
579
      </if>
sherlock's avatar
sherlock committed
580 581
      <if test="YZRQ != null">
        #{YZRQ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
582 583 584
      </if>
    </trim>
  </insert>
sherlock's avatar
sherlock committed
585
  <select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoiceExample" resultType="java.lang.Long">
sherlock's avatar
sherlock committed
586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    select count(*) from OUTPUT_INVOICE
    <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_INVOICE
    <set>
sherlock's avatar
sherlock committed
602 603
      <if test="record.ID != null">
        ID = #{record.ID,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
604
      </if>
sherlock's avatar
sherlock committed
605 606
      <if test="record.FPQQLSH != null">
        FPQQLSH = #{record.FPQQLSH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
607
      </if>
sherlock's avatar
sherlock committed
608 609
      <if test="record.FPDM != null">
        FPDM = #{record.FPDM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
610
      </if>
sherlock's avatar
sherlock committed
611 612
      <if test="record.FPHM != null">
        FPHM = #{record.FPHM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
613
      </if>
sherlock's avatar
sherlock committed
614 615
      <if test="record.KPRQ != null">
        KPRQ = #{record.KPRQ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
616
      </if>
sherlock's avatar
sherlock committed
617 618
      <if test="record.FPLXDM != null">
        FPLXDM = #{record.FPLXDM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
619
      </if>
sherlock's avatar
sherlock committed
620 621
      <if test="record.EWM != null">
        EWM = #{record.EWM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
622
      </if>
sherlock's avatar
sherlock committed
623 624
      <if test="record.JQBH != null">
        JQBH = #{record.JQBH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
625
      </if>
sherlock's avatar
sherlock committed
626 627
      <if test="record.JYM != null">
        JYM = #{record.JYM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
628
      </if>
sherlock's avatar
sherlock committed
629 630
      <if test="record.GFMC != null">
        GFMC = #{record.GFMC,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
631
      </if>
sherlock's avatar
sherlock committed
632 633
      <if test="record.GFSH != null">
        GFSH = #{record.GFSH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
634
      </if>
sherlock's avatar
sherlock committed
635 636
      <if test="record.GFDZDH != null">
        GFDZDH = #{record.GFDZDH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
637
      </if>
sherlock's avatar
sherlock committed
638 639
      <if test="record.GFYHZH != null">
        GFYHZH = #{record.GFYHZH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
640
      </if>
sherlock's avatar
sherlock committed
641 642
      <if test="record.XFSH != null">
        XFSH = #{record.XFSH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
643
      </if>
sherlock's avatar
sherlock committed
644 645
      <if test="record.XFMC != null">
        XFMC = #{record.XFMC,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
646
      </if>
sherlock's avatar
sherlock committed
647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771
      <if test="record.XFDZDH != null">
        XFDZDH = #{record.XFDZDH,jdbcType=VARCHAR},
      </if>
      <if test="record.XFYHZH != null">
        XFYHZH = #{record.XFYHZH,jdbcType=VARCHAR},
      </if>
      <if test="record.BZ != null">
        BZ = #{record.BZ,jdbcType=VARCHAR},
      </if>
      <if test="record.SKR != null">
        SKR = #{record.SKR,jdbcType=VARCHAR},
      </if>
      <if test="record.FHR != null">
        FHR = #{record.FHR,jdbcType=VARCHAR},
      </if>
      <if test="record.KPR != null">
        KPR = #{record.KPR,jdbcType=VARCHAR},
      </if>
      <if test="record.KDDH != null">
        KDDH = #{record.KDDH,jdbcType=VARCHAR},
      </if>
      <if test="record.KDUUID != null">
        KDUUID = #{record.KDUUID,jdbcType=VARCHAR},
      </if>
      <if test="record.FPLX != null">
        FPLX = #{record.FPLX,jdbcType=VARCHAR},
      </if>
      <if test="record.KPZT != null">
        KPZT = #{record.KPZT,jdbcType=VARCHAR},
      </if>
      <if test="record.FPZT != null">
        FPZT = #{record.FPZT,jdbcType=VARCHAR},
      </if>
      <if test="record.YFPDM != null">
        YFPDM = #{record.YFPDM,jdbcType=VARCHAR},
      </if>
      <if test="record.YFPHM != null">
        YFPHM = #{record.YFPHM,jdbcType=VARCHAR},
      </if>
      <if test="record.GFGSBM != null">
        GFGSBM = #{record.GFGSBM,jdbcType=VARCHAR},
      </if>
      <if test="record.XFGSBM != null">
        XFGSBM = #{record.XFGSBM,jdbcType=VARCHAR},
      </if>
      <if test="record.SPBH != null">
        SPBH = #{record.SPBH,jdbcType=VARCHAR},
      </if>
      <if test="record.XTLY != null">
        XTLY = #{record.XTLY,jdbcType=VARCHAR},
      </if>
      <if test="record.CJSJ != null">
        CJSJ = #{record.CJSJ,jdbcType=VARCHAR},
      </if>
      <if test="record.HJJE != null">
        HJJE = #{record.HJJE,jdbcType=VARCHAR},
      </if>
      <if test="record.HJSE != null">
        HJSE = #{record.HJSE,jdbcType=VARCHAR},
      </if>
      <if test="record.JSHJ != null">
        JSHJ = #{record.JSHJ,jdbcType=VARCHAR},
      </if>
      <if test="record.XXBBH != null">
        XXBBH = #{record.XXBBH,jdbcType=VARCHAR},
      </if>
      <if test="record.DYZT != null">
        DYZT = #{record.DYZT,jdbcType=VARCHAR},
      </if>
      <if test="record.GDJLH != null">
        GDJLH = #{record.GDJLH,jdbcType=VARCHAR},
      </if>
      <if test="record.ZKJE != null">
        ZKJE = #{record.ZKJE,jdbcType=VARCHAR},
      </if>
      <if test="record.ZKSE != null">
        ZKSE = #{record.ZKSE,jdbcType=VARCHAR},
      </if>
      <if test="record.ZKJSHJ != null">
        ZKJSHJ = #{record.ZKJSHJ,jdbcType=VARCHAR},
      </if>
      <if test="record.SLV != null">
        SLV = #{record.SLV,jdbcType=VARCHAR},
      </if>
      <if test="record.QY != null">
        QY = #{record.QY,jdbcType=VARCHAR},
      </if>
      <if test="record.JSZT != null">
        JSZT = #{record.JSZT,jdbcType=VARCHAR},
      </if>
      <if test="record.KDGS != null">
        KDGS = #{record.KDGS,jdbcType=VARCHAR},
      </if>
      <if test="record.SHZT != null">
        SHZT = #{record.SHZT,jdbcType=VARCHAR},
      </if>
      <if test="record.THKPSQ != null">
        THKPSQ = #{record.THKPSQ,jdbcType=VARCHAR},
      </if>
      <if test="record.JSFJ != null">
        JSFJ = #{record.JSFJ,jdbcType=VARCHAR},
      </if>
      <if test="record.SQR != null">
        SQR = #{record.SQR,jdbcType=VARCHAR},
      </if>
      <if test="record.BSCDM != null">
        BSCDM = #{record.BSCDM,jdbcType=VARCHAR},
      </if>
      <if test="record.BSC != null">
        BSC = #{record.BSC,jdbcType=VARCHAR},
      </if>
      <if test="record.QYDM != null">
        QYDM = #{record.QYDM,jdbcType=VARCHAR},
      </if>
      <if test="record.SQBH != null">
        SQBH = #{record.SQBH,jdbcType=VARCHAR},
      </if>
      <if test="record.HTBH != null">
        HTBH = #{record.HTBH,jdbcType=VARCHAR},
      </if>
      <if test="record.SQRQ != null">
        SQRQ = #{record.SQRQ,jdbcType=VARCHAR},
      </if>
      <if test="record.YZRQ != null">
        YZRQ = #{record.YZRQ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
772 773 774 775 776 777 778 779 780 781 782 783
      </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_INVOICE
sherlock's avatar
sherlock committed
784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840
    set ID = #{record.ID,jdbcType=VARCHAR},
      FPQQLSH = #{record.FPQQLSH,jdbcType=VARCHAR},
      FPDM = #{record.FPDM,jdbcType=VARCHAR},
      FPHM = #{record.FPHM,jdbcType=VARCHAR},
      KPRQ = #{record.KPRQ,jdbcType=VARCHAR},
      FPLXDM = #{record.FPLXDM,jdbcType=VARCHAR},
      EWM = #{record.EWM,jdbcType=VARCHAR},
      JQBH = #{record.JQBH,jdbcType=VARCHAR},
      JYM = #{record.JYM,jdbcType=VARCHAR},
      GFMC = #{record.GFMC,jdbcType=VARCHAR},
      GFSH = #{record.GFSH,jdbcType=VARCHAR},
      GFDZDH = #{record.GFDZDH,jdbcType=VARCHAR},
      GFYHZH = #{record.GFYHZH,jdbcType=VARCHAR},
      XFSH = #{record.XFSH,jdbcType=VARCHAR},
      XFMC = #{record.XFMC,jdbcType=VARCHAR},
      XFDZDH = #{record.XFDZDH,jdbcType=VARCHAR},
      XFYHZH = #{record.XFYHZH,jdbcType=VARCHAR},
      BZ = #{record.BZ,jdbcType=VARCHAR},
      SKR = #{record.SKR,jdbcType=VARCHAR},
      FHR = #{record.FHR,jdbcType=VARCHAR},
      KPR = #{record.KPR,jdbcType=VARCHAR},
      KDDH = #{record.KDDH,jdbcType=VARCHAR},
      KDUUID = #{record.KDUUID,jdbcType=VARCHAR},
      FPLX = #{record.FPLX,jdbcType=VARCHAR},
      KPZT = #{record.KPZT,jdbcType=VARCHAR},
      FPZT = #{record.FPZT,jdbcType=VARCHAR},
      YFPDM = #{record.YFPDM,jdbcType=VARCHAR},
      YFPHM = #{record.YFPHM,jdbcType=VARCHAR},
      GFGSBM = #{record.GFGSBM,jdbcType=VARCHAR},
      XFGSBM = #{record.XFGSBM,jdbcType=VARCHAR},
      SPBH = #{record.SPBH,jdbcType=VARCHAR},
      XTLY = #{record.XTLY,jdbcType=VARCHAR},
      CJSJ = #{record.CJSJ,jdbcType=VARCHAR},
      HJJE = #{record.HJJE,jdbcType=VARCHAR},
      HJSE = #{record.HJSE,jdbcType=VARCHAR},
      JSHJ = #{record.JSHJ,jdbcType=VARCHAR},
      XXBBH = #{record.XXBBH,jdbcType=VARCHAR},
      DYZT = #{record.DYZT,jdbcType=VARCHAR},
      GDJLH = #{record.GDJLH,jdbcType=VARCHAR},
      ZKJE = #{record.ZKJE,jdbcType=VARCHAR},
      ZKSE = #{record.ZKSE,jdbcType=VARCHAR},
      ZKJSHJ = #{record.ZKJSHJ,jdbcType=VARCHAR},
      SLV = #{record.SLV,jdbcType=VARCHAR},
      QY = #{record.QY,jdbcType=VARCHAR},
      JSZT = #{record.JSZT,jdbcType=VARCHAR},
      KDGS = #{record.KDGS,jdbcType=VARCHAR},
      SHZT = #{record.SHZT,jdbcType=VARCHAR},
      THKPSQ = #{record.THKPSQ,jdbcType=VARCHAR},
      JSFJ = #{record.JSFJ,jdbcType=VARCHAR},
      SQR = #{record.SQR,jdbcType=VARCHAR},
      BSCDM = #{record.BSCDM,jdbcType=VARCHAR},
      BSC = #{record.BSC,jdbcType=VARCHAR},
      QYDM = #{record.QYDM,jdbcType=VARCHAR},
      SQBH = #{record.SQBH,jdbcType=VARCHAR},
      HTBH = #{record.HTBH,jdbcType=VARCHAR},
      SQRQ = #{record.SQRQ,jdbcType=VARCHAR},
      YZRQ = #{record.YZRQ,jdbcType=VARCHAR}
sherlock's avatar
sherlock committed
841 842 843 844
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
sherlock's avatar
sherlock committed
845
  <update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoice">
sherlock's avatar
sherlock committed
846 847 848 849 850 851
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update OUTPUT_INVOICE
    <set>
sherlock's avatar
sherlock committed
852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973
      <if test="FPDM != null">
        FPDM = #{FPDM,jdbcType=VARCHAR},
      </if>
      <if test="FPHM != null">
        FPHM = #{FPHM,jdbcType=VARCHAR},
      </if>
      <if test="KPRQ != null">
        KPRQ = #{KPRQ,jdbcType=VARCHAR},
      </if>
      <if test="FPLXDM != null">
        FPLXDM = #{FPLXDM,jdbcType=VARCHAR},
      </if>
      <if test="EWM != null">
        EWM = #{EWM,jdbcType=VARCHAR},
      </if>
      <if test="JQBH != null">
        JQBH = #{JQBH,jdbcType=VARCHAR},
      </if>
      <if test="JYM != null">
        JYM = #{JYM,jdbcType=VARCHAR},
      </if>
      <if test="GFMC != null">
        GFMC = #{GFMC,jdbcType=VARCHAR},
      </if>
      <if test="GFSH != null">
        GFSH = #{GFSH,jdbcType=VARCHAR},
      </if>
      <if test="GFDZDH != null">
        GFDZDH = #{GFDZDH,jdbcType=VARCHAR},
      </if>
      <if test="GFYHZH != null">
        GFYHZH = #{GFYHZH,jdbcType=VARCHAR},
      </if>
      <if test="XFSH != null">
        XFSH = #{XFSH,jdbcType=VARCHAR},
      </if>
      <if test="XFMC != null">
        XFMC = #{XFMC,jdbcType=VARCHAR},
      </if>
      <if test="XFDZDH != null">
        XFDZDH = #{XFDZDH,jdbcType=VARCHAR},
      </if>
      <if test="XFYHZH != null">
        XFYHZH = #{XFYHZH,jdbcType=VARCHAR},
      </if>
      <if test="BZ != null">
        BZ = #{BZ,jdbcType=VARCHAR},
      </if>
      <if test="SKR != null">
        SKR = #{SKR,jdbcType=VARCHAR},
      </if>
      <if test="FHR != null">
        FHR = #{FHR,jdbcType=VARCHAR},
      </if>
      <if test="KPR != null">
        KPR = #{KPR,jdbcType=VARCHAR},
      </if>
      <if test="KDDH != null">
        KDDH = #{KDDH,jdbcType=VARCHAR},
      </if>
      <if test="KDUUID != null">
        KDUUID = #{KDUUID,jdbcType=VARCHAR},
      </if>
      <if test="FPLX != null">
        FPLX = #{FPLX,jdbcType=VARCHAR},
      </if>
      <if test="KPZT != null">
        KPZT = #{KPZT,jdbcType=VARCHAR},
      </if>
      <if test="FPZT != null">
        FPZT = #{FPZT,jdbcType=VARCHAR},
      </if>
      <if test="YFPDM != null">
        YFPDM = #{YFPDM,jdbcType=VARCHAR},
      </if>
      <if test="YFPHM != null">
        YFPHM = #{YFPHM,jdbcType=VARCHAR},
      </if>
      <if test="GFGSBM != null">
        GFGSBM = #{GFGSBM,jdbcType=VARCHAR},
      </if>
      <if test="XFGSBM != null">
        XFGSBM = #{XFGSBM,jdbcType=VARCHAR},
      </if>
      <if test="SPBH != null">
        SPBH = #{SPBH,jdbcType=VARCHAR},
      </if>
      <if test="XTLY != null">
        XTLY = #{XTLY,jdbcType=VARCHAR},
      </if>
      <if test="CJSJ != null">
        CJSJ = #{CJSJ,jdbcType=VARCHAR},
      </if>
      <if test="HJJE != null">
        HJJE = #{HJJE,jdbcType=VARCHAR},
      </if>
      <if test="HJSE != null">
        HJSE = #{HJSE,jdbcType=VARCHAR},
      </if>
      <if test="JSHJ != null">
        JSHJ = #{JSHJ,jdbcType=VARCHAR},
      </if>
      <if test="XXBBH != null">
        XXBBH = #{XXBBH,jdbcType=VARCHAR},
      </if>
      <if test="DYZT != null">
        DYZT = #{DYZT,jdbcType=VARCHAR},
      </if>
      <if test="GDJLH != null">
        GDJLH = #{GDJLH,jdbcType=VARCHAR},
      </if>
      <if test="ZKJE != null">
        ZKJE = #{ZKJE,jdbcType=VARCHAR},
      </if>
      <if test="ZKSE != null">
        ZKSE = #{ZKSE,jdbcType=VARCHAR},
      </if>
      <if test="ZKJSHJ != null">
        ZKJSHJ = #{ZKJSHJ,jdbcType=VARCHAR},
      </if>
      <if test="SLV != null">
        SLV = #{SLV,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
974
      </if>
sherlock's avatar
sherlock committed
975 976
      <if test="QY != null">
        QY = #{QY,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
977
      </if>
sherlock's avatar
sherlock committed
978 979
      <if test="JSZT != null">
        JSZT = #{JSZT,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
980
      </if>
sherlock's avatar
sherlock committed
981 982
      <if test="KDGS != null">
        KDGS = #{KDGS,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
983
      </if>
sherlock's avatar
sherlock committed
984 985
      <if test="SHZT != null">
        SHZT = #{SHZT,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
986
      </if>
sherlock's avatar
sherlock committed
987 988
      <if test="THKPSQ != null">
        THKPSQ = #{THKPSQ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
989
      </if>
sherlock's avatar
sherlock committed
990 991
      <if test="JSFJ != null">
        JSFJ = #{JSFJ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
992
      </if>
sherlock's avatar
sherlock committed
993 994
      <if test="SQR != null">
        SQR = #{SQR,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
995
      </if>
sherlock's avatar
sherlock committed
996 997
      <if test="BSCDM != null">
        BSCDM = #{BSCDM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
998
      </if>
sherlock's avatar
sherlock committed
999 1000
      <if test="BSC != null">
        BSC = #{BSC,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
1001
      </if>
sherlock's avatar
sherlock committed
1002 1003
      <if test="QYDM != null">
        QYDM = #{QYDM,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
1004
      </if>
sherlock's avatar
sherlock committed
1005 1006
      <if test="SQBH != null">
        SQBH = #{SQBH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
1007
      </if>
sherlock's avatar
sherlock committed
1008 1009
      <if test="HTBH != null">
        HTBH = #{HTBH,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
1010
      </if>
sherlock's avatar
sherlock committed
1011 1012
      <if test="SQRQ != null">
        SQRQ = #{SQRQ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
1013
      </if>
sherlock's avatar
sherlock committed
1014 1015
      <if test="YZRQ != null">
        YZRQ = #{YZRQ,jdbcType=VARCHAR},
sherlock's avatar
sherlock committed
1016 1017
      </if>
    </set>
sherlock's avatar
sherlock committed
1018 1019
    where ID = #{ID,jdbcType=VARCHAR}
      and FPQQLSH = #{FPQQLSH,jdbcType=VARCHAR}
sherlock's avatar
sherlock committed
1020
  </update>
sherlock's avatar
sherlock committed
1021
  <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoice">
sherlock's avatar
sherlock committed
1022 1023 1024 1025 1026
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
    update OUTPUT_INVOICE
sherlock's avatar
sherlock committed
1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083
    set FPDM = #{FPDM,jdbcType=VARCHAR},
      FPHM = #{FPHM,jdbcType=VARCHAR},
      KPRQ = #{KPRQ,jdbcType=VARCHAR},
      FPLXDM = #{FPLXDM,jdbcType=VARCHAR},
      EWM = #{EWM,jdbcType=VARCHAR},
      JQBH = #{JQBH,jdbcType=VARCHAR},
      JYM = #{JYM,jdbcType=VARCHAR},
      GFMC = #{GFMC,jdbcType=VARCHAR},
      GFSH = #{GFSH,jdbcType=VARCHAR},
      GFDZDH = #{GFDZDH,jdbcType=VARCHAR},
      GFYHZH = #{GFYHZH,jdbcType=VARCHAR},
      XFSH = #{XFSH,jdbcType=VARCHAR},
      XFMC = #{XFMC,jdbcType=VARCHAR},
      XFDZDH = #{XFDZDH,jdbcType=VARCHAR},
      XFYHZH = #{XFYHZH,jdbcType=VARCHAR},
      BZ = #{BZ,jdbcType=VARCHAR},
      SKR = #{SKR,jdbcType=VARCHAR},
      FHR = #{FHR,jdbcType=VARCHAR},
      KPR = #{KPR,jdbcType=VARCHAR},
      KDDH = #{KDDH,jdbcType=VARCHAR},
      KDUUID = #{KDUUID,jdbcType=VARCHAR},
      FPLX = #{FPLX,jdbcType=VARCHAR},
      KPZT = #{KPZT,jdbcType=VARCHAR},
      FPZT = #{FPZT,jdbcType=VARCHAR},
      YFPDM = #{YFPDM,jdbcType=VARCHAR},
      YFPHM = #{YFPHM,jdbcType=VARCHAR},
      GFGSBM = #{GFGSBM,jdbcType=VARCHAR},
      XFGSBM = #{XFGSBM,jdbcType=VARCHAR},
      SPBH = #{SPBH,jdbcType=VARCHAR},
      XTLY = #{XTLY,jdbcType=VARCHAR},
      CJSJ = #{CJSJ,jdbcType=VARCHAR},
      HJJE = #{HJJE,jdbcType=VARCHAR},
      HJSE = #{HJSE,jdbcType=VARCHAR},
      JSHJ = #{JSHJ,jdbcType=VARCHAR},
      XXBBH = #{XXBBH,jdbcType=VARCHAR},
      DYZT = #{DYZT,jdbcType=VARCHAR},
      GDJLH = #{GDJLH,jdbcType=VARCHAR},
      ZKJE = #{ZKJE,jdbcType=VARCHAR},
      ZKSE = #{ZKSE,jdbcType=VARCHAR},
      ZKJSHJ = #{ZKJSHJ,jdbcType=VARCHAR},
      SLV = #{SLV,jdbcType=VARCHAR},
      QY = #{QY,jdbcType=VARCHAR},
      JSZT = #{JSZT,jdbcType=VARCHAR},
      KDGS = #{KDGS,jdbcType=VARCHAR},
      SHZT = #{SHZT,jdbcType=VARCHAR},
      THKPSQ = #{THKPSQ,jdbcType=VARCHAR},
      JSFJ = #{JSFJ,jdbcType=VARCHAR},
      SQR = #{SQR,jdbcType=VARCHAR},
      BSCDM = #{BSCDM,jdbcType=VARCHAR},
      BSC = #{BSC,jdbcType=VARCHAR},
      QYDM = #{QYDM,jdbcType=VARCHAR},
      SQBH = #{SQBH,jdbcType=VARCHAR},
      HTBH = #{HTBH,jdbcType=VARCHAR},
      SQRQ = #{SQRQ,jdbcType=VARCHAR},
      YZRQ = #{YZRQ,jdbcType=VARCHAR}
    where ID = #{ID,jdbcType=VARCHAR}
      and FPQQLSH = #{FPQQLSH,jdbcType=VARCHAR}
sherlock's avatar
sherlock committed
1084
  </update>
sherlock's avatar
sherlock committed
1085
  <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.OutputInvoiceExample" resultMap="BaseResultMap">
sherlock's avatar
sherlock committed
1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103
    <!--
      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_INVOICE
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
</mapper>