更新代码
This commit is contained in:
parent
a4462afdac
commit
72e1635082
@ -86,5 +86,19 @@ public class DlRepairTicketsController {
|
||||
dlRepairTicketsService.setTicketsVoid(repairTicketsReqVO);
|
||||
return CommonResult.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 维修工单表 结算
|
||||
*
|
||||
* @author 小李
|
||||
* @date 8:50 2024/9/23
|
||||
* @param repairTicketsRespVO 工单
|
||||
**/
|
||||
@PostMapping("/paid")
|
||||
@Operation(summary = "维修工单表 结算")
|
||||
public CommonResult<?> setTicketsPaid(@RequestBody DlRepairTicketsRespVO repairTicketsRespVO){
|
||||
dlRepairTicketsService.setTicketsPaid(repairTicketsRespVO);
|
||||
return CommonResult.ok();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -50,4 +50,13 @@ public interface DlRepairTicketsService extends IService<DlRepairTickets> {
|
||||
* @param repairTicketsReqVO 工单对象
|
||||
**/
|
||||
void setTicketsVoid(DlRepairTicketsReqVO repairTicketsReqVO);
|
||||
|
||||
/**
|
||||
* 维修工单表 结算
|
||||
*
|
||||
* @author 小李
|
||||
* @date 8:50 2024/9/23
|
||||
* @param repairTicketsRespVO 工单
|
||||
**/
|
||||
void setTicketsPaid(DlRepairTicketsRespVO repairTicketsRespVO);
|
||||
}
|
||||
|
@ -170,6 +170,18 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
|
||||
public void setTicketsVoid(DlRepairTicketsReqVO repairTicketsReqVO){
|
||||
baseMapper.updateById(repairTicketsReqVO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 维修工单表 结算
|
||||
*
|
||||
* @author 小李
|
||||
* @date 8:50 2024/9/23
|
||||
* @param repairTicketsRespVO 工单
|
||||
**/
|
||||
@Override
|
||||
public void setTicketsPaid(DlRepairTicketsRespVO repairTicketsRespVO){
|
||||
baseMapper.updateById(repairTicketsRespVO);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user