From f68809ce9f7755daaafe9e451c80e91859cc5313 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 25 十一月 2025 14:37:06 +0800
Subject: [PATCH] 提交

---
 north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java
index 9049abc..76a1175 100644
--- a/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java
+++ b/north-glass-erp/src/main/java/com/example/erp/service/pp/ReportService.java
@@ -972,14 +972,14 @@
         }
         String inputVal= (String) dates.get("inputVal");
         String project= (String) dates.get("project");
-        String terminationVals= (String) dates.get("terminationVals");
-        if ("null".equals(inputVal)) {
+        String terminationVals= dates.get("terminationVals").toString();
+        if (inputVal==null) {
             inputVal = "";
         }
-        if ("null".equals(project)) {
+        if (project==null) {
             project = "";
         }
-        if ("null".equals(terminationVals)) {
+        if (terminationVals==null) {
             terminationVals = "";
         }
         List<WorkInProgressDTO> dataList1  =reportMapper.exportWorkInProgressMp(process,inputVal,project,terminationVals);
@@ -1243,14 +1243,14 @@
         }
         String inputVal= (String) dates.get("inputVal");
         String project= (String) dates.get("project");
-        String terminationVals= (String) dates.get("terminationVals");
-        if ("null".equals(inputVal)) {
+        String terminationVals= dates.get("terminationVals").toString();
+        if (inputVal==null) {
             inputVal = "";
         }
-        if ("null".equals(project)) {
+        if (project==null) {
             project = "";
         }
-        if ("null".equals(terminationVals)) {
+        if (terminationVals==null) {
             terminationVals = "";
         }
 

--
Gitblit v1.8.0