OutputVATInvoiceItemMapper.xml 17.7 KB
Newer Older
1 2
<?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">
3 4
<mapper namespace="pwc.taxtech.atms.vat.dao.OutputVatInvoiceItemMapper">
  <resultMap id="BaseResultMap" type="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
5 6 7 8
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
    <id column="ITEM_ID" jdbcType="VARCHAR" property="itemId" />
    <result column="INVOICE_ID" jdbcType="VARCHAR" property="invoiceId" />
    <result column="CODE_VERSION" jdbcType="VARCHAR" property="codeVersion" />
    <result column="PRODUCT_NAME" jdbcType="VARCHAR" property="productName" />
    <result column="DOCUMENT_NUM" jdbcType="VARCHAR" property="documentNum" />
    <result column="PRODUCT_STANDARD" jdbcType="VARCHAR" property="productStandard" />
    <result column="UNIT" jdbcType="VARCHAR" property="unit" />
    <result column="QUANTITY" jdbcType="DECIMAL" property="quantity" />
    <result column="UNIT_PRICE" jdbcType="FLOAT" property="unitPrice" />
    <result column="AMOUNT" jdbcType="DECIMAL" property="amount" />
    <result column="TAX_RATE" jdbcType="DECIMAL" property="taxRate" />
    <result column="TAX_AMOUNT" jdbcType="DECIMAL" property="taxAmount" />
    <result column="SEQ_NO" jdbcType="DECIMAL" property="seqNo" />
    <result column="TAX_CLASS_CODE" jdbcType="VARCHAR" property="taxClassCode" />
    <result column="CREATOR_ID" jdbcType="VARCHAR" property="creatorId" />
    <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
    <result column="PERIOD_ID" jdbcType="DECIMAL" property="periodId" />
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
  </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>
54
            </foreach>
55
          </trim>
56
        </if>
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
      </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>
89
        </if>
90 91 92 93 94 95 96 97
      </foreach>
    </where>
  </sql>
  <sql id="Base_Column_List">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
98 99 100
    ITEM_ID, INVOICE_ID, CODE_VERSION, PRODUCT_NAME, DOCUMENT_NUM, PRODUCT_STANDARD, 
    UNIT, QUANTITY, UNIT_PRICE, AMOUNT, TAX_RATE, TAX_AMOUNT, SEQ_NO, TAX_CLASS_CODE, 
    CREATOR_ID, CREATE_TIME, PERIOD_ID
101
  </sql>
102
  <select id="selectByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample" resultMap="BaseResultMap">
103 104 105 106 107 108 109 110 111
    <!--
      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" />
neo's avatar
neo committed
112
    from OUTPUT_VAT_INVOICE_ITEM
113 114 115 116 117 118 119 120 121 122 123 124 125 126
    <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" />
neo's avatar
neo committed
127 128
    from OUTPUT_VAT_INVOICE_ITEM
    where ITEM_ID = #{itemId,jdbcType=VARCHAR}
129 130 131 132 133 134
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
135 136
    delete from OUTPUT_VAT_INVOICE_ITEM
    where ITEM_ID = #{itemId,jdbcType=VARCHAR}
137
  </delete>
138
  <delete id="deleteByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample">
139 140 141 142
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
143
    delete from OUTPUT_VAT_INVOICE_ITEM
144 145 146 147
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
148
  <insert id="insert" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
