Browse Source

成本报表 表头数据

liuchaohui 2 years ago
parent
commit
a347f93252

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

@@ -187,6 +187,7 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
         SyCostAllocation syCostAllocation=new SyCostAllocation();
         //查询U8数据 表头
         List<SyCostAllocation>  list =  syCostAllocationMapper.queryByCostHead(plannum);
+        syCostAllocation = list.get(0);
 //        String sqlQueryhard = "SELECT     " +
 //                "  max(o.omCode) as planNum,max(c.cInvName) as poStyleNum,max(pe.cPersonName) as exportSales," +
 //                "  max(ss.cSOCode) as garmentContractno,max(de.cDepName) as department," +