feat:故障记录状态修改
parent
7d67a19d30
commit
35d9d03c39
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue