Explorar o código

工程現場 接口修改

zhanghao hai 1 mes
pai
achega
4c2f236cb1

+ 3 - 9
src/main/java/com/project/zcustom/service/unit/impl/LargeProjectServiceImpl.java

@@ -194,7 +194,7 @@ public class LargeProjectServiceImpl extends ServiceImpl<LargeProjectMapper, Lar
     }
 
     public Map<String, Object> getProjectNumZ(){
-        List<String> appOrg = new ArrayList<>(Arrays.asList("1A003", "1B001", "1C001", "1D001", "1E001", "1F001", "1K001", "1L001", "1H001", "1M001", "1J001", "10001"));
+        List<String> appOrg = new ArrayList<>(Arrays.asList("1A003", "1B001", "1C001", "1D001", "1E001", "1F001", "1K001", "1L001", "1H001", "1M001", "1J001"));
         List<LargeProject> list = largeProjectMapper.getProjectNumZ(appOrg);
         Map<String, Object> map = new HashMap<>();
         List<Integer> list1 = new ArrayList<>();
@@ -211,14 +211,8 @@ public class LargeProjectServiceImpl extends ServiceImpl<LargeProjectMapper, Lar
                     }
                 }
             }
-            if (!app.equals("10001")){
-                list1.add(x);
-                list2.add(y);
-            }
-            else {
-                list1.set(0, list1.get(0) + x);
-                list2.set(0, list2.get(0) + y);
-            }
+            list1.add(x);
+            list2.add(y);
             map.put("list1", list1);
             map.put("list2", list2);
         }