修改mapper文件

release
yishiqihuasheng 2 years ago
parent 82d8a663c4
commit 76e1dd3797
  1. 9
      dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml

@ -345,14 +345,15 @@
<!-- <if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'">--> <!-- <if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'">-->
<!-- and t.posting_time = #{postingTime}--> <!-- and t.posting_time = #{postingTime}-->
<!-- </if>--> <!-- </if>-->
<if test="postingTime != null and postingTime != '' and postingTime != 'null' and postingTime != '99'"> <if test="postingTimeStart != null and postingTimeStart != '' and postingTimeStart != 'null' and postingTimeStart != '99'
and posting_time = #{postingTime} postingTimeEnd != null and postingTimeEnd != '' and postingTimeEnd != 'null' and postingTimeEnd != '99'">
and posting_time between #{postingTimeStart} and #{postingTimeEnd}
</if> </if>
<!-- <if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'">--> <!-- <if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'">-->
<!-- and t.image_id = #{imageId}--> <!-- and t.image_id = #{imageId}-->
<!-- </if>--> <!-- </if>-->
<if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'"> <if test="imageNumber != null and imageNumber != '' and imageId != 'null' and imageNumber != '99'">
and image_id = #{imageId} 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 t.account_period = #{accountPeriod}-->

Loading…
Cancel
Save