|
|
@ -425,8 +425,7 @@ public class MesReportWorkServiceImpl implements IMesReportWorkService {
|
|
|
|
quantityDto.setWorkorderCode(workorderCode);
|
|
|
|
quantityDto.setWorkorderCode(workorderCode);
|
|
|
|
quantityDto.setMachineCode(machineCode);
|
|
|
|
quantityDto.setMachineCode(machineCode);
|
|
|
|
QuantityDto parentMesReport = mesReportWorkMapper.getRealQuantity(quantityDto);
|
|
|
|
QuantityDto parentMesReport = mesReportWorkMapper.getRealQuantity(quantityDto);
|
|
|
|
List<QuantityDto> sonMesReportList = mesReportWorkMapper.getSumQuantity(quantityDto);
|
|
|
|
QuantityDto sonMesReport = mesReportWorkMapper.getSumQuantity(quantityDto);
|
|
|
|
QuantityDto sonMesReport = sonMesReportList.stream().max(Comparator.comparingLong(QuantityDto::getUseMan)).orElse(null);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 产量
|
|
|
|
// 产量
|
|
|
|
Long sumQua = 0L;
|
|
|
|
Long sumQua = 0L;
|
|
|
|