149 150 151 152
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
153 154 155 156 157 158 159
    insert into OUTPUT_VAT_INVOICE_ITEM (ITEM_ID, INVOICE_ID, CODE_VERSION, 
      PRODUCT_NAME, DOCUMENT_NUM, PRODUCT_STANDARD, 
      UNIT, QUANTITY, UNIT_PRICE, 
      AMOUNT, TAX_RATE, TAX_AMOUNT, 
      SEQ_NO, TAX_CLASS_CODE, CREATOR_ID, 
      CREATE_TIME, PERIOD_ID)
    values (#{itemId,jdbcType=VARCHAR}, #{invoiceId,jdbcType=VARCHAR}, #{codeVersion,jdbcType=VARCHAR}, 
160
      #{productName,jdbcType=VARCHAR}, #{documentNum,jdbcType=VARCHAR}, #{productStandard,jdbcType=VARCHAR}, 
neo's avatar
neo committed
161
      #{unit,jdbcType=VARCHAR}, #{quantity,jdbcType=DECIMAL}, #{unitPrice,jdbcType=FLOAT}, 
162
      #{amount,jdbcType=DECIMAL}, #{taxRate,jdbcType=DECIMAL}, #{taxAmount,jdbcType=DECIMAL}, 
neo's avatar
neo committed
163 164
      #{seqNo,jdbcType=DECIMAL}, #{taxClassCode,jdbcType=VARCHAR}, #{creatorId,jdbcType=VARCHAR}, 
      #{createTime,jdbcType=TIMESTAMP}, #{periodId,jdbcType=DECIMAL})
165
  </insert>
166
  <insert id="insertSelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
167 168 169 170
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
171
    insert into OUTPUT_VAT_INVOICE_ITEM
172
    <trim prefix="(" suffix=")" suffixOverrides=",">
neo's avatar
neo committed
173 174
      <if test="itemId != null">
        ITEM_ID,
175
      </if>
neo's avatar
neo committed
176 177
      <if test="invoiceId != null">
        INVOICE_ID,
178 179
      </if>
      <if test="codeVersion != null">
neo's avatar
neo committed
180
        CODE_VERSION,
181 182
      </if>
      <if test="productName != null">
neo's avatar
neo committed
183
        PRODUCT_NAME,
184 185
      </if>
      <if test="documentNum != null">
neo's avatar
neo committed
186
        DOCUMENT_NUM,
187 188
      </if>
      <if test="productStandard != null">
neo's avatar
neo committed
189
        PRODUCT_STANDARD,
190 191
      </if>
      <if test="unit != null">
neo's avatar
neo committed
192
        UNIT,
193 194
      </if>
      <if test="quantity != null">
neo's avatar
neo committed
195
        QUANTITY,
196 197
      </if>
      <if test="unitPrice != null">
neo's avatar
neo committed
198
        UNIT_PRICE,
199 200
      </if>
      <if test="amount != null">
neo's avatar
neo committed
201
        AMOUNT,
202 203
      </if>
      <if test="taxRate != null">
neo's avatar
neo committed
204
        TAX_RATE,
205 206
      </if>
      <if test="taxAmount != null">
neo's avatar
neo committed
207
        TAX_AMOUNT,
208 209
      </if>
      <if test="seqNo != null">
neo's avatar
neo committed
210
        SEQ_NO,
211 212
      </if>
      <if test="taxClassCode != null">
neo's avatar
neo committed
213
        TAX_CLASS_CODE,
214
      </if>
neo's avatar
neo committed
215 216
      <if test="creatorId != null">
        CREATOR_ID,
217 218
      </if>
      <if test="createTime != null">
neo's avatar
neo committed
219
        CREATE_TIME,
220
      </if>
neo's avatar
neo committed
221 222
      <if test="periodId != null">
        PERIOD_ID,
223 224 225
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides=",">
neo's avatar
neo committed
226 227
      <if test="itemId != null">
        #{itemId,jdbcType=VARCHAR},
228
      </if>
neo's avatar
neo committed
229 230
      <if test="invoiceId != null">
        #{invoiceId,jdbcType=VARCHAR},
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247
      </if>
      <if test="codeVersion != null">
        #{codeVersion,jdbcType=VARCHAR},
      </if>
      <if test="productName != null">
        #{productName,jdbcType=VARCHAR},
      </if>
      <if test="documentNum != null">
        #{documentNum,jdbcType=VARCHAR},
      </if>
      <if test="productStandard != null">
        #{productStandard,jdbcType=VARCHAR},
      </if>
      <if test="unit != null">
        #{unit,jdbcType=VARCHAR},
      </if>
      <if test="quantity != null">
neo's avatar
neo committed
248
        #{quantity,jdbcType=DECIMAL},
249 250
      </if>
      <if test="unitPrice != null">
neo's avatar
neo committed
251
        #{unitPrice,jdbcType=FLOAT},
252 253 254 255 256 257 258 259 260 261 262
      </if>
      <if test="amount != null">
        #{amount,jdbcType=DECIMAL},
      </if>
      <if test="taxRate != null">
        #{taxRate,jdbcType=DECIMAL},
      </if>
      <if test="taxAmount != null">
        #{taxAmount,jdbcType=DECIMAL},
      </if>
      <if test="seqNo != null">
neo's avatar
neo committed
263
        #{seqNo,jdbcType=DECIMAL},
264 265 266 267
      </if>
      <if test="taxClassCode != null">
        #{taxClassCode,jdbcType=VARCHAR},
      </if>
neo's avatar
neo committed
268 269
      <if test="creatorId != null">
        #{creatorId,jdbcType=VARCHAR},
270 271 272 273
      </if>
      <if test="createTime != null">
        #{createTime,jdbcType=TIMESTAMP},
      </if>
neo's avatar
neo committed
274 275
      <if test="periodId != null">
        #{periodId,jdbcType=DECIMAL},
276 277 278
      </if>
    </trim>
  </insert>
279
  <select id="countByExample" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample" resultType="java.lang.Long">
280 281 282 283
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
284
    select count(*) from OUTPUT_VAT_INVOICE_ITEM
285 286 287 288 289 290 291 292 293
    <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.
    -->
neo's avatar
neo committed
294
    update OUTPUT_VAT_INVOICE_ITEM
295
    <set>
neo's avatar
neo committed
296 297
      <if test="record.itemId != null">
        ITEM_ID = #{record.itemId,jdbcType=VARCHAR},
298
      </if>
neo's avatar
neo committed
299 300
      <if test="record.invoiceId != null">
        INVOICE_ID = #{record.invoiceId,jdbcType=VARCHAR},
301 302
      </if>
      <if test="record.codeVersion != null">
neo's avatar
neo committed
303
        CODE_VERSION = #{record.codeVersion,jdbcType=VARCHAR},
304 305
      </if>
      <if test="record.productName != null">
neo's avatar
neo committed
306
        PRODUCT_NAME = #{record.productName,jdbcType=VARCHAR},
307 308
      </if>
      <if test="record.documentNum != null">
neo's avatar
neo committed
309
        DOCUMENT_NUM = #{record.documentNum,jdbcType=VARCHAR},
310 311
      </if>
      <if test="record.productStandard != null">
neo's avatar
neo committed
312
        PRODUCT_STANDARD = #{record.productStandard,jdbcType=VARCHAR},
313 314
      </if>
      <if test="record.unit != null">
neo's avatar
neo committed
315
        UNIT = #{record.unit,jdbcType=VARCHAR},
316 317
      </if>
      <if test="record.quantity != null">
neo's avatar
neo committed
318
        QUANTITY = #{record.quantity,jdbcType=DECIMAL},
319 320
      </if>
      <if test="record.unitPrice != null">
neo's avatar
neo committed
321
        UNIT_PRICE = #{record.unitPrice,jdbcType=FLOAT},
322 323
      </if>
      <if test="record.amount != null">
neo's avatar
neo committed
324
        AMOUNT = #{record.amount,jdbcType=DECIMAL},
325 326
      </if>
      <if test="record.taxRate != null">
neo's avatar
neo committed
327
        TAX_RATE = #{record.taxRate,jdbcType=DECIMAL},
328 329
      </if>
      <if test="record.taxAmount != null">
neo's avatar
neo committed
330
        TAX_AMOUNT = #{record.taxAmount,jdbcType=DECIMAL},
331 332
      </if>
      <if test="record.seqNo != null">
neo's avatar
neo committed
333
        SEQ_NO = #{record.seqNo,jdbcType=DECIMAL},
334 335
      </if>
      <if test="record.taxClassCode != null">
neo's avatar
neo committed
336
        TAX_CLASS_CODE = #{record.taxClassCode,jdbcType=VARCHAR},
337
      </if>
neo's avatar
neo committed
338 339
      <if test="record.creatorId != null">
        CREATOR_ID = #{record.creatorId,jdbcType=VARCHAR},
340 341
      </if>
      <if test="record.createTime != null">
neo's avatar
neo committed
342
        CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
343
      </if>
neo's avatar
neo committed
344 345
      <if test="record.periodId != null">
        PERIOD_ID = #{record.periodId,jdbcType=DECIMAL},
346 347 348 349 350 351 352 353 354 355 356
      </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.
    -->
neo's avatar
neo committed
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374
    update OUTPUT_VAT_INVOICE_ITEM
    set ITEM_ID = #{record.itemId,jdbcType=VARCHAR},
      INVOICE_ID = #{record.invoiceId,jdbcType=VARCHAR},
      CODE_VERSION = #{record.codeVersion,jdbcType=VARCHAR},
      PRODUCT_NAME = #{record.productName,jdbcType=VARCHAR},
      DOCUMENT_NUM = #{record.documentNum,jdbcType=VARCHAR},
      PRODUCT_STANDARD = #{record.productStandard,jdbcType=VARCHAR},
      UNIT = #{record.unit,jdbcType=VARCHAR},
      QUANTITY = #{record.quantity,jdbcType=DECIMAL},
      UNIT_PRICE = #{record.unitPrice,jdbcType=FLOAT},
      AMOUNT = #{record.amount,jdbcType=DECIMAL},
      TAX_RATE = #{record.taxRate,jdbcType=DECIMAL},
      TAX_AMOUNT = #{record.taxAmount,jdbcType=DECIMAL},
      SEQ_NO = #{record.seqNo,jdbcType=DECIMAL},
      TAX_CLASS_CODE = #{record.taxClassCode,jdbcType=VARCHAR},
      CREATOR_ID = #{record.creatorId,jdbcType=VARCHAR},
      CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
      PERIOD_ID = #{record.periodId,jdbcType=DECIMAL}
375 376 377 378
    <if test="_parameter != null">
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
379
  <update id="updateByPrimaryKeySelective" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
380 381 382 383
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
384
    update OUTPUT_VAT_INVOICE_ITEM
385
    <set>
neo's avatar
neo committed
386 387
      <if test="invoiceId != null">
        INVOICE_ID = #{invoiceId,jdbcType=VARCHAR},
388 389
      </if>
      <if test="codeVersion != null">
neo's avatar
neo committed
390
        CODE_VERSION = #{codeVersion,jdbcType=VARCHAR},
391 392
      </if>
      <if test="productName != null">
neo's avatar
neo committed
393
        PRODUCT_NAME = #{productName,jdbcType=VARCHAR},
394 395
      </if>
      <if test="documentNum != null">
neo's avatar
neo committed
396
        DOCUMENT_NUM = #{documentNum,jdbcType=VARCHAR},
397 398
      </if>
      <if test="productStandard != null">
neo's avatar
neo committed
399
        PRODUCT_STANDARD = #{productStandard,jdbcType=VARCHAR},
400 401
      </if>
      <if test="unit != null">
neo's avatar
neo committed
402
        UNIT = #{unit,jdbcType=VARCHAR},
403 404
      </if>
      <if test="quantity != null">
neo's avatar
neo committed
405
        QUANTITY = #{quantity,jdbcType=DECIMAL},
406 407
      </if>
      <if test="unitPrice != null">
neo's avatar
neo committed
408
        UNIT_PRICE = #{unitPrice,jdbcType=FLOAT},
409 410
      </if>
      <if test="amount != null">
neo's avatar
neo committed
411
        AMOUNT = #{amount,jdbcType=DECIMAL},
412 413
      </if>
      <if test="taxRate != null">
neo's avatar
neo committed
414
        TAX_RATE = #{taxRate,jdbcType=DECIMAL},
415 416
      </if>
      <if test="taxAmount != null">
neo's avatar
neo committed
417
        TAX_AMOUNT = #{taxAmount,jdbcType=DECIMAL},
418 419
      </if>
      <if test="seqNo != null">
neo's avatar
neo committed
420
        SEQ_NO = #{seqNo,jdbcType=DECIMAL},
421 422
      </if>
      <if test="taxClassCode != null">
neo's avatar
neo committed
423
        TAX_CLASS_CODE = #{taxClassCode,jdbcType=VARCHAR},
424
      </if>
neo's avatar
neo committed
425 426
      <if test="creatorId != null">
        CREATOR_ID = #{creatorId,jdbcType=VARCHAR},
427 428
      </if>
      <if test="createTime != null">
neo's avatar
neo committed
429
        CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
430
      </if>
neo's avatar
neo committed
431 432
      <if test="periodId != null">
        PERIOD_ID = #{periodId,jdbcType=DECIMAL},
433 434
      </if>
    </set>
neo's avatar
neo committed
435
    where ITEM_ID = #{itemId,jdbcType=VARCHAR}
436
  </update>
437
  <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItem">
438 439 440 441
    <!--
      WARNING - @mbg.generated
      This element is automatically generated by MyBatis Generator, do not modify.
    -->
neo's avatar
neo committed
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459
    update OUTPUT_VAT_INVOICE_ITEM
    set INVOICE_ID = #{invoiceId,jdbcType=VARCHAR},
      CODE_VERSION = #{codeVersion,jdbcType=VARCHAR},
      PRODUCT_NAME = #{productName,jdbcType=VARCHAR},
      DOCUMENT_NUM = #{documentNum,jdbcType=VARCHAR},
      PRODUCT_STANDARD = #{productStandard,jdbcType=VARCHAR},
      UNIT = #{unit,jdbcType=VARCHAR},
      QUANTITY = #{quantity,jdbcType=DECIMAL},
      UNIT_PRICE = #{unitPrice,jdbcType=FLOAT},
      AMOUNT = #{amount,jdbcType=DECIMAL},
      TAX_RATE = #{taxRate,jdbcType=DECIMAL},
      TAX_AMOUNT = #{taxAmount,jdbcType=DECIMAL},
      SEQ_NO = #{seqNo,jdbcType=DECIMAL},
      TAX_CLASS_CODE = #{taxClassCode,jdbcType=VARCHAR},
      CREATOR_ID = #{creatorId,jdbcType=VARCHAR},
      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
      PERIOD_ID = #{periodId,jdbcType=DECIMAL}
    where ITEM_ID = #{itemId,jdbcType=VARCHAR}
460
  </update>
461
  <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.vat.entity.OutputVatInvoiceItemExample" resultMap="BaseResultMap">
462 463 464 465 466 467 468 469 470
    <!--
      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" />
neo's avatar
neo committed
471
    from OUTPUT_VAT_INVOICE_ITEM
472 473 474 475 476 477 478
    <if test="_parameter != null">
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null">
      order by ${orderByClause}
    </if>
  </select>
479
</mapper>