From 37fce1a5a19d25453eb7481ce56eb71423e72af1 Mon Sep 17 00:00:00 2001 From: guoyuji <guoyujie@ng.com> Date: 星期四, 25 四月 2024 11:43:47 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/a1536384743/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