|
|
|
@ -2018,9 +2018,13 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
completionRecordService.save(r); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
if (ObjectUtils.isNotNull(aftersalesWorkOrder.getAssignListRecord())) { |
|
|
|
|
completionRecordService.deleteLogic(aftersalesWorkOrder.getAssignListRecord()); |
|
|
|
|
} |
|
|
|
|
// if (ObjectUtils.isNotNull(aftersalesWorkOrder.getAssignListRecord())) {
|
|
|
|
|
// completionRecordService.deleteLogic(aftersalesWorkOrder.getAssignListRecord());
|
|
|
|
|
// }
|
|
|
|
|
LambdaUpdateWrapper<AftersalesCompletionRecordEntity> completionRecipientEntityLambdaUpdateWrapper = Wrappers.<AftersalesCompletionRecordEntity>lambdaUpdate() |
|
|
|
|
.set(AftersalesCompletionRecordEntity::getIsDeleted, 1) |
|
|
|
|
.eq(AftersalesCompletionRecordEntity::getWorkOrderId, aftersalesWorkOrder.getId()); |
|
|
|
|
completionRecordService.update(completionRecipientEntityLambdaUpdateWrapper); |
|
|
|
|
} |
|
|
|
|
//异常工单完结处理结果受款方
|
|
|
|
|
if (!aftersalesWorkOrder.getCompletionRecipientEntities().isEmpty()) { |
|
|
|
@ -2033,10 +2037,14 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
completionRecipientService.save(r); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
if (ObjectUtils.isNotNull(aftersalesWorkOrder.getAssignListRecipient())) { |
|
|
|
|
//删除
|
|
|
|
|
completionRecipientService.deleteLogic(aftersalesWorkOrder.getAssignListRecipient()); |
|
|
|
|
} |
|
|
|
|
// if (ObjectUtils.isNotNull(aftersalesWorkOrder.getAssignListRecipient())) {
|
|
|
|
|
// //删除
|
|
|
|
|
// completionRecipientService.deleteLogic(aftersalesWorkOrder.getAssignListRecipient());
|
|
|
|
|
// }
|
|
|
|
|
LambdaUpdateWrapper<AftersalesCompletionRecipientEntity> completionRecipientEntityLambdaUpdateWrapper = Wrappers.<AftersalesCompletionRecipientEntity>lambdaUpdate() |
|
|
|
|
.set(AftersalesCompletionRecipientEntity::getIsDeleted, 1) |
|
|
|
|
.eq(AftersalesCompletionRecipientEntity::getWorkOrderId, aftersalesWorkOrder.getId()); |
|
|
|
|
completionRecipientService.update(completionRecipientEntityLambdaUpdateWrapper); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
AftersalesWorkOrderEntity workOrderEntity = new AftersalesWorkOrderEntity(); |
|
|
|
|