Przeglądaj źródła

CAD文件接口

yanguofeng 3 lat temu
rodzic
commit
fd1239a81a
18 zmienionych plików z 350 dodań i 248 usunięć
  1. 67 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/controller/AdmFileController.java
  2. 0 34
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/controller/FileController.java
  3. 8 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/dao/AdmFileMapper.java
  4. 10 2
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/dao/AdmProblemMapper.java
  5. 101 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/AdmProblem.java
  6. 1 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/CadFileInfo.java
  7. 18 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/CadFileQueryParam.java
  8. 72 4
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/db/AdmFile.java
  9. 0 40
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/db/AdmProblem.java
  10. 10 3
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/IAdmFileService.java
  11. 16 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/IAdmProblemService.java
  12. 21 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/impl/AdmFileServiceImpl.java
  13. 20 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/impl/AdmProblemServiceImpl.java
  14. 0 26
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/impl/IAdmFileServiceImpl.java
  15. 1 0
      adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/impl/SyncAppImpl.java
  16. 5 0
      adm-business/adm-server/src/main/resources/mapper/AdmFileMapper.xml
  17. 0 47
      adm-business/adm-server/src/main/resources/mapper/AdmObjectMapper.xml.bak
  18. 0 92
      adm-business/adm-server/src/main/resources/mybatis-generator/generatorConfig.xml

+ 67 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/controller/AdmFileController.java

@@ -0,0 +1,67 @@
+package com.persagy.bdtp.adm.controller;
+
+
+import com.baomidou.mybatisplus.core.conditions.Wrapper;
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.persagy.bdtp.adm.common.AdmResult;
+import com.persagy.bdtp.adm.dao.AdmFileMapper;
+import com.persagy.bdtp.adm.entity.CadFileQueryParam;
+import com.persagy.bdtp.adm.entity.db.AdmFile;
+import com.persagy.bdtp.adm.service.IAdmFileService;
+import org.apache.commons.lang.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * <p>
+ * 文件附件 前端控制器
+ * </p>
+ *
+ * @author yanguofeng
+ * @since 2022-01-10
+ */
+@RestController
+@RequestMapping("/adm/adm-file")
+public class AdmFileController {
+
+    @Autowired
+    IAdmFileService iAdmFileService;
+    @Autowired
+    AdmFileMapper admFileMapper;
+
+    /**
+     * CAD文件查询接口
+     */
+
+    @PostMapping("/queryCadFiles")
+    public AdmResult<List<AdmFile>> queryCadFiles(@RequestBody CadFileQueryParam queryParam){
+        Wrapper<AdmFile> eq = new LambdaQueryWrapper<AdmFile>()
+                .eq(StringUtils.isNotBlank(queryParam.getProjectId()), AdmFile::getProjectId, queryParam.getProjectId())
+                .eq(StringUtils.isNotBlank(queryParam.getBuildingId()),AdmFile::getBuildingId,queryParam.getBuildingId())
+                .eq(StringUtils.isNotBlank(queryParam.getFloorId()),AdmFile::getFloorId,queryParam.getFloorId())
+                .eq(StringUtils.isNotBlank(queryParam.getFileId()),AdmFile::getFileId,queryParam.getFileId())
+                .eq(StringUtils.isNotBlank(queryParam.getBizType()),AdmFile::getBizType,queryParam.getBizType());
+        return AdmResult.success(iAdmFileService.list(eq));
+    }
+
+    /**
+     * 保存CAD文件信息
+     */
+    @PostMapping("/saveCadFileInfo")
+    public AdmResult<Void> saveCadFileInfo(@RequestBody List<AdmFile> admFiles){
+        iAdmFileService.saveOrUpdateBatch(admFiles);
+        return AdmResult.success(null);
+    }
+
+    /**
+     * 删除CAD文件信息
+     * @param id 文件信息表主键ID
+     */
+    @PostMapping("/delete")
+    public AdmResult<Void> delete(@RequestParam("id") String id){
+        iAdmFileService.removeById(id);
+        return AdmResult.success(null);
+    }
+}

+ 0 - 34
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/controller/FileController.java

@@ -1,34 +0,0 @@
-package com.persagy.bdtp.adm.controller;
-
-import com.persagy.bdtp.adm.common.AdmResult;
-import com.persagy.bdtp.adm.entity.db.AdmFile;
-import com.persagy.bdtp.adm.service.IAdmFileService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
-
-import java.util.List;
-
-/**
- * ADM文件服务
- */
-@RestController
-@RequestMapping("/file")
-public class FileController {
-
-    @Autowired
-    IAdmFileService iAdmFileService;
-
-    /**
-     * 保存CAD文件信息
-     * @param admFiles
-     * @return
-     */
-    @PostMapping("/saveCadFileInfo")
-    public AdmResult<Void> saveCadFileInfo(@RequestBody List<AdmFile> admFiles){
-        iAdmFileService.saveList(admFiles);
-        return AdmResult.success(null);
-    }
-}

+ 8 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/dao/AdmFileMapper.java

@@ -3,6 +3,14 @@ package com.persagy.bdtp.adm.dao;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.persagy.bdtp.adm.entity.db.AdmFile;
 
+/**
+ * <p>
+ * 文件附件 Mapper 接口
+ * </p>
+ *
+ * @author yanguofeng
+ * @since 2022-01-10
+ */
 public interface AdmFileMapper extends BaseMapper<AdmFile> {
 
 }

+ 10 - 2
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/dao/AdmProblemMapper.java

@@ -1,8 +1,16 @@
 package com.persagy.bdtp.adm.dao;
 
+import com.persagy.bdtp.adm.entity.AdmProblem;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.persagy.bdtp.adm.entity.db.AdmProblem;
 
+/**
+ * <p>
+ * 核查问题表 Mapper 接口
+ * </p>
+ *
+ * @author yanguofeng
+ * @since 2022-01-10
+ */
 public interface AdmProblemMapper extends BaseMapper<AdmProblem> {
 
-}
+}

+ 101 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/AdmProblem.java

@@ -0,0 +1,101 @@
+package com.persagy.bdtp.adm.entity;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+import com.persagy.bdtp.adm.entity.db.BaseAdmDataEntity;
+import com.persagy.bdtp.adm.entity.db.BaseAdmEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ * 核查问题表
+ * </p>
+ *
+ * @author yanguofeng
+ * @since 2022-01-10
+ */
+@Data
+@EqualsAndHashCode(callSuper = false)
+public class AdmProblem extends BaseAdmDataEntity implements Serializable {
+
+    /**
+     * 项目id
+     */
+    @TableField("project_id")
+    private String projectId;
+
+    /**
+     * 建筑id
+     */
+    @TableField("building_id")
+    private String buildingId;
+
+    /**
+     * 问题所在楼层id
+     */
+    @TableField("floor_id")
+    private String floorId;
+
+    /**
+     * 核查对应的文件ID
+     */
+    @TableField("file_id")
+    private String fileId;
+
+    /**
+     * 1 空间 2对象
+     */
+    @TableField("check_type")
+    private String checkType;
+
+    /**
+     * 问题对象类型
+     */
+    @TableField("obj_type_code")
+    private String objTypeCode;
+
+    /**
+     * 问题对象类型名称
+     */
+    @TableField("obj_type_name")
+    private String objTypeName;
+
+    /**
+     * 问题对象id
+     */
+    @TableField("obj_id")
+    private String objId;
+
+    /**
+     * 问题对象名称
+     */
+    @TableField("obj_name")
+    private String objName;
+
+    /**
+     * 问题类型编码
+     */
+    @TableField("type_code")
+    private String typeCode;
+
+    /**
+     * 问题类型名称
+     */
+    @TableField("type_name")
+    private String typeName;
+
+    /**
+     * 问题描述
+     */
+    private String info;
+
+    /**
+     * 建筑结构核查任务状态(1:有效;2:已解决)
+     */
+    private Integer status;
+
+
+}

+ 1 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/CadFileInfo.java

