能力申请保存当前用户

This commit is contained in:
huangweixiong 2022-04-28 11:18:45 +08:00
parent 940fc384aa
commit 84cc1b43f2
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import io.renren.common.validator.group.UpdateGroup;
import io.renren.modules.processForm.dto.TAbilityApplicationDTO;
import io.renren.modules.processForm.excel.TAbilityApplicationExcel;
import io.renren.modules.processForm.service.TAbilityApplicationService;
import io.renren.modules.security.user.SecurityUser;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
@ -69,6 +70,8 @@ public class TAbilityApplicationController {
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
dto.setId(SecurityUser.getUserId());
tAbilityApplicationService.save(dto);
Map<String, Object> map = new HashMap<>();