feat:站内信信息状态修改
parent
82ae994601
commit
43546c4749
|
@ -63,10 +63,11 @@ public class SysCarFaultMessageController extends BaseController {
|
|||
* @return
|
||||
*/
|
||||
@PutMapping("/updateStatusById/{id}")
|
||||
public void updateStatusById(@PathVariable("id")Long id){
|
||||
public Result updateStatusById(@PathVariable("id")Long id){
|
||||
UpdateWrapper<SysCarFaultMessage> wrapper = new UpdateWrapper<>();
|
||||
wrapper.eq("id",id);
|
||||
wrapper.set("status",1);
|
||||
service.update(wrapper);
|
||||
boolean update = service.update(wrapper);
|
||||
return Result.success(update);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue