From fda672b4fd0ef3bd4f0759e5c58fdca8f243e550 Mon Sep 17 00:00:00 2001 From: 廖井涛 <2265517004@qq.com> Date: 星期五, 31 五月 2024 14:58:31 +0800 Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/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