|
|
|
@ -317,13 +317,13 @@ public class LogpmDataSearchServiceImpl implements ILogpmDataSearchService {
|
|
|
|
|
if (signListByWaybillNumber != null && !signListByWaybillNumber.isEmpty()) { |
|
|
|
|
|
|
|
|
|
//统计装车数量load_num
|
|
|
|
|
int loadNum = signListByWaybillNumber.stream().mapToInt(QualityDeliverEntity::getLoadNum).sum(); |
|
|
|
|
int loadNum = signListByWaybillNumber.stream().filter(t-> t.getLoadNum()!=null).mapToInt(QualityDeliverEntity::getLoadNum).sum(); |
|
|
|
|
|
|
|
|
|
// 计划配送数 plan_num
|
|
|
|
|
int planNum = signListByWaybillNumber.stream().mapToInt(QualityDeliverEntity::getPlanNum).sum(); |
|
|
|
|
int planNum = signListByWaybillNumber.stream().filter(t-> t.getPlanNum()!=null).mapToInt(QualityDeliverEntity::getPlanNum).sum(); |
|
|
|
|
|
|
|
|
|
// 计算签收数量sign_num
|
|
|
|
|
int signNum = signListByWaybillNumber.stream().mapToInt(QualityDeliverEntity::getSignNum).sum(); |
|
|
|
|
int signNum = signListByWaybillNumber.stream().filter(t-> t.getSignNum()!=null).mapToInt(QualityDeliverEntity::getSignNum).sum(); |
|
|
|
|
|
|
|
|
|
// 配送装车
|
|
|
|
|
QualityDeliverEntity qualityDeliverEntity = signListByWaybillNumber.get(0); |
|
|
|
|