修改mapper文件

release
yishiqihuasheng 2 years ago
parent 0b7070db8f
commit 7e290e2be5
  1. 15
      dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml

@ -298,22 +298,22 @@
AND qs_type = #{qsfs} AND qs_type = #{qsfs}
</if> </if>
<if test="postingTimeEnd != null and postingTimeEnd != '' and postingTimeEnd != 'null' and postingTimeEnd != '99' and postingTimeStart != null and postingTimeStart != '' and postingTimeStart != 'null' and postingTimeStart != '99'"> <if test="postingTimeEnd != null and postingTimeEnd != '' and postingTimeEnd != 'null' and postingTimeEnd != '99' and postingTimeStart != null and postingTimeStart != '' and postingTimeStart != 'null' and postingTimeStart != '99'">
and t.posting_time between #{postingTimeStart} and #{postingTimeEnd} and posting_time between #{postingTimeStart} and #{postingTimeEnd}
</if> </if>
<if test="imageNumber != null and imageNumber != '' and imageNumber != 'null' and imageNumber != '99'"> <if test="imageNumber != null and imageNumber != '' and imageNumber != 'null' and imageNumber != '99'">
and t.image_id = #{imageNumber} and image_id = #{imageNumber}
</if> </if>
<if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'"> <if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'">
and t.account_period = #{accountPeriod} and account_period = #{accountPeriod}
</if> </if>
<if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99'"> <if test="inAccountStatus != null and inAccountStatus != '' and inAccountStatus != 'null' and inAccountStatus != '99'">
and t.inaccount_status = #{inAccountStatus} and inaccount_status = #{inAccountStatus}
</if> </if>
<if test="bzdh != null and bzdh != '' and bzdh != 'null' and badh != '99'"> <if test="bzdh != null and bzdh != '' and bzdh != 'null' and badh != '99'">
and t.bzdh = #{bzdh} and bzdh = #{bzdh}
</if> </if>
<if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'"> <if test="snVoucherNumber != null and snVoucherNumber != '' and snVoucherNumber != 'null' and snVoucherNumber != '99'">
and t.sn_voucher_number = #{snVoucherNumber} and sn_voucher_number = #{snVoucherNumber}
</if> </if>
GROUP BY uuid having min(create_date) ) t GROUP BY uuid having min(create_date) ) t
</select> </select>
@ -336,9 +336,8 @@
scan_id scanId, scan_id scanId,
business_document_number businessDocumentNumber, business_document_number businessDocumentNumber,
account_period accountPeriod, account_period accountPeriod,
image_id imageId, image_id imageNumber,
posting_time postingTime, posting_time postingTime,
sn_voucher_number voucherNo,
inaccount_status inAccountStatus, inaccount_status inAccountStatus,
bzdh bzdh, bzdh bzdh,
sn_voucher_number snVoucherNumber sn_voucher_number snVoucherNumber

Loading…
Cancel
Save