From 69c4fd1134f598dd2a7d46b5d25a541fd566b275 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期五, 09 十二月 2022 14:17:09 +0800 Subject: [PATCH] # --- src/main/java/com/zy/common/service/erp/task/ErpScheduler.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/common/service/erp/task/ErpScheduler.java b/src/main/java/com/zy/common/service/erp/task/ErpScheduler.java index dc5b068..1ad54b9 100644 --- a/src/main/java/com/zy/common/service/erp/task/ErpScheduler.java +++ b/src/main/java/com/zy/common/service/erp/task/ErpScheduler.java @@ -170,7 +170,7 @@ // erp 鍚屾 int state = 1; - if (!erpService.updateStateForVoucher(voucher.getVoucherID(), 1)) { + if (!erpService.updateStateForVoucher(voucher.getVoucherID(), state)) { throw new CoolException(voucher.getVoucherID() + "璁㈠崟淇敼State涓�"+state+"澶辫触"); } else { erpService.updateTimeForVoucherDetail(voucher.getVoucherID()); -- Gitblit v1.9.1