소스 검색

成本报表 表头数据

liuchaohui 2 년 전
부모
커밋
a347f93252
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/cost/service/impl/SyCostAllocationServiceImpl.java

+ 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," +