Переглянути джерело

成本报表 发运明细日期数量

liuchaohui 2 роки тому
батько
коміт
a6317b162f

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

@@ -248,6 +248,8 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
         //发运明细
         String sqlShipdetail = "SELECT  " +
                 "  sh.cDefine10 AS invoiceNum,  " +
+                "  max(sh.dcreatesystime) as outdata ," +
+                "  count(shs.SBVID) as shipQuantity,"+
                 "  sh.iExchRate AS exchangeRate,  " +
                 "  sh.cSOCode AS orderNum,  " +
                 "  c.cInvName AS poStyleNum,  " +