@@ -4,6 +4,7 @@ import lombok.Data;
 
 @Data
 public class CadFileInfo {
+    private String id;
     private String fileId;
     private String projectId;
     private String buildingId;

+ 18 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/CadFileQueryParam.java

@@ -0,0 +1,18 @@
+package com.persagy.bdtp.adm.entity;
+
+import lombok.Data;
+
+/**
+ * Cad图纸查询接口
+ */
+@Data
+public class CadFileQueryParam {
+    private String projectId;
+    private String buildingId;
+    private String floorId;
+    private String fileId;
+    /**
+     * 土建精装-CF,空调-AC,给排水-WS,消防-FF
+     */
+    private String bizType;
+}

+ 72 - 4
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/db/AdmFile.java

@@ -2,28 +2,96 @@ package com.persagy.bdtp.adm.entity.db;
 
 import com.baomidou.mybatisplus.annotation.TableName;
 import lombok.Data;
-
 @Data
-@TableName(value = "adm_file",autoResultMap = true)
-public class AdmFile extends BaseAdmDataEntity {
+@TableName("adm_file")
+public class AdmFile extends BaseAdmDataEntity{
+
+    private static final long serialVersionUID = 1L;
 
+    /**
+     * 文件类型(photo|video|file|...)
+     */
     private String fileType;
 
+    /**
+     * 业务类型(object:对象附件|problem_arch:空间问题附件|problem_equip:设备问题附件)
+     */
     private String bizType;
 
+    /**
+     * 文件存储路径(id)
+     */
     private String filePath;
 
+    /**
+     * app端文件存储路径
+     */
     private String clientPath;
 
+    /**
+     * 关联的对象id
+     */
     private String refObjId;
 
+    /**
+     * 关联的对象信息点code
+     */
     private String refInfoCode;
 
+    /**
+     * 描述
+     */
     private String remark;
 
+    /**
+     * 文件附件(照片)的排序序号
+     */
     private Integer orderNum;
 
-    /** 文件服务中对应的存储id */
+    /**
+     * 项目id
+     */
+    private String projectId;
+
+    /**
+     * 楼层id
+     */
+    private String floorId;
+
+    /**
+     * 建筑id
+     */
+    private String buildingId;
+
+
+    /**
+     * 文件服务中的存储id
+     */
     private String fileId;
 
+
+    @Override
+    public String toString() {
+        return "AdmFile{" +
+                "id=" + id +
+                ", fileType=" + fileType +
+                ", bizType=" + bizType +
+                ", filePath=" + filePath +
+                ", clientPath=" + clientPath +
+                ", refObjId=" + refObjId +
+                ", refInfoCode=" + refInfoCode +
+                ", remark=" + remark +
+                ", orderNum=" + orderNum +
+                ", projectId=" + projectId +
+                ", floorId=" + floorId +
+                ", buildingId=" + buildingId +
+                ", creator=" + creator +
+                ", creationTime=" + creationTime +
+                ", modifier=" + modifier +
+                ", modifiedTime=" + modifiedTime +
+                ", valid=" + valid +
+                ", fileId=" + fileId +
+                ", ts=" + ts +
+                "}";
+    }
 }

+ 0 - 40
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/entity/db/AdmProblem.java

@@ -1,40 +0,0 @@
-package com.persagy.bdtp.adm.entity.db;
-
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableName;
-import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
-import com.fasterxml.jackson.databind.node.ObjectNode;
-import lombok.Data;
-@Data
-@TableName(value = "adm_problem", autoResultMap = true)
-public class AdmProblem extends BaseAdmDataEntity{
-    private String id;
-
-    private String projectId;
-
-    private String buildingId;
-
-    private String floorId;
-
-    private String fileId;
-
-    private String checkType;
-
-    private String objTypeCode;
-
-    private String objTypeName;
-
-    private String objId;
-
-    private String objName;
-
-    private String typeCode;
-
-    private String typeName;
-
-    private Byte status;
-
-    @TableField(typeHandler = JacksonTypeHandler.class)
-    private ObjectNode info;
-
-}

+ 10 - 3
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/IAdmFileService.java

@@ -1,9 +1,16 @@
 package com.persagy.bdtp.adm.service;
 
+import com.baomidou.mybatisplus.extension.service.IService;
 import com.persagy.bdtp.adm.entity.db.AdmFile;
 
-import java.util.List;
+/**
+ * <p>
+ * 文件附件 服务类
+ * </p>
+ *
+ * @author yanguofeng
+ * @since 2022-01-10
+ */
+public interface IAdmFileService extends IService<AdmFile> {
 
-public interface IAdmFileService {
-    void saveList(List<AdmFile> admFiles);
 }

+ 16 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/IAdmProblemService.java

@@ -0,0 +1,16 @@
+package com.persagy.bdtp.adm.service;
+
+import com.persagy.bdtp.adm.entity.AdmProblem;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 核查问题表 服务类
+ * </p>
+ *
+ * @author yanguofeng
+ * @since 2022-01-10
+ */
+public interface IAdmProblemService extends IService<AdmProblem> {
+
+}

+ 21 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/impl/AdmFileServiceImpl.java

@@ -0,0 +1,21 @@
+package com.persagy.bdtp.adm.service.impl;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.persagy.bdtp.adm.dao.AdmFileMapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.persagy.bdtp.adm.entity.db.AdmFile;
+import com.persagy.bdtp.adm.service.IAdmFileService;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 文件附件 服务实现类
+ * </p>
+ *
+ * @author yanguofeng
+ * @since 2022-01-10
+ */
+@Service
+public class AdmFileServiceImpl extends ServiceImpl<AdmFileMapper, AdmFile> implements IAdmFileService {
+
+}

+ 20 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/impl/AdmProblemServiceImpl.java

@@ -0,0 +1,20 @@
+package com.persagy.bdtp.adm.service.impl;
+
+import com.persagy.bdtp.adm.entity.AdmProblem;
+import com.persagy.bdtp.adm.dao.AdmProblemMapper;
+import com.persagy.bdtp.adm.service.IAdmProblemService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 核查问题表 服务实现类
+ * </p>
+ *
+ * @author yanguofeng
+ * @since 2022-01-10
+ */
+@Service
+public class AdmProblemServiceImpl extends ServiceImpl<AdmProblemMapper, AdmProblem> implements IAdmProblemService {
+
+}

+ 0 - 26
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/impl/IAdmFileServiceImpl.java

@@ -1,26 +0,0 @@
-package com.persagy.bdtp.adm.service.impl;
-
-import com.persagy.bdtp.adm.dao.AdmFileMapper;
-import com.persagy.bdtp.adm.entity.db.AdmFile;
-import com.persagy.bdtp.adm.service.IAdmFileService;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-
-@Service
-public class IAdmFileServiceImpl implements IAdmFileService {
-    @Autowired
-    AdmFileMapper fileMapper;
-
-    @Transactional
-    @Override
-    public void saveList(List<AdmFile> admFiles) {
-        for (AdmFile admFile : admFiles) {
-            admFile.setFilePath(admFile.getFileId());
-            admFile.setRefObjId(admFile.getFloorId());
-            fileMapper.insert(admFile);
-        }
-    }
-}

+ 1 - 0
adm-business/adm-server/src/main/java/com/persagy/bdtp/adm/service/impl/SyncAppImpl.java

@@ -17,6 +17,7 @@ import com.persagy.bdtp.adm.common.AdmConst;
 import com.persagy.bdtp.adm.dao.*;
 import com.persagy.bdtp.adm.datatx.ObjectMapper4Tx;
 import com.persagy.bdtp.adm.entity.*;
+import com.persagy.bdtp.adm.entity.AdmProblem;
 import com.persagy.bdtp.adm.entity.db.*;
 import com.persagy.bdtp.adm.entity.db.AdmDefineProblemType;
 import com.persagy.bdtp.adm.service.*;

+ 5 - 0
adm-business/adm-server/src/main/resources/mapper/AdmFileMapper.xml

@@ -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.persagy.bdtp.adm.dao.AdmFileMapper">
+
+</mapper>

+ 0 - 47
adm-business/adm-server/src/main/resources/mapper/AdmObjectMapper.xml.bak

@@ -1,47 +0,0 @@
-<?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.persagy.bdtp.adm.dao.AdmObjectMapper">
-
-    <resultMap id="BaseResultMap" type="com.persagy.bdtp.adm.entity.db.AdmObject">
-        <id property="id" column="id" jdbcType="VARCHAR"/>
-        <result property="name" column="name" jdbcType="VARCHAR"/>
-        <result property="localId" column="local_id" jdbcType="VARCHAR"/>
-        <result property="localName" column="local_name" jdbcType="VARCHAR"/>
-        <result property="groupCode" column="group_code" jdbcType="VARCHAR"/>
-        <result property="projectId" column="project_id" jdbcType="VARCHAR"/>
-        <result property="objType" column="obj_type" jdbcType="VARCHAR"/>
-        <result property="classCode" column="class_code" jdbcType="VARCHAR"/>
-        <result property="grouping" column="grouping" jdbcType="INTEGER"/>
-        <result property="infos" column="infos" jdbcType="VARCHAR"
-                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
-        <result property="virtualCodes" column="virtual_codes" jdbcType="VARCHAR"
-                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
-        <result property="createApp" column="create_app" jdbcType="VARCHAR"/>
-        <result property="updateApp" column="update_app" jdbcType="VARCHAR"/>
-        <result property="creator" column="creator" jdbcType="VARCHAR"/>
-        <result property="creationTime" column="creation_time" jdbcType="CHAR"/>
-        <result property="modifier" column="modifier" jdbcType="VARCHAR"/>
-        <result property="modifiedTime" column="modified_time" jdbcType="CHAR"/>
-        <result property="valid" column="valid" jdbcType="TINYINT"/>
-        <result property="ts" column="ts" jdbcType="TIMESTAMP"/>
-        <result property="objFromIds" column="objFromIds" jdbcType="VARCHAR"
-                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
-        <result property="objToIds" column="objToIds" jdbcType="VARCHAR"
-                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
-        <result property="relObjs" column="relObjs" jdbcType="VARCHAR"
-                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
-        <result property="bimLocation" column="bimLocation" jdbcType="VARCHAR"
-                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
-        <result property="outLines" column="outLines" jdbcType="VARCHAR"
-                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
-        <!--<result property="relObjs" column="relObjs" jdbcType="VARCHAR"  typeHandler="com.persagy.dmp.basic.typehandler.RelObjsHandler"/>-->
-    </resultMap>
-    <!--<resultMap id="count" type="com.persagy.dmp.digital.entity.ObjectDigital">
-        <result property="totalCount" column="totalCount" jdbcType="INTEGER"/>
-    </resultMap>-->
-
-
-</mapper>

+ 0 - 92
adm-business/adm-server/src/main/resources/mybatis-generator/generatorConfig.xml

@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE generatorConfiguration
-        PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"
-        "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
-
-<generatorConfiguration>
-    <context id="my" targetRuntime="MyBatis3">
-        <commentGenerator>
-            <property name="suppressDate" value="false"/>
-            <property name="suppressAllComments" value="true"/>
-        </commentGenerator>
-
-        <jdbcConnection driverClass="com.mysql.cj.jdbc.Driver"
-                        connectionURL="jdbc:mysql://192.168.0.11/adm?characterEncoding=utf8&amp;zeroDateTimeBehavior=convertToNull&amp;useSSL=false&amp;serverTimezone=GMT"
-                        userId="adm"
-                        password="adm"/>
-
-        <javaModelGenerator targetPackage="com.persagy.bdtp.adm.entity"
-                            targetProject="D:\projects\digital-delivery\adm-business\adm-server\src\main\java">
-            <property name="enableSubPackages" value="true"/>
-            <property name="trimStrings" value="true"/>
-        </javaModelGenerator>
-
-        <!--<sqlMapGenerator targetPackage=""
-                         targetProject="D:/IdeaProjects/adm/src/main/resources">
-            <property name="enableSubPackages" value="true"/>
-        </sqlMapGenerator>
-
-        <javaClientGenerator targetPackage="com.persagy.bdtp.adm.dao"
-                             targetProject="D:/IdeaProjects/adm/src/main/java" type="XMLMAPPER">
-            <property name="enableSubPackages" value="true"/>
-        </javaClientGenerator>-->
-
-        <table tableName="adm_define_problem_type" domainObjectName="AdmDefineProblemType"
-               enableCountByExample="false" enableUpdateByExample="false"
-               enableDeleteByExample="false" enableSelectByExample="false"
-               selectByExampleQueryId="false"></table>
-
-<!--        <table tableName="adm_rels_config" domainObjectName="AdmRelsConfig"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--            &lt;!&ndash;<columnRenamingRule searchString="^D_"-->
-<!--                                replaceString=""/>&ndash;&gt;-->
-<!--        </table>-->
-<!--        <table tableName="adm_relation" domainObjectName="AdmRelation"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-<!--        <table tableName="adm_problem_equip" domainObjectName="AdmProblemEquip"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-<!--        <table tableName="adm_problem_arch" domainObjectName="AdmProblemArch"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-<!--        <table tableName="adm_pipe_config" domainObjectName="AdmPipeConfig"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-<!--        <table tableName="adm_m2d_equip" domainObjectName="AdmM2dEquip"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-<!--        <table tableName="adm_job_space" domainObjectName="AdmJobSpace"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-<!--        <table tableName="adm_infos_config" domainObjectName="AdmInfosConfig"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-<!--        <table tableName="adm_file" domainObjectName="AdmFile"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-<!--        <table tableName="adm_config" domainObjectName="AdmConfig"-->
-<!--               enableCountByExample="false" enableUpdateByExample="false"-->
-<!--               enableDeleteByExample="false" enableSelectByExample="false"-->
-<!--               selectByExampleQueryId="false">-->
-<!--        </table>-->
-    </context>
-</generatorConfiguration>