提交代码

yy_dev
胡锐 1 year ago
parent 3ad6d027dc
commit 007ae38b38
  1. 4
      cweb/src/main/java/com/cweb/notify/LaKaLaController.java
  2. 8
      schedule/src/main/java/com/hfkj/schedule/Merchant.java
  3. 2
      service/src/main/java/com/hfkj/service/impl/BsMerSettleAcctApplyServiceImpl.java

@ -146,10 +146,6 @@ public class LaKaLaController {
merLedger.setRejectReason(respData.getString("remark")); merLedger.setRejectReason(respData.getString("remark"));
} }
merLedgerService.editMerLedger(merLedger); merLedgerService.editMerLedger(merLedger);
if (merLedger.getStatus().equals(MerLedgerStatusEnum.status1.getNumber())) {
laKaLaLedgerService.applyLedgerReceiver(merLedger.getMerId());
}
} }
} }

@ -256,7 +256,10 @@ public class Merchant {
} }
BsMerPlatformNo merPlatform = merPlatformNoService.getPlatformNo(mer.getId(), PlatformTypeEnum.type1); BsMerPlatformNo merPlatform = merPlatformNoService.getPlatformNo(mer.getId(), PlatformTypeEnum.type1);
BsMerLedger merLedger = new BsMerLedger();
BsMerLedger merLedger = merLedgerService.getMerLedger(mer.getId(), PlatformTypeEnum.type1);
if (merLedger == null) {
merLedger = new BsMerLedger();
merLedger.setMerId(mer.getId()); merLedger.setMerId(mer.getId());
merLedger.setMerName(mer.getMerName()); merLedger.setMerName(mer.getMerName());
merLedger.setPlatformType(merPlatform.getPlatformType()); merLedger.setPlatformType(merPlatform.getPlatformType());
@ -267,7 +270,7 @@ public class Merchant {
merLedgerService.editMerLedger(merLedger); merLedgerService.editMerLedger(merLedger);
laKaLaLedgerService.applyLedgerReceiver(merLedger.getMerId()); laKaLaLedgerService.applyLedgerReceiver(merLedger.getMerId());
}
} else if (customer.getString("customerStatus").equals("REJECT")) { } else if (customer.getString("customerStatus").equals("REJECT")) {
contractRecord.setStatus(3); contractRecord.setStatus(3);
merContractRecordService.updateRecord(contractRecord); merContractRecordService.updateRecord(contractRecord);
@ -312,7 +315,6 @@ public class Merchant {
if (settle != null) { if (settle != null) {
settle.setStatus(0); settle.setStatus(0);
merSettleAcctService.editMerSettleAcct(settle); merSettleAcctService.editMerSettleAcct(settle);
} }
BsMerSettleAcct newSettle = new BsMerSettleAcct(); BsMerSettleAcct newSettle = new BsMerSettleAcct();

@ -130,7 +130,7 @@ public class BsMerSettleAcctApplyServiceImpl implements BsMerSettleAcctApplyServ
} }
if (MapUtils.getInteger(param, "status") != null) { if (MapUtils.getInteger(param, "status") != null) {
criteria.andApplyNoIsNotNull(); criteria.andStatusEqualTo(MapUtils.getInteger(param, "status"));
} }
example.setOrderByClause("create_time desc"); example.setOrderByClause("create_time desc");

Loading…
Cancel
Save