feat:故障记录状态修改

dev.breakdown
袁子龙 2024-09-26 00:32:19 +08:00
parent 35d9d03c39
commit 33d4eb2c44
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);