更新0926
This commit is contained in:
parent
2afe93bf6e
commit
865f80ff91
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user