作废工单修改2
This commit is contained in:
parent
e4279f87c5
commit
adba8c0dce
@ -394,7 +394,13 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
|
||||
@DSTransactional
|
||||
public void setTicketsVoid(DlRepairTicketsReqVO repairTicketsReqVO) {
|
||||
// 作废维修工单
|
||||
baseMapper.updateById(repairTicketsReqVO);
|
||||
DlRepairTickets tickets = new DlRepairTickets();
|
||||
tickets.setId(repairTicketsReqVO.getId());
|
||||
if (ObjectUtil.isNotEmpty(repairTicketsReqVO.getRemark())){
|
||||
tickets.setRemark(repairTicketsReqVO.getRemark());
|
||||
}
|
||||
tickets.setTicketsStatus("03");
|
||||
baseMapper.updateById(tickets);
|
||||
// 删除订单
|
||||
repairOrderInfoService.remove(new LambdaQueryWrapper<RepairOrderInfo>().eq(RepairOrderInfo::getGoodsId, repairTicketsReqVO.getId()));
|
||||
// 记录日志
|
||||
|
Loading…
Reference in New Issue
Block a user