From 7742e8433ad6eb4488298384ee42dc9f8940b7d0 Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期一, 08 四月 2024 11:08:37 +0800 Subject: [PATCH] 修改发现的问题 --- 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