From d95887dbdd45a6ef1038760e83344f3fcecbdd7b Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 07 三月 2025 10:32:11 +0800
Subject: [PATCH] 修改流程卡保存验证时,数量获取不正确问题
---
north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java
index fd6fd90..2673d3f 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportingWorkService.java
@@ -250,7 +250,7 @@
reportingWork.setReportingWorkTime(localDateTime);
}
//鏄惁绾胯ˉ 1鐜拌ˉ 0鏈幇琛�
- int isPatch = (int) reportingWorkJson.get("isPatch");
+ int isPatch = (reportingWorkJson.get("isPatch") != null) ? (int) reportingWorkJson.get("isPatch") : 0;
reportingWork.setNextProcess(orderProcessDetailMapper.selectNextProcess(processIdStr[0],processIdStr[1],reportingWork.getThisProcess()));
//涓昏〃鎻掑叆
--
Gitblit v1.8.0