|
|
|
@ -505,10 +505,10 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
if(ObjectUtils.isNotNull(v.getCompletionRecipientEntities())){ |
|
|
|
|
completionRecipientService.saveBatch(v.getCompletionRecipientEntities()); |
|
|
|
|
} |
|
|
|
|
//修改工单异常完结状态
|
|
|
|
|
//修改工单异常待审核状态
|
|
|
|
|
AftersalesWorkOrderEntity workOrderEntity = new AftersalesWorkOrderEntity(); |
|
|
|
|
workOrderEntity.setId(v.getId()); |
|
|
|
|
workOrderEntity.setWorkOrderStatus(WorkOrderStatusConstant.yiwanjei.getValue()); |
|
|
|
|
workOrderEntity.setWorkOrderStatus(WorkOrderStatusConstant.daishenhe.getValue()); |
|
|
|
|
workOrderEntity.setOverTime(new Date()); |
|
|
|
|
if(ObjectUtils.isNotNull(v.getReasonArbitration())){ |
|
|
|
|
workOrderEntity.setReasonArbitration(v.getReasonArbitration()); |
|
|
|
@ -1136,10 +1136,10 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
List<AftersalesWorkOrderDTO> orderDTOList = new ArrayList<>(); |
|
|
|
|
orderDTOList.add(aftersalesWorkOrder); |
|
|
|
|
addCompletionEnd(orderDTOList); |
|
|
|
|
//修改工单状态
|
|
|
|
|
//修改工单状态待审核
|
|
|
|
|
AftersalesWorkOrderEntity aftersalesWorkOrderEntity = new AftersalesWorkOrderEntity(); |
|
|
|
|
aftersalesWorkOrderEntity.setId(l); |
|
|
|
|
aftersalesWorkOrderEntity.setWorkOrderStatus(WorkOrderStatusConstant.yiwanjei.getValue()); |
|
|
|
|
aftersalesWorkOrderEntity.setWorkOrderStatus(WorkOrderStatusConstant.daishenhe.getValue()); |
|
|
|
|
aftersalesWorkOrderEntity.setOverTime(new Date()); |
|
|
|
|
baseMapper.updateById(aftersalesWorkOrderEntity); |
|
|
|
|
//修改
|
|
|
|
@ -1564,7 +1564,7 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
List<AftersalesSettlementEntity> settlementEntityList = baseMapper.getWholeListSettlement(settlementEntity); |
|
|
|
|
|
|
|
|
|
List<AftersalesWorkOrderEntity> aftersalesWorkOrderEntities = baseMapper.selectList(Wrappers.<AftersalesWorkOrderEntity>query().lambda() |
|
|
|
|
.eq(AftersalesWorkOrderEntity::getWorkOrderStatus, WorkOrderStatusConstant.yuzhangdan.getValue()) |
|
|
|
|
.eq(AftersalesWorkOrderEntity::getWorkOrderStatus, WorkOrderStatusConstant.yiwanjei.getValue()) |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
List<AftersalesWorkOrderEntity> list = new ArrayList<>(); |
|
|
|
@ -1593,7 +1593,7 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
//修改数据
|
|
|
|
|
AftersalesWorkOrderEntity workOrderEntity = new AftersalesWorkOrderEntity(); |
|
|
|
|
workOrderEntity.setId(i.getId()); |
|
|
|
|
workOrderEntity.setWorkOrderStatus(WorkOrderStatusConstant.quedingzhangdan.getValue()); |
|
|
|
|
workOrderEntity.setWorkOrderStatus(WorkOrderStatusConstant.yijeishu.getValue()); |
|
|
|
|
baseMapper.updateById(workOrderEntity); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
@ -1696,7 +1696,7 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
aftersalesWorkOrder.getAssignList().forEach(i ->{ |
|
|
|
|
AftersalesWorkOrderEntity workOrderEntity = new AftersalesWorkOrderEntity(); |
|
|
|
|
workOrderEntity.setId(i); |
|
|
|
|
workOrderEntity.setWorkOrderStatus(WorkOrderStatusConstant.yuzhangdan.getValue()); |
|
|
|
|
workOrderEntity.setWorkOrderStatus(WorkOrderStatusConstant.yiwanjei.getValue()); |
|
|
|
|
baseMapper.updateById(workOrderEntity); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|