diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertInfoServiceImpl.java b/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertInfoServiceImpl.java index a104169..2ec31c5 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertInfoServiceImpl.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertInfoServiceImpl.java @@ -265,6 +265,10 @@ public class ExpertInfoServiceImpl implements ExpertInfoService { expertRegionApply.setRegionLevel(expertUserFullInfo.getRegionLevel()); expertRegionApply.setUserId(userId); expertRegionApply.setDisplayEnable(BoolDisplayEnum.Y.name()); + if (LoginUserUtil.isLogin()) { + expertRegionApply.setCreateBy(LoginUserUtil.getUserId()); + } + expertRegionApply.setCreateOn(LocalDateTime.now()); iExpertMetaApplyService.save(expertRegionApply); return expertRegionApply.getId();