Browse Source

补全创建时间

master
WendyYang 1 year ago
parent
commit
d6aca795af
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertInfoServiceImpl.java

+ 4
- 0
pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertInfoServiceImpl.java View File

@@ -265,6 +265,10 @@ public class ExpertInfoServiceImpl implements ExpertInfoService {
expertRegionApply.setRegionLevel(expertUserFullInfo.getRegionLevel()); expertRegionApply.setRegionLevel(expertUserFullInfo.getRegionLevel());
expertRegionApply.setUserId(userId); expertRegionApply.setUserId(userId);
expertRegionApply.setDisplayEnable(BoolDisplayEnum.Y.name()); expertRegionApply.setDisplayEnable(BoolDisplayEnum.Y.name());
if (LoginUserUtil.isLogin()) {
expertRegionApply.setCreateBy(LoginUserUtil.getUserId());
}
expertRegionApply.setCreateOn(LocalDateTime.now());
iExpertMetaApplyService.save(expertRegionApply); iExpertMetaApplyService.save(expertRegionApply);


return expertRegionApply.getId(); return expertRegionApply.getId();


Loading…
Cancel
Save