From a5127f5f2c548f5463c2f704975b6354513e29f4 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Mon, 24 Jul 2023 15:17:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=A8=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ningdatech/pmapi/expert/service/impl/ExpertInfoServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) 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 a45bc0a..a104169 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 @@ -29,6 +29,7 @@ import com.ningdatech.pmapi.meta.model.entity.ExpertDictionary; import com.ningdatech.pmapi.meta.model.entity.ExpertTag; import com.ningdatech.pmapi.meta.service.IExpertDictionaryService; import com.ningdatech.pmapi.meta.service.IExpertTagService; +import com.ningdatech.pmapi.user.util.LoginUserUtil; import com.ningdatech.yxt.utils.JSONUtils; import lombok.RequiredArgsConstructor; import org.apache.commons.collections4.CollectionUtils; @@ -590,6 +591,8 @@ public class ExpertInfoServiceImpl implements ExpertInfoService { expertMetaApply.setRegionLevel(originalExpertUserFullInfo.getRegionLevel()); expertMetaApply.setUserId(originalExpertUserFullInfo.getUserId()); expertMetaApply.setDisplayEnable(BoolDisplayEnum.Y.name()); + expertMetaApply.setCreateOn(LocalDateTime.now()); + expertMetaApply.setCreateBy(LoginUserUtil.getUserId()); if (Objects.nonNull(modifyApplyExtraInfo)) { expertMetaApply.setExtraMaterial(JSONObject.toJSONString(modifyApplyExtraInfo)); } @@ -654,6 +657,8 @@ public class ExpertInfoServiceImpl implements ExpertInfoService { expertMetaApply.setRegionCode(apply.getRegionCode()); expertMetaApply.setRegionLevel(apply.getRegionLevel()); expertMetaApply.setUserId(originalExpertUserFullInfo.getUserId()); + expertMetaApply.setCreateOn(LocalDateTime.now()); + expertMetaApply.setCreateBy(LoginUserUtil.getUserId()); expertMetaApply.setDisplayEnable(BoolDisplayEnum.Y.name()); if (Objects.nonNull(modifyApplyExtraInfo)) { expertMetaApply.setExtraMaterial(JSONObject.toJSONString(modifyApplyExtraInfo));