Ver código fonte

[CODE]: 优化首页数据查询

maxianghua 4 anos atrás
pai
commit
a5d5d9a004

+ 0 - 10
ruoyi-warehouse/src/main/java/com/ruoyi/reportManagement/service/impl/TWhgenlegServiceImpl.java

@@ -183,16 +183,6 @@ public class TWhgenlegServiceImpl implements ITWhgenlegService {
                 m.put("fGrossweightD",calculation2(fGrossweightblc,"1000"));
             }
             map.put("corpsListWhouse", corpsListWhouse);
-            // 仓库
-            for(Map<String, Object> m : whouseList){
-                String fGrossweightblc = null;
-                for (String k : m.keySet()){
-                    if(k.equals("fGrossweightD")){
-                        fGrossweightblc=  m.get(k).toString();
-                    }
-                }
-                m.put("fGrossweightD",new BigDecimal(fGrossweightblc).setScale(2,BigDecimal.ROUND_HALF_UP) );
-            }
         }
         map.put("whouseList", whouseList);
         return map;