cc 3 tygodni temu
rodzic
commit
49f534f29a

+ 2 - 2
ai-server/src/main/java/com/zsjz/ai/module/eds/mapper/EdsImportMaterialMapper.java

@@ -1,7 +1,7 @@
 package com.zsjz.ai.module.eds.mapper;
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.zsjz.ai.module.eds.po.EdsImportMaterial;
+import com.zsjz.ai.module.eds.po.EdsMaterial;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Select;
 
@@ -11,7 +11,7 @@ import org.apache.ibatis.annotations.Select;
  * @author zsjz
  */
 @Mapper
-public interface EdsImportMaterialMapper extends BaseMapper<EdsImportMaterial> {
+public interface EdsImportMaterialMapper extends BaseMapper<EdsMaterial> {
     @Select("""
             select count(collect_target_id)
                 from eds_mforensics_010100

+ 8 - 8
ai-server/src/main/java/com/zsjz/ai/module/eds/po/EdsImportMaterial.java → ai-server/src/main/java/com/zsjz/ai/module/eds/po/EdsMaterial.java

@@ -15,14 +15,14 @@ import java.time.LocalDateTime;
  * @author zsjz
  */
 @Data
-@TableName(value = "eds_import_material")
-public class EdsImportMaterial {
+@TableName(value = "eds_material")
+public class EdsMaterial {
 
     /**
      * 主键 ID。
      */
     @TableId(type = IdType.ASSIGN_ID)
-    private Integer id;
+    private Long id;
 
     /**
      * 采集目标编号。
@@ -34,13 +34,13 @@ public class EdsImportMaterial {
      * 导入数据量。
      */
     @TableField(value = "data_count")
-    private Long dataCount;
+    private Integer dataCount;
 
     /**
      * 采集警员姓名。
      */
-    @TableField(value = "principal_name")
-    private String principalName;
+    @TableField(value = "police_name")
+    private String policeName;
 
     /**
      * 采集警员警号。
@@ -51,8 +51,8 @@ public class EdsImportMaterial {
     /**
      * 承办部门组织机构代码。
      */
-    @TableField(value = "incharge_wa_department")
-    private String inchargeWaDepartment;
+    @TableField(value = "incharge_department")
+    private String inchargeDepartment;
 
     /**
      * 案件类型。

+ 4 - 4
ai-server/src/main/java/com/zsjz/ai/module/eds/po/EdsTree.java

@@ -24,14 +24,14 @@ public class EdsTree {
     /**
      * 节点全名。
      */
-    @TableField(value = "full_name")
-    private String fullName;
+    @TableField(value = "name")
+    private String name;
 
     /**
      * 父节点 ID。
      */
-    @TableField(value = "parent_id")
-    private String parentId;
+    @TableField(value = "pid")
+    private String pid;
 
     /**
      * 对应数据表名。

+ 4 - 4
ai-server/src/main/java/com/zsjz/ai/module/eds/po/EdsTreeCount.java

@@ -120,7 +120,7 @@ public class EdsTreeCount {
     public EdsTreeCount(String collectTargetId, EdsTree dirTree, Integer totalNum, Integer delNum) {
         this.collectTargetId = collectTargetId;
         this.dtId = dirTree.getId();
-        this.parentId = dirTree.getParentId();
+        this.parentId = dirTree.getPid();
         this.totalNum = totalNum == null ? 0 : totalNum;
         this.delNum = delNum == null ? 0 : delNum;
     }
@@ -128,7 +128,7 @@ public class EdsTreeCount {
     public EdsTreeCount(String collectTargetId, EdsTree dirTree, Integer totalNum, Integer delNum, String appType, String account) {
         this.collectTargetId = collectTargetId;
         this.dtId = dirTree.getId();
-        this.parentId = dirTree.getParentId();
+        this.parentId = dirTree.getPid();
         this.totalNum = totalNum == null ? 0 : totalNum;
         this.delNum = delNum == null ? 0 : delNum;
         this.appType = appType;
@@ -137,8 +137,8 @@ public class EdsTreeCount {
 
     public EdsTreeCount(EdsTree dirTree, Long totalNum, Long delNum, String appType, String appTypeName, String account) {
         this.dtId = dirTree.getId();
-        this.parentId = dirTree.getParentId();
-        this.fullName = dirTree.getFullName();
+        this.parentId = dirTree.getPid();
+        this.fullName = dirTree.getName();
         this.treeLevel = dirTree.getTreeLevel();
         this.sort = dirTree.getSort();
         this.totalNum = totalNum == null ? 0 : Math.toIntExact(totalNum);