2
0

2 Incheckningar 9bb2777090 ... cfc2ee05a2

Upphovsman SHA1 Meddelande Datum
  huangpeng cfc2ee05a2 Merge remote-tracking branch 'origin/master' 4 månader sedan
  huangpeng e74d54626d 生成缴费记录时候,添加缴费时间 4 månader sedan

+ 2 - 0
zhsw-common/src/main/java/com/rongwei/zhsw/system/service/impl/SwBillManagementUnpaidServiceImpl.java

@@ -297,6 +297,7 @@ public class SwBillManagementUnpaidServiceImpl extends ServiceImpl<SwBillManagem
                 paid = new SwBillManagementPaidDo();
                 BeanUtils.copyProperties(zeroDueDatum, paid);
                 paid.setStatus(PAIDINSTATUS);
+                paid.setPaymentdate(new Date());
                 paid.setPaymentrecordid(record.getId());
                 ZHSWCommonUtils.initModelGeneralParameters(paid, null);
                 transferAccountDo.getPaidDoList().add(paid);
@@ -327,6 +328,7 @@ public class SwBillManagementUnpaidServiceImpl extends ServiceImpl<SwBillManagem
                 paid = new SwBillManagementPaidDo();
                 BeanUtils.copyProperties(unpaidDo, paid);
                 paid.setStatus(PAIDINSTATUS);
+                paid.setPaymentdate(new Date());
                 paid.setPaymentrecordid(paymentBatchId);
                 ZHSWCommonUtils.initModelGeneralParameters(paid, null);
                 transferAccountDo.getPaidDoList().add(paid);

+ 2 - 1
zhsw-common/src/main/java/com/rongwei/zhsw/system/service/impl/SwBillingRecordServiceImpl.java

@@ -244,7 +244,8 @@ public class SwBillingRecordServiceImpl extends ServiceImpl<SwBillingRecordDao,
             // 新生成的 已缴费账单
             paid.setStatus(PAIDINSTATUS)
                     //缴费记录ID
-                    .setPaymentrecordid(add.getId());
+                    .setPaymentrecordid(add.getId())
+                            .setPaymentdate(new Date());
             ZHSWCommonUtils.initModelGeneralParameters(paid, null);
             paidList.add(paid);
         }