소스 검색

补全创建时间

tags/24080901
WendyYang 1 년 전
부모
커밋
a5127f5f2c
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertInfoServiceImpl.java

+ 5
- 0
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));


불러오는 중...
취소
저장