Ver Fonte

feature 默认0

xiahan há 2 meses atrás
pai
commit
182a779b3c

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

@@ -290,6 +290,7 @@ public class SwBillManagementUnpaidServiceImpl extends ServiceImpl<SwBillManagem
             record.setId(paymentBatchId);
             record.setDatasource(DATASOURCEBALANCEDEDUCTION);
             record.setPaidin(BigDecimal.ZERO);
+            record.setDeleted("0");
             // 计算费用
             swBillingRecordService.calculateFees(unpaidDos, record, ownerInfo);
             transferAccountDo.getRecordDoList().add(record);
@@ -318,6 +319,7 @@ public class SwBillManagementUnpaidServiceImpl extends ServiceImpl<SwBillManagem
         SwBillingRecordDo record = swBillingRecordService.buildBaseBillingRecord(currentUser, ownerInfo);
         record.setId(SecurityUtil.getUUID());
         record.setDatasource("2");
+        record.setDeleted("0");
         record.setPaidin(BigDecimal.ZERO);
         BigDecimal zjm = zeroDueData.stream().map(SwBillManagementUnpaidDo::getFeewaiver).reduce(BigDecimal.ZERO, BigDecimal::add);
         BigDecimal yyj = zeroDueData.stream().map(SwBillManagementUnpaidDo::getOughttohavepaid).reduce(BigDecimal.ZERO, BigDecimal::add);

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

@@ -193,6 +193,7 @@ public class SwBillingRecordServiceImpl extends ServiceImpl<SwBillingRecordDao,
         SwBillingRecordDo billingRecordDo = buildBaseBillingRecord(currentUser, user);
         billingRecordDo.setId(SecurityUtil.getUUID());
         billingRecordDo.setDatasource(paymentRequestDTO.getDatasource());
+        billingRecordDo.setDeleted("0");
         billingRecordDo.setPaidin(paymentRequestDTO.getPaidin());
 
         // 计算费用

+ 1 - 0
zhsw-common/src/main/java/com/rongwei/zhsw/system/wechat/impl/PaymentRecordServiceImpl.java

@@ -222,6 +222,7 @@ public class PaymentRecordServiceImpl implements PaymentRecordService {
         swBillingRecordDo.setModifydate(now);
         swBillingRecordDo.setModifyuserid(openId);
         swBillingRecordDo.setModifyusername(openId);
+        swBillingRecordDo.setDeleted("0");
         // 暂不新增 通过微信支付回调函数进行新增
         // swBillingRecordDo.setWechatpayordernumber();
         // swBillingRecordDo.setPaymentstatus();