feat:故障记录状态修改

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

View File

@ -71,7 +71,7 @@ public class sysCarFaultLogController extends BaseController {
} }
@PutMapping("/updateStatusById/id") @PutMapping("/updateStatusById/id")
public Result updateStatusById(@PathVariable("Long")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);
boolean update = service.update(null, wrapper); boolean update = service.update(null, wrapper);