更新0926

This commit is contained in:
xyc 2025-09-26 15:05:32 +08:00
parent 2afe93bf6e
commit 865f80ff91

View File

@ -594,6 +594,7 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
BigDecimal waresProfit = BigDecimal.ZERO;
List<JobTypeProfitDTO> resultList = new ArrayList<>();
if (CollectionUtil.isNotEmpty(items)) {
for (DlRepairTitemReqVO item : items) {
BigDecimal itemProfit = item.getItemProfit() != null ? item.getItemProfit() : BigDecimal.ZERO;
@ -611,6 +612,8 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
if (repairWorker != null) {
String jobType = repairWorker.getWorkType();
if (jobType == null) {
// 如果工种为空跳过处理
continue;
}
JobTypeProfitDTO dto = resultList.stream()