feat:维修商

new-exam
wangxy 5 months ago
parent 5299b29042
commit 9828f46c63

@ -146,11 +146,6 @@ public class TdLeaveController extends BaseController
@ResponseBody @ResponseBody
public AjaxResult examinesave(TdLeave tdLeave) public AjaxResult examinesave(TdLeave tdLeave)
{ {
if (Objects.equals(tdLeave.getLeavestate(),"1")){
SysUser sysUser = userService.selectUserById(tdLeave.getUserId());
sysUser.setStatus("1");
userService.updateUser(sysUser);
}
return toAjax(tdLeaveService.updateTdLeave(tdLeave)); return toAjax(tdLeaveService.updateTdLeave(tdLeave));
} }

Loading…
Cancel
Save