|
|
@ -99,7 +99,7 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
}, pool); |
|
|
|
CompletableFuture<Void> allocation = CompletableFuture.runAsync(() -> { |
|
|
|
try { |
|
|
|
allocationCount.set(allocationBillMapper.getAllocationCount("", "")); |
|
|
|
allocationCount.set(allocationBillMapper.getAllocationCount("", "", "")); |
|
|
|
} catch (Exception e) { |
|
|
|
log.error("异常信息:" + e); |
|
|
|
} |
|
|
@ -302,6 +302,7 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
bill.setCode(IdUtil.getStringId()); |
|
|
|
bill.setTjkwbm(bill.getKwbm()); |
|
|
|
bill.setCzsl(BigDecimal.ZERO); |
|
|
|
bill.setCzsl(BigDecimal.ZERO); |
|
|
|
bill.setKcsl(BigDecimal.ZERO); |
|
|
|
if (bill.getSl().compareTo(BigDecimal.ZERO) < 0) { |
|
|
|
bill.setSl(bill.getSl().abs()); |
|
|
@ -621,7 +622,7 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
msgDto = wmsToEasService.sendWebService(billJson); |
|
|
|
if (msgDto != null) { |
|
|
|
if (msgDto.getResult() == 0) { |
|
|
|
msg = msgDto.getMsg(); |
|
|
|
msg = "审核失败:"+msgDto.getMsg(); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
@ -630,7 +631,7 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
srmMsgDto = wmsToSrmService.sendWebPostData(billJson, 1); |
|
|
|
if (srmMsgDto != null) { |
|
|
|
if ("false".equals(srmMsgDto.getSuccess())) { |
|
|
|
msg = srmMsgDto.getMessage(); |
|
|
|
msg = "审核失败:"+srmMsgDto.getMessage(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|