Commit 40018863 authored by fangxinjiang's avatar fangxinjiang

节假日配置表及社保医疗截止配置表

parent 96e6236d
......@@ -129,6 +129,13 @@ public class TSocialDeadlineInfoController {
@SysLog("修改社保医疗截止日配置")
@PutMapping
public R<Boolean> updateById(@RequestBody TSocialDeadlineInfo tSocialDeadlineInfo) {
YifuUser user = SecurityUtils.getUser();
if (Common.isEmpty(user)){
return R.failed(CommonConstants.UPDATE_DATA_FAIL);
}
tSocialDeadlineInfo.setUpdateName(user.getNickname());
tSocialDeadlineInfo.setUpdateBy(user.getId());
tSocialDeadlineInfo.setUpdateTime(LocalDateTime.now());
return tSocialDeadlineInfoService.updateByIdAsso(tSocialDeadlineInfo);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment