feat:故障记录状态修改

dev.breakdown
袁子龙 2024-09-26 00:28:26 +08:00
parent 7d67a19d30
commit 35d9d03c39
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ public class sysCarFaultLogController extends BaseController {
}
@PutMapping("/updateStatusById/id")
public Result updateStatusById(@PathVariable("Long")Long id){
public Result updateStatusById(@PathVariable("id")Long id){
UpdateWrapper<SysCarFaultLog> wrapper = new UpdateWrapper<>();
wrapper.eq("id",id).set("status",3);
boolean update = service.update(null, wrapper);