@@ -56,7 +56,7 @@ public class GeneratorCodeKingbaseConfig { | |||||
} | } | ||||
public static void main(String[] args) { | public static void main(String[] args) { | ||||
generate("Liuxinxin", "organization", PATH_LXX, "organization_main_manage_tag"); | |||||
generate("Liuxinxin", "expert", PATH_LXX, "expert_sensitive_info_modify_detail_record"); | |||||
} | } | ||||
} | } |
@@ -0,0 +1,20 @@ | |||||
package com.ningdatech.pmapi.expert.controller; | |||||
import org.springframework.web.bind.annotation.RequestMapping; | |||||
import org.springframework.stereotype.Controller; | |||||
/** | |||||
* <p> | |||||
* 前端控制器 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-03-09 | |||||
*/ | |||||
@Controller | |||||
@RequestMapping("/pmapi.expert/expert-sensitive-info-modify-detail-record") | |||||
public class ExpertSensitiveInfoModifyDetailRecordController { | |||||
} |
@@ -0,0 +1,41 @@ | |||||
package com.ningdatech.pmapi.expert.entity; | |||||
import com.baomidou.mybatisplus.annotation.TableName; | |||||
import io.swagger.annotations.ApiModel; | |||||
import lombok.Data; | |||||
import java.io.Serializable; | |||||
import java.time.LocalDateTime; | |||||
/** | |||||
* <p> | |||||
* | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-03-09 | |||||
*/ | |||||
@Data | |||||
@TableName("expert_sensitive_info_modify_detail_record") | |||||
@ApiModel(value = "ExpertSensitiveInfoModifyDetailRecord对象", description = "") | |||||
public class ExpertSensitiveInfoModifyDetailRecord implements Serializable { | |||||
private static final long serialVersionUID = 1L; | |||||
private Long id; | |||||
private LocalDateTime createOn; | |||||
private LocalDateTime updateOn; | |||||
private Long userId; | |||||
private String originalJson; | |||||
private String modifyJson; | |||||
private Long metaApplyId; | |||||
private String extraMaterial; | |||||
} |
@@ -0,0 +1,16 @@ | |||||
package com.ningdatech.pmapi.expert.mapper; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertSensitiveInfoModifyDetailRecord; | |||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; | |||||
/** | |||||
* <p> | |||||
* Mapper 接口 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-03-09 | |||||
*/ | |||||
public interface ExpertSensitiveInfoModifyDetailRecordMapper extends BaseMapper<ExpertSensitiveInfoModifyDetailRecord> { | |||||
} |
@@ -0,0 +1,5 @@ | |||||
<?xml version="1.0" encoding="UTF-8"?> | |||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | |||||
<mapper namespace="com.ningdatech.pmapi.expert.mapper.ExpertSensitiveInfoModifyDetailRecordMapper"> | |||||
</mapper> |
@@ -0,0 +1,16 @@ | |||||
package com.ningdatech.pmapi.expert.service; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertSensitiveInfoModifyDetailRecord; | |||||
import com.baomidou.mybatisplus.extension.service.IService; | |||||
/** | |||||
* <p> | |||||
* 服务类 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-03-09 | |||||
*/ | |||||
public interface IExpertSensitiveInfoModifyDetailRecordService extends IService<ExpertSensitiveInfoModifyDetailRecord> { | |||||
} |
@@ -12,10 +12,7 @@ import com.ningdatech.pmapi.common.util.ExpertRegionInfoUtils; | |||||
import com.ningdatech.pmapi.common.util.GzipUtils; | import com.ningdatech.pmapi.common.util.GzipUtils; | ||||
import com.ningdatech.pmapi.expert.assembler.ExpertUserInfoAssembler; | import com.ningdatech.pmapi.expert.assembler.ExpertUserInfoAssembler; | ||||
import com.ningdatech.pmapi.expert.constant.*; | import com.ningdatech.pmapi.expert.constant.*; | ||||
import com.ningdatech.pmapi.expert.entity.ExpertAvoidCompany; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertIntentionWorkRegion; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertMetaApply; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertUserFullInfo; | |||||
import com.ningdatech.pmapi.expert.entity.*; | |||||
import com.ningdatech.pmapi.expert.model.SensitiveModifySegment; | import com.ningdatech.pmapi.expert.model.SensitiveModifySegment; | ||||
import com.ningdatech.pmapi.expert.model.bo.ExpertInfoSensitiveFieldCheckBO; | import com.ningdatech.pmapi.expert.model.bo.ExpertInfoSensitiveFieldCheckBO; | ||||
import com.ningdatech.pmapi.expert.model.cmd.ExpertFullInfoSaveCmd; | import com.ningdatech.pmapi.expert.model.cmd.ExpertFullInfoSaveCmd; | ||||
@@ -54,6 +51,7 @@ public class ExpertInfoServiceImpl implements ExpertInfoService { | |||||
private final IExpertAvoidCompanyService iExpertAvoidCompanyService; | private final IExpertAvoidCompanyService iExpertAvoidCompanyService; | ||||
private final IExpertIntentionWorkRegionService iExpertIntentionWorkRegionService; | private final IExpertIntentionWorkRegionService iExpertIntentionWorkRegionService; | ||||
private final IExpertMetaApplyService iExpertMetaApplyService; | private final IExpertMetaApplyService iExpertMetaApplyService; | ||||
private final IExpertSensitiveInfoModifyDetailRecordService iExpertSensitiveInfoModifyDetailRecordService; | |||||
/** | /** | ||||
@@ -550,7 +548,7 @@ public class ExpertInfoServiceImpl implements ExpertInfoService { | |||||
expertSensitiveInfoModifyDetailRecord.setOriginalJson(compressedModifyJsonStr); | expertSensitiveInfoModifyDetailRecord.setOriginalJson(compressedModifyJsonStr); | ||||
expertSensitiveInfoModifyDetailRecord.setModifyJson(compressedModifyJsonStr); | expertSensitiveInfoModifyDetailRecord.setModifyJson(compressedModifyJsonStr); | ||||
if (Objects.nonNull(modifyApplyExtraInfo)) { | if (Objects.nonNull(modifyApplyExtraInfo)) { | ||||
expertSensitiveInfoModifyDetailRecord.setExtraMaterial(JSONUtils.toJson(modifyApplyExtraInfo)); | |||||
expertSensitiveInfoModifyDetailRecord.setExtraMaterial(JSONObject.toJSONString(modifyApplyExtraInfo)); | |||||
} | } | ||||
iExpertSensitiveInfoModifyDetailRecordService.save(expertSensitiveInfoModifyDetailRecord); | iExpertSensitiveInfoModifyDetailRecordService.save(expertSensitiveInfoModifyDetailRecord); | ||||
return expertMetaApply.getId(); | return expertMetaApply.getId(); | ||||
@@ -0,0 +1,20 @@ | |||||
package com.ningdatech.pmapi.expert.service.impl; | |||||
import com.ningdatech.pmapi.expert.entity.ExpertSensitiveInfoModifyDetailRecord; | |||||
import com.ningdatech.pmapi.expert.mapper.ExpertSensitiveInfoModifyDetailRecordMapper; | |||||
import com.ningdatech.pmapi.expert.service.IExpertSensitiveInfoModifyDetailRecordService; | |||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | |||||
import org.springframework.stereotype.Service; | |||||
/** | |||||
* <p> | |||||
* 服务实现类 | |||||
* </p> | |||||
* | |||||
* @author Liuxinxin | |||||
* @since 2023-03-09 | |||||
*/ | |||||
@Service | |||||
public class ExpertSensitiveInfoModifyDetailRecordServiceImpl extends ServiceImpl<ExpertSensitiveInfoModifyDetailRecordMapper, ExpertSensitiveInfoModifyDetailRecord> implements IExpertSensitiveInfoModifyDetailRecordService { | |||||
} |