feat:故障记录状态修改
parent
35d9d03c39
commit
33d4eb2c44
|
@ -70,7 +70,7 @@ public class sysCarFaultLogController extends BaseController {
|
|||
util.exportExcel(response,list,"车辆故障记录数据");
|
||||
}
|
||||
|
||||
@PutMapping("/updateStatusById/id")
|
||||
@PutMapping("/updateStatusById/{id}")
|
||||
public Result updateStatusById(@PathVariable("id")Long id){
|
||||
UpdateWrapper<SysCarFaultLog> wrapper = new UpdateWrapper<>();
|
||||
wrapper.eq("id",id).set("status",3);
|
||||
|
|
Loading…
Reference in New Issue