开始施工、施工过程记录
This commit is contained in:
parent
b83b615d93
commit
d8ca30eb67
@ -221,7 +221,7 @@ public class DlRepairTicketsController {
|
||||
* @date 15:46 2024/10/18
|
||||
* @param respVO 请求对象
|
||||
**/
|
||||
@GetMapping("/updateStatus")
|
||||
@PostMapping("/updateStatus")
|
||||
@Operation(summary = "更新工单状态")
|
||||
public CommonResult<?> updateStatus(@RequestBody DlRepairTicketsRespVO respVO){
|
||||
dlRepairTicketsService.updateStatus(respVO);
|
||||
|
@ -523,6 +523,7 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
|
||||
* @date 15:46 2024/10/18
|
||||
**/
|
||||
@Override
|
||||
@DSTransactional
|
||||
public void updateStatus(DlRepairTicketsRespVO respVO){
|
||||
// 更新工单主表
|
||||
baseMapper.update(new LambdaUpdateWrapper<DlRepairTickets>()
|
||||
@ -535,7 +536,7 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
|
||||
.eq(DlRepairTitem::getId, respVO.getItem().getId())
|
||||
);
|
||||
// 记录日志
|
||||
recordsService.saveRepairRecord(respVO.getId(), respVO.getItem().getId(), "", respVO.getRemark(), respVO.getImage());
|
||||
recordsService.saveRepairRecord(respVO.getId(), respVO.getItem().getId(), respVO.getRecordType(), respVO.getRemark(), respVO.getImage());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,4 +31,7 @@ public class DlRepairTicketsRespVO extends DlRepairTickets {
|
||||
|
||||
/** 子表单条数据 */
|
||||
private DlRepairTitem item;
|
||||
|
||||
/** 记录类型 */
|
||||
private String recordType;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user