能力申请保存当前用户
This commit is contained in:
parent
940fc384aa
commit
84cc1b43f2
|
@ -13,6 +13,7 @@ import io.renren.common.validator.group.UpdateGroup;
|
||||||
import io.renren.modules.processForm.dto.TAbilityApplicationDTO;
|
import io.renren.modules.processForm.dto.TAbilityApplicationDTO;
|
||||||
import io.renren.modules.processForm.excel.TAbilityApplicationExcel;
|
import io.renren.modules.processForm.excel.TAbilityApplicationExcel;
|
||||||
import io.renren.modules.processForm.service.TAbilityApplicationService;
|
import io.renren.modules.processForm.service.TAbilityApplicationService;
|
||||||
|
import io.renren.modules.security.user.SecurityUser;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiImplicitParam;
|
import io.swagger.annotations.ApiImplicitParam;
|
||||||
import io.swagger.annotations.ApiImplicitParams;
|
import io.swagger.annotations.ApiImplicitParams;
|
||||||
|
@ -69,6 +70,8 @@ public class TAbilityApplicationController {
|
||||||
//效验数据
|
//效验数据
|
||||||
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
|
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
|
||||||
|
|
||||||
|
dto.setId(SecurityUser.getUserId());
|
||||||
|
|
||||||
tAbilityApplicationService.save(dto);
|
tAbilityApplicationService.save(dto);
|
||||||
|
|
||||||
Map<String, Object> map = new HashMap<>();
|
Map<String, Object> map = new HashMap<>();
|
||||||
|
|
Loading…
Reference in New Issue