提交 f7a9251a authored 作者: 刘海泉's avatar 刘海泉

修改履约进度表的挂单车数计算逻辑

上级 de430cb6
...@@ -438,7 +438,7 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi ...@@ -438,7 +438,7 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi
throw new ServiceSystemException(ResultEnum.DATA_NOT_FIND); throw new ServiceSystemException(ResultEnum.DATA_NOT_FIND);
} }
//根据挂单时间倒序排序 //根据挂单时间倒序排序
List<OrderGoods> orderGoods = orderGoodsDao.list(data.getOrderNo()); List<OrderGoods> orderGoods = orderGoodsDao.listAllByOrderNo(data.getOrderNo());
if(CollectionUtils.isEmpty(orderGoods)){ if(CollectionUtils.isEmpty(orderGoods)){
return; return;
} }
...@@ -492,7 +492,6 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi ...@@ -492,7 +492,6 @@ public class PerformanceProgressServiceImpl implements PerformanceProgressServi
Long count = orderChildDao.countNotCancelOrderChild(completedOrderGoodsNo); Long count = orderChildDao.countNotCancelOrderChild(completedOrderGoodsNo);
totalNeedTruck = totalNeedTruck + count.intValue(); totalNeedTruck = totalNeedTruck + count.intValue();
} }
return totalNeedTruck; return totalNeedTruck;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论