Commit 72f57c0d authored by chenjiuping's avatar chenjiuping

自动核销功能,测试

parent 3952123c
...@@ -51,6 +51,7 @@ public class ReceiptAutoWriteOffJob implements JobHandler { ...@@ -51,6 +51,7 @@ public class ReceiptAutoWriteOffJob implements JobHandler {
try { try {
//判断当前收款单下的收款明细是不是全部是已核销并且核销比例要大于配置(params) //判断当前收款单下的收款明细是不是全部是已核销并且核销比例要大于配置(params)
Boolean result = receiptService.judgingProportion(receiptDO, paramArray[0]); Boolean result = receiptService.judgingProportion(receiptDO, paramArray[0]);
log.error("收款单判断{},{}", receiptDO.getReceiptNo(), result);
if (result) { if (result) {
receiptService.autoWriteOffReceipt(receiptDO, paramArray[1], adminUserRespDTO.getNickname()); receiptService.autoWriteOffReceipt(receiptDO, paramArray[1], adminUserRespDTO.getNickname());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment