feat:故障记录状态修改

master
袁子龙 2024-09-26 00:32:19 +08:00 committed by Liu Wu
parent e9de4fbd3b
commit 6ab4dbf279
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class sysCarFaultLogController extends BaseController {
util.exportExcel(response,list,"车辆故障记录数据"); util.exportExcel(response,list,"车辆故障记录数据");
} }
@PutMapping("/updateStatusById/id") @PutMapping("/updateStatusById/{id}")
public Result updateStatusById(@PathVariable("id")Long id){ public Result updateStatusById(@PathVariable("id")Long id){
UpdateWrapper<SysCarFaultLog> wrapper = new UpdateWrapper<>(); UpdateWrapper<SysCarFaultLog> wrapper = new UpdateWrapper<>();
wrapper.eq("id",id).set("status",3); wrapper.eq("id",id).set("status",3);