From 2f640b1038fa331954f78ed1f4317212cf5bb34d Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期五, 07 六月 2024 16:56:06 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override --- north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java b/north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java index f0c1284..75c9eb4 100644 --- a/north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java +++ b/north-glass-erp/src/main/java/com/example/erp/service/pp/ProductionSchedulingService.java @@ -26,10 +26,10 @@ //鏈帓浜ф煡璇� public Map<String, Object> selectSchedulingSv(String selectTime1, String selectTime2, String orderId,String processes, Integer state, ProductionScheduling productionScheduling ) { Map<String, Object> map = new HashMap<>(); - if(orderId.equals("null")){ + if("null".equals(orderId)){ orderId=""; } - if (processes.equals("null")){ + if ("null".equals(processes)){ processes=""; } @@ -49,10 +49,10 @@ //棣栨鏌ヨ鎺掍骇鏁版嵁 public Map<String, Object> selectLastScheduling(String selectTime1, String selectTime2,String processes,String orderId,ProductionScheduling productionScheduling ) { Map<String, Object> map = new HashMap<>(); - if(orderId.equals("null")){ + if("null".equals(orderId)){ orderId=""; } - if (processes.equals("null")){ + if ("null".equals(processes)){ processes=""; } -- Gitblit v1.8.0