ソースを参照

成本报表 发运明细日期排序

liuchaohui 2 年 前
コミット
1d35236f6b

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

@@ -306,6 +306,7 @@ public class SyCostAllocationServiceImpl extends ServiceImpl<SyCostAllocationMap
 
         //发运
         List<SyCostAllocationShipdetail> Shipdetails = syCostAllocationShipdetailMapper.queryByCostShipdetail(plannum);
+        Shipdetails.stream().sorted(Comparator.comparing(SyCostAllocationShipdetail::getOutdata).reversed());
         for (int i=0;i<Shipdetails.size();i++) {
             SyCostAllocationShipdetail ship = Shipdetails.get(i);
             //实际出货数量