mapper文件修改

release
yishiqihuasheng 2 years ago
parent 428e495a62
commit 37219bb233
  1. 2
      dxhy-base/src/main/java/com/dxhy/base/controller/BaseInvoiceController.java
  2. 4
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -455,7 +455,7 @@ public class BaseInvoiceController extends AbstractController {
pramsMap.put("voucherNumber", map.get("voucherNumber")); pramsMap.put("voucherNumber", map.get("voucherNumber"));
pramsMap.put("snVoucherNumber", map.get("snVoucherNumber")); pramsMap.put("snVoucherNumber", map.get("snVoucherNumber"));
pramsMap.put("postingTime", map.get("postingTime")); pramsMap.put("postingTime", map.get("postingTime"));
pramsMap.put("imageId", map.get("imageId")); pramsMap.put("imageId", map.get("imageNumber"));
pramsMap.put("accountPeriod", map.get("accountPeriod")); pramsMap.put("accountPeriod", map.get("accountPeriod"));
String inAccountStatus = (String)map.get("inAccountStatus"); String inAccountStatus = (String)map.get("inAccountStatus");

@ -160,8 +160,8 @@
<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 t.sn_voucher_number = #{snVoucherNumber}
</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 postingTimeEnd != null and postingTimeEnd != '' and postingTimeEnd != 'null' and postingTimeEnd != '99'">
and t.postingTime = #{postingTime} 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}

Loading…
Cancel
Save