提交代码

yy_dev
胡锐 1 year ago
parent 543848d59a
commit 0bd991709b
  1. 5
      cweb/src/main/java/com/cweb/controller/BsMerLedgerController.java

@ -88,11 +88,12 @@ public class BsMerLedgerController {
} }
merLedger.setReceiverStatus(false); merLedger.setReceiverStatus(false);
} else { } else {
if (!merLedger.getStatus().equals(MerLedgerStatusEnum.status3.getNumber())) { if (merLedger.getStatus().equals(MerLedgerStatusEnum.status1.getNumber())
|| merLedger.getStatus().equals(MerLedgerStatusEnum.status2.getNumber())) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "暂时无法修改"); throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "暂时无法修改");
} }
merLedger = new BsMerLedger();
merLedger.setMerId(merPlatform.getMerId()); merLedger.setMerId(merPlatform.getMerId());
merLedger.setMerName(mer.getMerName());
merLedger.setPlatformType(merPlatform.getPlatformType()); merLedger.setPlatformType(merPlatform.getPlatformType());
merLedger.setPlatformNo(merPlatform.getPlatformNo()); merLedger.setPlatformNo(merPlatform.getPlatformNo());
merLedger.setCupNo(merPlatform.getCupNo()); merLedger.setCupNo(merPlatform.getCupNo());

Loading…
Cancel
Save