diff --git a/ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java b/ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java
index 375261a..19ead9c 100644
--- a/ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java
+++ b/ningda-generator/src/main/java/com/ningdatech/generator/config/GeneratorCodeKingbaseConfig.java
@@ -56,7 +56,7 @@ public class GeneratorCodeKingbaseConfig {
}
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");
}
}
diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertSensitiveInfoModifyDetailRecordController.java b/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertSensitiveInfoModifyDetailRecordController.java
new file mode 100644
index 0000000..8df2d60
--- /dev/null
+++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/controller/ExpertSensitiveInfoModifyDetailRecordController.java
@@ -0,0 +1,20 @@
+package com.ningdatech.pmapi.expert.controller;
+
+
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.stereotype.Controller;
+
+/**
+ *
+ * 前端控制器
+ *
+ *
+ * @author Liuxinxin
+ * @since 2023-03-09
+ */
+@Controller
+@RequestMapping("/pmapi.expert/expert-sensitive-info-modify-detail-record")
+public class ExpertSensitiveInfoModifyDetailRecordController {
+
+}
diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/entity/ExpertSensitiveInfoModifyDetailRecord.java b/pmapi/src/main/java/com/ningdatech/pmapi/expert/entity/ExpertSensitiveInfoModifyDetailRecord.java
new file mode 100644
index 0000000..f76b499
--- /dev/null
+++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/entity/ExpertSensitiveInfoModifyDetailRecord.java
@@ -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;
+
+/**
+ *
+ *
+ *
+ *
+ * @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;
+
+}
diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/mapper/ExpertSensitiveInfoModifyDetailRecordMapper.java b/pmapi/src/main/java/com/ningdatech/pmapi/expert/mapper/ExpertSensitiveInfoModifyDetailRecordMapper.java
new file mode 100644
index 0000000..691f1c5
--- /dev/null
+++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/mapper/ExpertSensitiveInfoModifyDetailRecordMapper.java
@@ -0,0 +1,16 @@
+package com.ningdatech.pmapi.expert.mapper;
+
+import com.ningdatech.pmapi.expert.entity.ExpertSensitiveInfoModifyDetailRecord;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ *
+ * Mapper 接口
+ *
+ *
+ * @author Liuxinxin
+ * @since 2023-03-09
+ */
+public interface ExpertSensitiveInfoModifyDetailRecordMapper extends BaseMapper {
+
+}
diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/mapper/ExpertSensitiveInfoModifyDetailRecordMapper.xml b/pmapi/src/main/java/com/ningdatech/pmapi/expert/mapper/ExpertSensitiveInfoModifyDetailRecordMapper.xml
new file mode 100644
index 0000000..7a7b93a
--- /dev/null
+++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/mapper/ExpertSensitiveInfoModifyDetailRecordMapper.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/IExpertSensitiveInfoModifyDetailRecordService.java b/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/IExpertSensitiveInfoModifyDetailRecordService.java
new file mode 100644
index 0000000..1e7b5db
--- /dev/null
+++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/IExpertSensitiveInfoModifyDetailRecordService.java
@@ -0,0 +1,16 @@
+package com.ningdatech.pmapi.expert.service;
+
+import com.ningdatech.pmapi.expert.entity.ExpertSensitiveInfoModifyDetailRecord;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ *
+ * 服务类
+ *
+ *
+ * @author Liuxinxin
+ * @since 2023-03-09
+ */
+public interface IExpertSensitiveInfoModifyDetailRecordService extends IService {
+
+}
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 e7f2f2e..880542b 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
@@ -12,10 +12,7 @@ import com.ningdatech.pmapi.common.util.ExpertRegionInfoUtils;
import com.ningdatech.pmapi.common.util.GzipUtils;
import com.ningdatech.pmapi.expert.assembler.ExpertUserInfoAssembler;
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.bo.ExpertInfoSensitiveFieldCheckBO;
import com.ningdatech.pmapi.expert.model.cmd.ExpertFullInfoSaveCmd;
@@ -54,6 +51,7 @@ public class ExpertInfoServiceImpl implements ExpertInfoService {
private final IExpertAvoidCompanyService iExpertAvoidCompanyService;
private final IExpertIntentionWorkRegionService iExpertIntentionWorkRegionService;
private final IExpertMetaApplyService iExpertMetaApplyService;
+ private final IExpertSensitiveInfoModifyDetailRecordService iExpertSensitiveInfoModifyDetailRecordService;
/**
@@ -550,7 +548,7 @@ public class ExpertInfoServiceImpl implements ExpertInfoService {
expertSensitiveInfoModifyDetailRecord.setOriginalJson(compressedModifyJsonStr);
expertSensitiveInfoModifyDetailRecord.setModifyJson(compressedModifyJsonStr);
if (Objects.nonNull(modifyApplyExtraInfo)) {
- expertSensitiveInfoModifyDetailRecord.setExtraMaterial(JSONUtils.toJson(modifyApplyExtraInfo));
+ expertSensitiveInfoModifyDetailRecord.setExtraMaterial(JSONObject.toJSONString(modifyApplyExtraInfo));
}
iExpertSensitiveInfoModifyDetailRecordService.save(expertSensitiveInfoModifyDetailRecord);
return expertMetaApply.getId();
diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertSensitiveInfoModifyDetailRecordServiceImpl.java b/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertSensitiveInfoModifyDetailRecordServiceImpl.java
new file mode 100644
index 0000000..cc3a924
--- /dev/null
+++ b/pmapi/src/main/java/com/ningdatech/pmapi/expert/service/impl/ExpertSensitiveInfoModifyDetailRecordServiceImpl.java
@@ -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;
+
+/**
+ *
+ * 服务实现类
+ *
+ *
+ * @author Liuxinxin
+ * @since 2023-03-09
+ */
+@Service
+public class ExpertSensitiveInfoModifyDetailRecordServiceImpl extends ServiceImpl implements IExpertSensitiveInfoModifyDetailRecordService {
+
+}