Browse Source

成本报表 整理注释

liuchaohui 2 years ago
parent
commit
4a1bfe3d5d

+ 2 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/cost/service/impl/SyCostAllocationServiceImpl.java

@@ -220,7 +220,7 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
         }
 
 
-        //查询U8数据 
+        //查询U8数据 
         String sqlIngredient = "SELECT cInvName as goodsName,sum(riQuantity) as usageQuantity,sum(biQuantity) as planQuantity,processUnit FROM (" +
                 "select c.cInvName ,sum(r.iQuantity) as riQuantity,r.cBatch ,b.cSource,b.cPOID,sum(b.iQuantity) as biQuantity,v.cVenName as processUnit" +
                 " FROM rdrecords11  r" +
@@ -244,6 +244,7 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
             list4.add(Ingredient);
         }
 
+        //数据整合
         List<JSONObject> processUnitList=new ArrayList<>();//子表数据_加工单位集合
         //获取主表加工单位,拆分获取对应数据
         String[] processUnit=syCostAllocation.getProcessUnit().split(",");