修改mapper文件

release
yishiqihuasheng 2 years ago
parent e65e8347c7
commit 2d65eed996
  1. 3
      dxhy-erp/src/main/java/com/dxhy/erp/service/SNPushCheckRecordService.java
  2. 5
      dxhy-extend/src/main/resources/mapper/ExtInvoicePoolMapper.xml

@ -611,7 +611,8 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter {
wrapper.eq("uuid", reimburse.getUuid());
TDxInvoiceReimburse reimburse1 = tDxInvoiceReimburseService.getBaseMapper().selectOne(wrapper);
if (reimburse1 != null) {
insert = tDxInvoiceReimburseService.getBaseMapper().updateById(reimburse);
// insert = tDxInvoiceReimburseService.getBaseMapper().updateById(reimburse);
insert = tDxInvoiceReimburseService.getBaseMapper().update(reimburse,wrapper);
} else {
insert = tDxInvoiceReimburseService.getBaseMapper().insert(reimburse);
}

@ -160,6 +160,7 @@
DATE_FORMAT(t.payment_date,'%Y-%m') inAccountMonth,
t.payment_status inAccountStatus,
t.voucher_number voucherNo,
t.posting_time postingTime,
t.amortize_status amortizeStatus,
t.amortize_amount amortizeAmount,
t.remain_amortize_amount remainAmortizeAmount,
@ -169,6 +170,8 @@
t.scan_id scanId,
t.remark,
t.document_number documentNumber,
t.image_id imageId,
t.account_period accountPeriod,
DATE_FORMAT(t.collect_date,'%Y-%m-%d') collectDate,
t.collect_from collectFrom
from t_dx_record_invoice t
@ -350,7 +353,7 @@
<!-- <if test="imageId != null and imageId != '' and imageId != 'null' and imageId != '99'">-->
<!-- and t.image_id = #{imageId}-->
<!-- </if>-->
<if test="imageNumber != null and imageNumber != '' and imageId != 'null' and imageNumber != '99'">
<if test="imageNumber != null and imageNumber != '' and imageNumber != 'null' and imageNumber != '99'">
and image_id = #{imageNumber}
</if>
<!-- <if test="accountPeriod != null and accountPeriod != '' and accountPeriod != 'null' and accountPeriod != '99'">-->

Loading…
Cancel
Save