Browse Source

修改包名为ozs

hexiao 2 years ago
parent
commit
19820b5d01
73 changed files with 290 additions and 290 deletions
  1. 2 2
      dc-mdm/src/main/java/com/datau/mdm/MdmApplication.java
  2. 1 1
      dc-mdm/src/main/java/com/datau/mdm/config/DruidDataSourceConfiguration.java
  3. 1 1
      dc-mdm/src/main/java/com/datau/mdm/config/SwaggerConfig.java
  4. 1 1
      dc-mdm/src/main/java/com/datau/mdm/constant/StatusCode.java
  5. 9 6
      dc-mdm/src/main/java/com/datau/mdm/controller/DatabaseManageController.java
  6. 6 5
      dc-mdm/src/main/java/com/datau/mdm/controller/InterfaceDataSourceManagementController.java
  7. 6 6
      dc-mdm/src/main/java/com/datau/mdm/controller/InterfaceDataSourceProjectController.java
  8. 9 9
      dc-mdm/src/main/java/com/datau/mdm/controller/KpiManageController.java
  9. 13 13
      dc-mdm/src/main/java/com/datau/mdm/controller/StorageManageController.java
  10. 5 7
      dc-mdm/src/main/java/com/datau/mdm/controller/SupportController.java
  11. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/ColumnInfoDTO.java
  12. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/CreateTableCopyDTO.java
  13. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/KpiListColumnDTO.java
  14. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmCreateTableDTO.java
  15. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimColumnType.java
  16. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimCreateOption.java
  17. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDataSourceInterfaceMethodDTO.java
  18. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDataSourceInterfaceParamFormatDTO.java
  19. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDataSourceInterfaceProtocolDTO.java
  20. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDataSourceInterfaceStatusDTO.java
  21. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDatabaseType.java
  22. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimResourceCharset.java
  23. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimResourceType.java
  24. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoColumn.java
  25. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceDTO.java
  26. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceParamInDTO.java
  27. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceParamOutDTO.java
  28. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceProjectDTO.java
  29. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceVO.java
  30. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDatabase.java
  31. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoTable.java
  32. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/MdmTreeDTO.java
  33. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/PageParams.java
  34. 2 2
      dc-mdm/src/main/java/com/datau/mdm/dto/ReturnData.java
  35. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/UpdateColumnDTO.java
  36. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/UpdateTableDTO.java
  37. 1 1
      dc-mdm/src/main/java/com/datau/mdm/dto/interfacedto/CallInterFaceParamDTO.java
  38. 2 2
      dc-mdm/src/main/java/com/datau/mdm/dto/interfacedto/CallInterFaceResultDTO.java
  39. 5 5
      dc-mdm/src/main/java/com/datau/mdm/mapper/DatabaseManageMapper.java
  40. 2 2
      dc-mdm/src/main/java/com/datau/mdm/mapper/InterfaceDataProjectMapper.java
  41. 2 2
      dc-mdm/src/main/java/com/datau/mdm/mapper/InterfaceDataSourcesMapper.java
  42. 6 7
      dc-mdm/src/main/java/com/datau/mdm/mapper/KpiManageMapper.java
  43. 9 9
      dc-mdm/src/main/java/com/datau/mdm/mapper/StorageManageMapper.java
  44. 1 1
      dc-mdm/src/main/java/com/datau/mdm/service/AccountApi.java
  45. 6 6
      dc-mdm/src/main/java/com/datau/mdm/service/DatabaseManageService.java
  46. 3 2
      dc-mdm/src/main/java/com/datau/mdm/service/InterfaceDataSourcesService.java
  47. 3 3
      dc-mdm/src/main/java/com/datau/mdm/service/InterfaceProjectService.java
  48. 2 2
      dc-mdm/src/main/java/com/datau/mdm/service/KpiConfigApi.java
  49. 7 7
      dc-mdm/src/main/java/com/datau/mdm/service/KpiManageService.java
  50. 10 10
      dc-mdm/src/main/java/com/datau/mdm/service/StorageManageService.java
  51. 15 15
      dc-mdm/src/main/java/com/datau/mdm/service/impl/DatabaseManageServiceImpl.java
  52. 5 4
      dc-mdm/src/main/java/com/datau/mdm/service/impl/InterfaceDataSourcesServiceImpl.java
  53. 5 5
      dc-mdm/src/main/java/com/datau/mdm/service/impl/InterfaceProjectServiceImpl.java
  54. 11 12
      dc-mdm/src/main/java/com/datau/mdm/service/impl/KpiManageServiceImpl.java
  55. 17 17
      dc-mdm/src/main/java/com/datau/mdm/service/impl/StorageManageServiceImpl.java
  56. 1 1
      dc-mdm/src/main/java/com/datau/mdm/service/util/JsonUtil.java
  57. 3 4
      dc-mdm/src/main/java/com/datau/mdm/service/util/ReturnUtil.java
  58. 11 11
      dc-mdm/src/main/java/com/datau/mdm/service/util/StorageManageServiceUtil.java
  59. 1 1
      dc-mdm/src/main/java/com/datau/mdm/util/FileTool.java
  60. 1 1
      dc-mdm/src/main/java/com/datau/mdm/util/JDBCUtil.java
  61. 1 1
      dc-mdm/src/main/java/com/datau/mdm/util/ParamUtil.java
  62. 2 3
      dc-mdm/src/main/java/com/datau/mdm/util/R.java
  63. 1 1
      dc-mdm/src/main/java/com/datau/mdm/util/RestTemplateUtil.java
  64. 1 1
      dc-mdm/src/main/java/com/datau/mdm/util/S.java
  65. 1 1
      dc-mdm/src/main/java/com/datau/mdm/util/ShellUtils.java
  66. 5 5
      dc-mdm/src/main/resources/application.yml
  67. 2 2
      dc-mdm/src/main/resources/bootstrap.yml
  68. 9 9
      dc-mdm/src/main/resources/mybatis/DatabaseManageMapper.xml
  69. 20 20
      dc-mdm/src/main/resources/mybatis/InterfaceDataSourcesMapper.xml
  70. 5 5
      dc-mdm/src/main/resources/mybatis/InterfaceProjectMapper.xml
  71. 9 9
      dc-mdm/src/main/resources/mybatis/KpiManageMapper.xml
  72. 24 24
      dc-mdm/src/main/resources/mybatis/StorageManageMapper.xml
  73. 1 1
      dc-mdm/src/test/java/com/datau/mdm/MdmApplicationTests.java

+ 2 - 2
dc-mdm/src/main/java/com/datau/mdm/MdmApplication.java

@@ -1,4 +1,4 @@
-package com.datau.mdm;
+package com.ozs.mdm;
 
 import org.mybatis.spring.annotation.MapperScan;
 import org.springframework.boot.SpringApplication;
@@ -12,7 +12,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
 import springfox.documentation.swagger2.annotations.EnableSwagger2;
 
 @EnableSwagger2
-@MapperScan("com.datau.mdm.mapper")
+@MapperScan("com.ozs.mdm.mapper")
 @EnableFeignClients
 @EnableEurekaClient
 @EnableTransactionManagement

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/config/DruidDataSourceConfiguration.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.config;
+package com.ozs.mdm.config;
 
 import javax.sql.DataSource;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/config/SwaggerConfig.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.config;
+package com.ozs.mdm.config;
 
 import java.util.ArrayList;
 import java.util.List;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/constant/StatusCode.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.constant;
+package com.ozs.mdm.constant;
 
 import java.util.HashMap;
 

+ 9 - 6
dc-mdm/src/main/java/com/datau/mdm/controller/DatabaseManageController.java

@@ -1,9 +1,14 @@
-package com.datau.mdm.controller;
+package com.ozs.mdm.controller;
 
 import java.util.List;
 
 import com.datau.mdm.dto.*;
-import com.datau.mdm.service.InterfaceDataSourcesService;
+import com.ozs.mdm.dto.MdmDimDatabaseType;
+import com.ozs.mdm.dto.MdmDimResourceCharset;
+import com.ozs.mdm.dto.MdmDimResourceType;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.service.AccountApi;
+import com.ozs.mdm.service.DatabaseManageService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -17,10 +22,8 @@ import org.springframework.web.bind.annotation.RequestHeader;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
-import com.datau.mdm.service.AccountApi;
-import com.datau.mdm.service.DatabaseManageService;
-import com.datau.mdm.util.R;
-import com.datau.mdm.util.S;
+import com.ozs.mdm.util.R;
+import com.ozs.mdm.util.S;
 
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiImplicitParam;

+ 6 - 5
dc-mdm/src/main/java/com/datau/mdm/controller/InterfaceDataSourceManagementController.java

@@ -1,11 +1,12 @@
-package com.datau.mdm.controller;
+package com.ozs.mdm.controller;
 
 import com.alibaba.fastjson.JSONObject;
 import com.datau.mdm.dto.*;
-import com.datau.mdm.service.InterfaceDataSourcesService;
-import com.datau.mdm.service.util.ReturnUtil;
-import com.datau.mdm.util.R;
-import com.datau.mdm.util.S;
+import com.ozs.mdm.dto.*;
+import com.ozs.mdm.service.InterfaceDataSourcesService;
+import com.ozs.mdm.service.util.ReturnUtil;
+import com.ozs.mdm.util.R;
+import com.ozs.mdm.util.S;
 import io.swagger.annotations.*;
 import org.apache.commons.lang3.StringUtils;
 import org.slf4j.Logger;

+ 6 - 6
dc-mdm/src/main/java/com/datau/mdm/controller/InterfaceDataSourceProjectController.java

@@ -1,10 +1,10 @@
-package com.datau.mdm.controller;
+package com.ozs.mdm.controller;
 
-import com.datau.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO;
-import com.datau.mdm.service.InterfaceProjectService;
-import com.datau.mdm.service.util.ReturnUtil;
-import com.datau.mdm.util.R;
-import com.datau.mdm.util.S;
+import com.ozs.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO;
+import com.ozs.mdm.service.InterfaceProjectService;
+import com.ozs.mdm.service.util.ReturnUtil;
+import com.ozs.mdm.util.R;
+import com.ozs.mdm.util.S;
 import io.swagger.annotations.*;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;

+ 9 - 9
dc-mdm/src/main/java/com/datau/mdm/controller/KpiManageController.java

@@ -1,8 +1,9 @@
-package com.datau.mdm.controller;
+package com.ozs.mdm.controller;
 
 import java.util.List;
 import java.util.Map;
 
+import com.ozs.mdm.service.KpiManageService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -13,14 +14,13 @@ import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
-import com.datau.mdm.dto.ColumnInfoDTO;
-import com.datau.mdm.dto.KpiListColumnDTO;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.MdmInfoTable;
-import com.datau.mdm.service.KpiManageService;
-import com.datau.mdm.util.R;
-import com.datau.mdm.util.S;
+import com.ozs.mdm.dto.ColumnInfoDTO;
+import com.ozs.mdm.dto.KpiListColumnDTO;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmInfoTable;
+import com.ozs.mdm.util.R;
+import com.ozs.mdm.util.S;
 
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiImplicitParam;

+ 13 - 13
dc-mdm/src/main/java/com/datau/mdm/controller/StorageManageController.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.controller;
+package com.ozs.mdm.controller;
 
 import java.io.File;
 import java.io.FileInputStream;
@@ -11,6 +11,8 @@ import java.util.Map;
 import javax.servlet.ServletOutputStream;
 import javax.servlet.http.HttpServletResponse;
 
+import com.ozs.mdm.service.AccountApi;
+import com.ozs.mdm.service.StorageManageService;
 import org.apache.poi.util.IOUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -26,18 +28,16 @@ import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.multipart.MultipartFile;
 
-import com.datau.mdm.dto.CreateTableCopyDTO;
-import com.datau.mdm.dto.MdmCreateTableDTO;
-import com.datau.mdm.dto.MdmDimColumnType;
-import com.datau.mdm.dto.MdmDimCreateOption;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.MdmInfoTable;
-import com.datau.mdm.dto.UpdateTableDTO;
-import com.datau.mdm.service.AccountApi;
-import com.datau.mdm.service.StorageManageService;
-import com.datau.mdm.util.R;
-import com.datau.mdm.util.S;
+import com.ozs.mdm.dto.CreateTableCopyDTO;
+import com.ozs.mdm.dto.MdmCreateTableDTO;
+import com.ozs.mdm.dto.MdmDimColumnType;
+import com.ozs.mdm.dto.MdmDimCreateOption;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmInfoTable;
+import com.ozs.mdm.dto.UpdateTableDTO;
+import com.ozs.mdm.util.R;
+import com.ozs.mdm.util.S;
 
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiImplicitParam;

+ 5 - 7
dc-mdm/src/main/java/com/datau/mdm/controller/SupportController.java

@@ -1,10 +1,10 @@
-package com.datau.mdm.controller;
+package com.ozs.mdm.controller;
 
 import com.alibaba.fastjson.JSONObject;
-import com.datau.mdm.dto.MdmInfoDataSourceInterfaceParamInDTO;
-import com.datau.mdm.dto.interfacedto.CallInterFaceParamDTO;
-import com.datau.mdm.service.InterfaceDataSourcesService;
-import com.datau.mdm.service.util.ReturnUtil;
+import com.ozs.mdm.dto.MdmInfoDataSourceInterfaceParamInDTO;
+import com.ozs.mdm.dto.interfacedto.CallInterFaceParamDTO;
+import com.ozs.mdm.service.InterfaceDataSourcesService;
+import com.ozs.mdm.service.util.ReturnUtil;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiParam;
@@ -16,9 +16,7 @@ import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RestController;
 import org.springframework.web.client.RestTemplate;
 
-import java.util.HashMap;
 import java.util.List;
-import java.util.Map;
 
 @Api(tags = { "数据中心-提供服务接口" })
 @RestController

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/ColumnInfoDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import java.util.Date;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/CreateTableCopyDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import java.util.List;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/KpiListColumnDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmCreateTableDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import java.util.List;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimColumnType.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimCreateOption.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDataSourceInterfaceMethodDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDataSourceInterfaceParamFormatDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDataSourceInterfaceProtocolDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDataSourceInterfaceStatusDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimDatabaseType.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimResourceCharset.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmDimResourceType.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoColumn.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceParamInDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceParamOutDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceProjectDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDataSourceInterfaceVO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoDatabase.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import java.util.Date;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmInfoTable.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import java.util.Date;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/MdmTreeDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/PageParams.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 /**
  * @author 宋显哲

+ 2 - 2
dc-mdm/src/main/java/com/datau/mdm/dto/ReturnData.java

@@ -1,6 +1,6 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
-import com.datau.mdm.constant.StatusCode;
+import com.ozs.mdm.constant.StatusCode;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/UpdateColumnDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/UpdateTableDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto;
+package com.ozs.mdm.dto;
 
 import java.util.List;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/dto/interfacedto/CallInterFaceParamDTO.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.dto.interfacedto;
+package com.ozs.mdm.dto.interfacedto;
 
 import java.util.Map;
 

+ 2 - 2
dc-mdm/src/main/java/com/datau/mdm/dto/interfacedto/CallInterFaceResultDTO.java

@@ -1,8 +1,8 @@
-package com.datau.mdm.dto.interfacedto;
+package com.ozs.mdm.dto.interfacedto;
 
 import java.util.List;
 
-import com.datau.mdm.dto.MdmInfoDataSourceInterfaceParamOutDTO;
+import com.ozs.mdm.dto.MdmInfoDataSourceInterfaceParamOutDTO;
 
 import io.swagger.annotations.ApiModelProperty;
 

+ 5 - 5
dc-mdm/src/main/java/com/datau/mdm/mapper/DatabaseManageMapper.java

@@ -1,13 +1,13 @@
-package com.datau.mdm.mapper;
+package com.ozs.mdm.mapper;
 
 import java.util.List;
 
 import org.apache.ibatis.annotations.Param;
 
-import com.datau.mdm.dto.MdmDimDatabaseType;
-import com.datau.mdm.dto.MdmDimResourceCharset;
-import com.datau.mdm.dto.MdmDimResourceType;
-import com.datau.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmDimDatabaseType;
+import com.ozs.mdm.dto.MdmDimResourceCharset;
+import com.ozs.mdm.dto.MdmDimResourceType;
+import com.ozs.mdm.dto.MdmInfoDatabase;
 
 public interface DatabaseManageMapper {
 

+ 2 - 2
dc-mdm/src/main/java/com/datau/mdm/mapper/InterfaceDataProjectMapper.java

@@ -1,6 +1,6 @@
-package com.datau.mdm.mapper;
+package com.ozs.mdm.mapper;
 
-import com.datau.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO;
+import com.ozs.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO;
 import org.apache.ibatis.annotations.Param;
 
 import java.util.List;

+ 2 - 2
dc-mdm/src/main/java/com/datau/mdm/mapper/InterfaceDataSourcesMapper.java

@@ -1,7 +1,7 @@
-package com.datau.mdm.mapper;
+package com.ozs.mdm.mapper;
 
 import com.datau.mdm.dto.*;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.*;
 import org.apache.ibatis.annotations.Param;
 import java.util.List;
 

+ 6 - 7
dc-mdm/src/main/java/com/datau/mdm/mapper/KpiManageMapper.java

@@ -1,15 +1,14 @@
-package com.datau.mdm.mapper;
+package com.ozs.mdm.mapper;
 
 import java.util.List;
 
 import org.apache.ibatis.annotations.Param;
 
-import com.datau.mdm.dto.ColumnInfoDTO;
-import com.datau.mdm.dto.KpiListColumnDTO;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.MdmInfoTable;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.ColumnInfoDTO;
+import com.ozs.mdm.dto.KpiListColumnDTO;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmInfoTable;
 
 public interface KpiManageMapper {
 

+ 9 - 9
dc-mdm/src/main/java/com/datau/mdm/mapper/StorageManageMapper.java

@@ -1,17 +1,17 @@
-package com.datau.mdm.mapper;
+package com.ozs.mdm.mapper;
 
 import java.util.List;
 
 import org.apache.ibatis.annotations.Param;
 
-import com.datau.mdm.dto.MdmCreateTableDTO;
-import com.datau.mdm.dto.MdmDimColumnType;
-import com.datau.mdm.dto.MdmDimCreateOption;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.MdmInfoTable;
-import com.datau.mdm.dto.UpdateColumnDTO;
-import com.datau.mdm.dto.UpdateTableDTO;
+import com.ozs.mdm.dto.MdmCreateTableDTO;
+import com.ozs.mdm.dto.MdmDimColumnType;
+import com.ozs.mdm.dto.MdmDimCreateOption;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmInfoTable;
+import com.ozs.mdm.dto.UpdateColumnDTO;
+import com.ozs.mdm.dto.UpdateTableDTO;
 
 public interface StorageManageMapper {
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/service/AccountApi.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.service;
+package com.ozs.mdm.service;
 
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.GetMapping;

+ 6 - 6
dc-mdm/src/main/java/com/datau/mdm/service/DatabaseManageService.java

@@ -1,12 +1,12 @@
-package com.datau.mdm.service;
+package com.ozs.mdm.service;
 
 import java.util.List;
 
-import com.datau.mdm.dto.MdmDimDatabaseType;
-import com.datau.mdm.dto.MdmDimResourceCharset;
-import com.datau.mdm.dto.MdmDimResourceType;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.MdmDimDatabaseType;
+import com.ozs.mdm.dto.MdmDimResourceCharset;
+import com.ozs.mdm.dto.MdmDimResourceType;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.util.R;
 
 public interface DatabaseManageService {
 

+ 3 - 2
dc-mdm/src/main/java/com/datau/mdm/service/InterfaceDataSourcesService.java

@@ -1,8 +1,9 @@
-package com.datau.mdm.service;
+package com.ozs.mdm.service;
 
 import com.alibaba.fastjson.JSONObject;
 import com.datau.mdm.dto.*;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.*;
+import com.ozs.mdm.util.R;
 
 import java.util.List;
 

+ 3 - 3
dc-mdm/src/main/java/com/datau/mdm/service/InterfaceProjectService.java

@@ -1,7 +1,7 @@
-package com.datau.mdm.service;
+package com.ozs.mdm.service;
 
-import com.datau.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO;
+import com.ozs.mdm.util.R;
 
 import java.util.List;
 

+ 2 - 2
dc-mdm/src/main/java/com/datau/mdm/service/KpiConfigApi.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.service;
+package com.ozs.mdm.service;
 
 import java.util.List;
 import java.util.Map;
@@ -7,7 +7,7 @@ import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestParam;
 
-import com.datau.mdm.util.R;
+import com.ozs.mdm.util.R;
 
 /**
  * 

+ 7 - 7
dc-mdm/src/main/java/com/datau/mdm/service/KpiManageService.java

@@ -1,14 +1,14 @@
-package com.datau.mdm.service;
+package com.ozs.mdm.service;
 
 import java.util.List;
 import java.util.Map;
 
-import com.datau.mdm.dto.ColumnInfoDTO;
-import com.datau.mdm.dto.KpiListColumnDTO;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.MdmInfoTable;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.ColumnInfoDTO;
+import com.ozs.mdm.dto.KpiListColumnDTO;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmInfoTable;
+import com.ozs.mdm.util.R;
 
 public interface KpiManageService {
 

+ 10 - 10
dc-mdm/src/main/java/com/datau/mdm/service/StorageManageService.java

@@ -1,19 +1,19 @@
-package com.datau.mdm.service;
+package com.ozs.mdm.service;
 
 import java.util.List;
 import java.util.Map;
 
 import org.springframework.web.multipart.MultipartFile;
 
-import com.datau.mdm.dto.CreateTableCopyDTO;
-import com.datau.mdm.dto.MdmCreateTableDTO;
-import com.datau.mdm.dto.MdmDimColumnType;
-import com.datau.mdm.dto.MdmDimCreateOption;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.MdmInfoTable;
-import com.datau.mdm.dto.UpdateTableDTO;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.CreateTableCopyDTO;
+import com.ozs.mdm.dto.MdmCreateTableDTO;
+import com.ozs.mdm.dto.MdmDimColumnType;
+import com.ozs.mdm.dto.MdmDimCreateOption;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmInfoTable;
+import com.ozs.mdm.dto.UpdateTableDTO;
+import com.ozs.mdm.util.R;
 
 public interface StorageManageService {
 

+ 15 - 15
dc-mdm/src/main/java/com/datau/mdm/service/impl/DatabaseManageServiceImpl.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.service.impl;
+package com.ozs.mdm.service.impl;
 
 import java.sql.SQLException;
 import java.util.ArrayList;
@@ -6,26 +6,26 @@ import java.util.List;
 import java.util.Map;
 import java.util.UUID;
 
+import com.ozs.mdm.mapper.DatabaseManageMapper;
+import com.ozs.mdm.mapper.StorageManageMapper;
+import com.ozs.mdm.service.DatabaseManageService;
+import com.ozs.mdm.service.KpiConfigApi;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 
-import com.datau.mdm.dto.MdmCreateTableDTO;
-import com.datau.mdm.dto.MdmDimColumnType;
-import com.datau.mdm.dto.MdmDimDatabaseType;
-import com.datau.mdm.dto.MdmDimResourceCharset;
-import com.datau.mdm.dto.MdmDimResourceType;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.mapper.DatabaseManageMapper;
-import com.datau.mdm.mapper.StorageManageMapper;
-import com.datau.mdm.service.DatabaseManageService;
-import com.datau.mdm.service.KpiConfigApi;
-import com.datau.mdm.util.JDBCUtil;
-import com.datau.mdm.util.ParamUtil;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.MdmCreateTableDTO;
+import com.ozs.mdm.dto.MdmDimColumnType;
+import com.ozs.mdm.dto.MdmDimDatabaseType;
+import com.ozs.mdm.dto.MdmDimResourceCharset;
+import com.ozs.mdm.dto.MdmDimResourceType;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.util.JDBCUtil;
+import com.ozs.mdm.util.ParamUtil;
+import com.ozs.mdm.util.R;
 
 @Service
 public class DatabaseManageServiceImpl implements DatabaseManageService {

+ 5 - 4
dc-mdm/src/main/java/com/datau/mdm/service/impl/InterfaceDataSourcesServiceImpl.java

@@ -1,11 +1,12 @@
-package com.datau.mdm.service.impl;
+package com.ozs.mdm.service.impl;
 
 
 import com.alibaba.fastjson.JSONObject;
 import com.datau.mdm.dto.*;
-import com.datau.mdm.mapper.InterfaceDataSourcesMapper;
-import com.datau.mdm.service.InterfaceDataSourcesService;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.*;
+import com.ozs.mdm.mapper.InterfaceDataSourcesMapper;
+import com.ozs.mdm.service.InterfaceDataSourcesService;
+import com.ozs.mdm.util.R;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;

+ 5 - 5
dc-mdm/src/main/java/com/datau/mdm/service/impl/InterfaceProjectServiceImpl.java

@@ -1,9 +1,9 @@
-package com.datau.mdm.service.impl;
+package com.ozs.mdm.service.impl;
 
-import com.datau.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO;
-import com.datau.mdm.mapper.InterfaceDataProjectMapper;
-import com.datau.mdm.service.InterfaceProjectService;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO;
+import com.ozs.mdm.mapper.InterfaceDataProjectMapper;
+import com.ozs.mdm.service.InterfaceProjectService;
+import com.ozs.mdm.util.R;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 

+ 11 - 12
dc-mdm/src/main/java/com/datau/mdm/service/impl/KpiManageServiceImpl.java

@@ -1,22 +1,21 @@
-package com.datau.mdm.service.impl;
+package com.ozs.mdm.service.impl;
 
-import java.sql.SQLException;
 import java.util.List;
 import java.util.Map;
 
+import com.ozs.mdm.mapper.KpiManageMapper;
+import com.ozs.mdm.mapper.StorageManageMapper;
+import com.ozs.mdm.service.KpiManageService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
-import com.datau.mdm.dto.ColumnInfoDTO;
-import com.datau.mdm.dto.KpiListColumnDTO;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.MdmInfoTable;
-import com.datau.mdm.mapper.KpiManageMapper;
-import com.datau.mdm.mapper.StorageManageMapper;
-import com.datau.mdm.service.KpiManageService;
-import com.datau.mdm.util.JDBCUtil;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.ColumnInfoDTO;
+import com.ozs.mdm.dto.KpiListColumnDTO;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmInfoTable;
+import com.ozs.mdm.util.JDBCUtil;
+import com.ozs.mdm.util.R;
 
 @Service
 public class KpiManageServiceImpl implements KpiManageService {

+ 17 - 17
dc-mdm/src/main/java/com/datau/mdm/service/impl/StorageManageServiceImpl.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.service.impl;
+package com.ozs.mdm.service.impl;
 
 import java.io.File;
 import java.sql.SQLException;
@@ -8,6 +8,9 @@ import java.util.List;
 import java.util.Map;
 import java.util.UUID;
 
+import com.ozs.mdm.mapper.StorageManageMapper;
+import com.ozs.mdm.service.KpiConfigApi;
+import com.ozs.mdm.service.StorageManageService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -15,22 +18,19 @@ import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.multipart.MultipartFile;
 
-import com.datau.mdm.dto.CreateTableCopyDTO;
-import com.datau.mdm.dto.MdmCreateTableDTO;
-import com.datau.mdm.dto.MdmDimColumnType;
-import com.datau.mdm.dto.MdmDimCreateOption;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.MdmInfoTable;
-import com.datau.mdm.dto.UpdateTableDTO;
-import com.datau.mdm.mapper.StorageManageMapper;
-import com.datau.mdm.service.KpiConfigApi;
-import com.datau.mdm.service.StorageManageService;
-import com.datau.mdm.service.util.StorageManageServiceUtil;
-import com.datau.mdm.util.FileTool;
-import com.datau.mdm.util.JDBCUtil;
-import com.datau.mdm.util.R;
-import com.datau.mdm.util.S;
+import com.ozs.mdm.dto.CreateTableCopyDTO;
+import com.ozs.mdm.dto.MdmCreateTableDTO;
+import com.ozs.mdm.dto.MdmDimColumnType;
+import com.ozs.mdm.dto.MdmDimCreateOption;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.MdmInfoTable;
+import com.ozs.mdm.dto.UpdateTableDTO;
+import com.ozs.mdm.service.util.StorageManageServiceUtil;
+import com.ozs.mdm.util.FileTool;
+import com.ozs.mdm.util.JDBCUtil;
+import com.ozs.mdm.util.R;
+import com.ozs.mdm.util.S;
 
 @Service
 public class StorageManageServiceImpl extends StorageManageServiceUtil implements StorageManageService {

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/service/util/JsonUtil.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.service.util;
+package com.ozs.mdm.service.util;
 
 import com.fasterxml.jackson.databind.ObjectMapper;
 

+ 3 - 4
dc-mdm/src/main/java/com/datau/mdm/service/util/ReturnUtil.java

@@ -1,10 +1,9 @@
-package com.datau.mdm.service.util;
+package com.ozs.mdm.service.util;
 
 
 
-import com.datau.mdm.constant.StatusCode;
-import com.datau.mdm.dto.ReturnData;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.constant.StatusCode;
+import com.ozs.mdm.util.R;
 import com.github.pagehelper.Page;
 
 import javax.servlet.http.HttpServletResponse;

+ 11 - 11
dc-mdm/src/main/java/com/datau/mdm/service/util/StorageManageServiceUtil.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.service.util;
+package com.ozs.mdm.service.util;
 
 import java.io.File;
 import java.io.FileInputStream;
@@ -14,6 +14,8 @@ import java.util.UUID;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
+import com.ozs.mdm.mapper.StorageManageMapper;
+import com.ozs.mdm.service.KpiConfigApi;
 import org.apache.poi.ss.usermodel.Cell;
 import org.apache.poi.ss.usermodel.CellValue;
 import org.apache.poi.ss.usermodel.DataValidation;
@@ -39,16 +41,14 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Value;
 
-import com.datau.mdm.dto.MdmCreateTableDTO;
-import com.datau.mdm.dto.MdmDimColumnType;
-import com.datau.mdm.dto.MdmInfoColumn;
-import com.datau.mdm.dto.MdmInfoDatabase;
-import com.datau.mdm.dto.UpdateColumnDTO;
-import com.datau.mdm.dto.UpdateTableDTO;
-import com.datau.mdm.mapper.StorageManageMapper;
-import com.datau.mdm.service.KpiConfigApi;
-import com.datau.mdm.util.JDBCUtil;
-import com.datau.mdm.util.R;
+import com.ozs.mdm.dto.MdmCreateTableDTO;
+import com.ozs.mdm.dto.MdmDimColumnType;
+import com.ozs.mdm.dto.MdmInfoColumn;
+import com.ozs.mdm.dto.MdmInfoDatabase;
+import com.ozs.mdm.dto.UpdateColumnDTO;
+import com.ozs.mdm.dto.UpdateTableDTO;
+import com.ozs.mdm.util.JDBCUtil;
+import com.ozs.mdm.util.R;
 
 public class StorageManageServiceUtil {
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/util/FileTool.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.util;
+package com.ozs.mdm.util;
 
 import java.io.File;
 import java.io.FileOutputStream;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/util/JDBCUtil.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.util;
+package com.ozs.mdm.util;
 
 import java.sql.Connection;
 import java.sql.DriverManager;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/util/ParamUtil.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.util;
+package com.ozs.mdm.util;
 
 import java.text.ParseException;
 import java.text.SimpleDateFormat;

+ 2 - 3
dc-mdm/src/main/java/com/datau/mdm/util/R.java

@@ -1,9 +1,8 @@
-package com.datau.mdm.util;
+package com.ozs.mdm.util;
 
 import java.util.List;
 
-import com.datau.mdm.constant.StatusCode;
-import com.datau.mdm.dto.ReturnData;
+import com.ozs.mdm.constant.StatusCode;
 import org.springframework.context.annotation.Scope;
 import org.springframework.stereotype.Component;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/util/RestTemplateUtil.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.util;
+package com.ozs.mdm.util;
 
 import org.springframework.http.converter.StringHttpMessageConverter;
 import org.springframework.web.client.RestTemplate;

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/util/S.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.util;
+package com.ozs.mdm.util;
 
 import java.util.HashMap;
 

+ 1 - 1
dc-mdm/src/main/java/com/datau/mdm/util/ShellUtils.java

@@ -1,4 +1,4 @@
-package com.datau.mdm.util;
+package com.ozs.mdm.util;
 
 import java.io.BufferedReader;
 import java.io.IOException;

+ 5 - 5
dc-mdm/src/main/resources/application.yml

@@ -4,13 +4,13 @@ server:
     maxHttpHeaderSize: 102400
 log:
     file:
-        path: D:\
+        path: C:\workspace\logs
 #        path: /data/dyqd_app4/server-sr
         name: report.log
 datasource:
-    url: 10.199.10.6:3306/dc_test
-    username: dyqd_dc
-    password: Datau$dc19   
+    url: 124.70.58.209:1122/dc_test
+    username: admin
+    password: 106aD>>ql95K5S
 ###############常用配置项###############
 spring:
     cloud:
@@ -48,7 +48,7 @@ spring:
 logging:
     config: classpath:logback-spring.xml
     level:
-        com.datau.mdm.mapper: DEBUG
+        com.ozs.mdm.mapper: DEBUG
 mybatis:
     configuration:
         mapUnderscoreToCamelCase: true

+ 2 - 2
dc-mdm/src/main/resources/bootstrap.yml

@@ -1,7 +1,7 @@
 server: localhost
-port: 9876
+#port: 9876
 #server: 10.199.10.10
-#port: 9999
+port: 9999
 
 #spring:
 #    cloud:

+ 9 - 9
dc-mdm/src/main/resources/mybatis/DatabaseManageMapper.xml

@@ -1,9 +1,9 @@
 <?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.datau.mdm.mapper.DatabaseManageMapper">
+<mapper namespace="com.ozs.mdm.mapper.DatabaseManageMapper">
 
-	<insert id="saveDatabase" parameterType="com.datau.mdm.dto.MdmInfoDatabase">
+	<insert id="saveDatabase" parameterType="com.ozs.mdm.dto.MdmInfoDatabase">
 		insert into
 		mdm_info_database(id,resource_name,ip,resource_type,resource_port,
 		username,password,database_name,database_type,charset,update_user_id,update_time)
@@ -11,25 +11,25 @@
 		,#{password},#{databaseName},#{databaseType},#{charset},#{updateUserId},now())
 	</insert>
 
-	<select id="listDatabaseType" resultType="com.datau.mdm.dto.MdmDimDatabaseType">
+	<select id="listDatabaseType" resultType="com.ozs.mdm.dto.MdmDimDatabaseType">
 		select
 		id,type_name from
 		mdm_dim_database_type
 	</select>
 
-	<select id="listResourceType" resultType="com.datau.mdm.dto.MdmDimResourceType">
+	<select id="listResourceType" resultType="com.ozs.mdm.dto.MdmDimResourceType">
 		select
 		id,type_name from
 		mdm_dim_resource_type
 	</select>
 
-	<select id="listCharsetType" resultType="com.datau.mdm.dto.MdmDimResourceCharset">
+	<select id="listCharsetType" resultType="com.ozs.mdm.dto.MdmDimResourceCharset">
 		select
 		id,charset_name
 		from
 		mdm_dim_database_charset
 	</select>
-	<select id="listDatabase" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+	<select id="listDatabase" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		SELECT
 		mid.id,
 		resource_name,
@@ -68,13 +68,13 @@
 		</if>
 	</select>
 
-	<select id="getResorceTypeById" resultType="com.datau.mdm.dto.MdmDimResourceType">
+	<select id="getResorceTypeById" resultType="com.ozs.mdm.dto.MdmDimResourceType">
 		select
 		id,type_name,url,driver_name,type_desc from mdm_dim_resource_type
 		where
 		id = #{resourceType}
 	</select>
-	<select id="getDatabaseById" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+	<select id="getDatabaseById" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		SELECT
 		mid.id,
 		resource_name,
@@ -102,7 +102,7 @@
 			and mid.id = #{id}
 		</if>
 	</select>
-	<update id="updateDatabase" parameterType="com.datau.mdm.dto.MdmInfoDatabase">
+	<update id="updateDatabase" parameterType="com.ozs.mdm.dto.MdmInfoDatabase">
 
 		update mdm_info_database set
 		update_time = now()

+ 20 - 20
dc-mdm/src/main/resources/mybatis/InterfaceDataSourcesMapper.xml

@@ -1,8 +1,8 @@
 <?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.datau.mdm.mapper.InterfaceDataSourcesMapper">
-	<insert id="addInterfaceDataSources" parameterType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceDTO">
+<mapper namespace="com.ozs.mdm.mapper.InterfaceDataSourcesMapper">
+	<insert id="addInterfaceDataSources" parameterType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceDTO">
 		INSERT INTO `mdm_info_data_source_interface` (
   			interface_id,
   			interface_name,
@@ -17,17 +17,17 @@
 
 
 
-	<select id="getProjectId" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceDTO">
+	<select id="getProjectId" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceDTO">
 		SELECT project_id FROM `mdm_info_data_source_interface`
 		WHERE
 		interface_id = #{InterfaceId}
 	</select>
-	<select id="getProtocolId" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceDTO">
+	<select id="getProtocolId" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceDTO">
 		SELECT protocol_id FROM `mdm_info_data_source_interface`
 		WHERE
 		interface_id = #{InterfaceId}
 	</select>
-	<select id="getMethodId" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceDTO">
+	<select id="getMethodId" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceDTO">
 		SELECT method_id FROM `mdm_info_data_source_interface`
 		WHERE
 		interface_id = #{InterfaceId}
@@ -59,21 +59,21 @@
 	</delete>
 
 
-	<select id="listRequestMode" resultType="com.datau.mdm.dto.MdmDimDataSourceInterfaceMethodDTO">
+	<select id="listRequestMode" resultType="com.ozs.mdm.dto.MdmDimDataSourceInterfaceMethodDTO">
 		SELECT method_id,method_name FROM `mdm_dim_data_source_interface_method`
 	</select>
 
 
-	<select id="listInterfaceDataSourcesStatus" resultType="com.datau.mdm.dto.MdmDimDataSourceInterfaceStatusDTO">
+	<select id="listInterfaceDataSourcesStatus" resultType="com.ozs.mdm.dto.MdmDimDataSourceInterfaceStatusDTO">
 		SELECT status_id,STATUS FROM `mdm_dim_data_source_interface_status`
 	</select>
-	<select id="getStatusById" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceDTO">
+	<select id="getStatusById" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceDTO">
 		SELECT status_id FROM `mdm_info_data_source_interface`
 		WHERE
 		interface_id = #{InterfaceId}
 	</select>
 
-	<update id="updateInterfaceDataSourcesStatus" parameterType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceDTO">
+	<update id="updateInterfaceDataSourcesStatus" parameterType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceDTO">
 		 UPDATE
 		  `mdm_info_data_source_interface`
 		SET
@@ -81,7 +81,7 @@
 		WHERE interface_id = #{interfaceId}
     </update>
 
-	<select id="listInterfaceDataSources" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceDTO">
+	<select id="listInterfaceDataSources" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceDTO">
 		SELECT
 		mds.interface_id AS interfaceId,
 		mds.`interface_name` AS interfaceName,
@@ -128,7 +128,7 @@
 		</if>
 	</select>
 
-	<update id="updateInterfaceDataSourcesById" parameterType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceVO">
+	<update id="updateInterfaceDataSourcesById" parameterType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceVO">
 		UPDATE
 		`mdm_info_data_source_interface`
 		SET
@@ -168,7 +168,7 @@
 		</foreach>
 	</insert>
 
-	<select id="getInterfaceDataSourcesById" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceVO">
+	<select id="getInterfaceDataSourcesById" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceVO">
 		SELECT
 			  mds.`interface_id` AS interfaceId,
 			  mds.`interface_name` AS interfaceName,
@@ -203,7 +203,7 @@
 		WHERE mds.`interface_id` = #{interfaceId}
 	</select>
 
-	<select id="getInterfaceParamIn" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceParamInDTO">
+	<select id="getInterfaceParamIn" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceParamInDTO">
 		SELECT
   			*
 			FROM
@@ -211,7 +211,7 @@
 			WHERE interface_id =#{interfaceId}
 	</select>
 
-	<select id="getInterfaceParamOut" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceParamOutDTO">
+	<select id="getInterfaceParamOut" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceParamOutDTO">
 			SELECT
 			  *
 			FROM
@@ -236,7 +236,7 @@
 		</foreach>
 	</insert>
 
-	<select id="listInterfaceName" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceVO">
+	<select id="listInterfaceName" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceVO">
 			SELECT
 				 mds.`interface_id`,
  				 mds.`interface_name`
@@ -244,7 +244,7 @@
   			`mdm_info_data_source_interface` mds
 	</select>
 
-	<select id="getInterfaceByProjectId" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceVO">
+	<select id="getInterfaceByProjectId" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceVO">
 		SELECT
  			 mds.`interface_id`,
   			 mds.`interface_name`
@@ -255,7 +255,7 @@
     	WHERE midp.`project_id`=#{projectId}
 	</select>
 
-	<select id="getInterfaceOutParamsByInterfaceId" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceParamOutDTO">
+	<select id="getInterfaceOutParamsByInterfaceId" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceParamOutDTO">
 		SELECT
 			 mido.`param_id`,
  			 mido.`node_name`
@@ -277,7 +277,7 @@
 		WHERE mds.`interface_id` = #{interfaceId}
 	</select>
 
-	<select id="getInterfaceInParamsByInterfaceId" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceParamInDTO">
+	<select id="getInterfaceInParamsByInterfaceId" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceParamInDTO">
 		SELECT
  			 midi.`param_id`,
  			 midi.`param_key`,
@@ -289,7 +289,7 @@
 		WHERE mds.`interface_id` = #{interfaceId}
 	</select>
 
-	<select id="listInterfaceInfo" resultType="com.datau.mdm.dto.MdmTreeDTO">
+	<select id="listInterfaceInfo" resultType="com.ozs.mdm.dto.MdmTreeDTO">
 			SELECT
   				mds.`interface_id` AS id,
   				mds.`interface_name` AS name,
@@ -298,7 +298,7 @@
 			FROM
  				 `mdm_info_data_source_interface` mds
 	</select>
-	<select id="listInterfaceProjectInfo" resultType="com.datau.mdm.dto.MdmTreeDTO">
+	<select id="listInterfaceProjectInfo" resultType="com.ozs.mdm.dto.MdmTreeDTO">
 			SELECT
   				midp.`project_id` AS id,
   				midp.`project_name` AS name,

+ 5 - 5
dc-mdm/src/main/resources/mybatis/InterfaceProjectMapper.xml

@@ -1,9 +1,9 @@
 <?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.datau.mdm.mapper.InterfaceDataProjectMapper">
+<mapper namespace="com.ozs.mdm.mapper.InterfaceDataProjectMapper">
 
-	<insert id="addInterfaceProject" parameterType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO">
+	<insert id="addInterfaceProject" parameterType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO">
 
 		INSERT INTO `mdm_info_data_source_interface_project` (
 			  project_id,
@@ -15,7 +15,7 @@
 			VALUES
 			(uuid(),#{projectName},#{checkCode},now())
 	</insert>
-	<select id="listInterfaceProject" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO">
+	<select id="listInterfaceProject" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO">
 		SELECT
 		mip.`project_id` AS projectId,
 		mip.`project_name` AS projectName,
@@ -31,7 +31,7 @@
 	</select>
 
 
-	<select id="getInterfaceProjectById" resultType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO">
+	<select id="getInterfaceProjectById" resultType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO">
 		SELECT
 		mip.`project_id` AS projectId,
 		mip.`project_name` AS projectName,
@@ -42,7 +42,7 @@
 		`mdm_info_data_source_interface_project` mip
 		WHERE mip.`project_id`=#{projectId}
 	</select>
-	<update id="updateInterfaceProjectById" parameterType="com.datau.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO">
+	<update id="updateInterfaceProjectById" parameterType="com.ozs.mdm.dto.MdmInfoDataSourceInterfaceProjectDTO">
 		update mdm_info_data_source_interface_project set
 		<if test="projectName !=null &amp;&amp; projectName !=''">
 			project_name = #{projectName}

+ 9 - 9
dc-mdm/src/main/resources/mybatis/KpiManageMapper.xml

@@ -1,8 +1,8 @@
 <?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.datau.mdm.mapper.KpiManageMapper">
-	<select id="listDatabase" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+<mapper namespace="com.ozs.mdm.mapper.KpiManageMapper">
+	<select id="listDatabase" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		select
 		id,resource_name,database_name from mdm_info_database where 1=1
 		and database_type != 1
@@ -10,7 +10,7 @@
 			and resource_name like concat('',#{resourceName},'')
 		</if>
 	</select>
-	<select id="listTableByDatabaseId" resultType="com.datau.mdm.dto.MdmInfoTable">
+	<select id="listTableByDatabaseId" resultType="com.ozs.mdm.dto.MdmInfoTable">
 		select id
 		,table_name,table_comment from mdm_info_table where 1=1
 		<if test="databaseId !=null &amp;&amp; databaseId !=''">
@@ -18,7 +18,7 @@
 			#{databaseId}
 		</if>
 	</select>
-	<select id="listColumnByTableId" resultType="com.datau.mdm.dto.MdmInfoColumn">
+	<select id="listColumnByTableId" resultType="com.ozs.mdm.dto.MdmInfoColumn">
 		SELECT
 		mic.id,
 		column_code,
@@ -44,7 +44,7 @@
 
 	</select>
 
-	<select id="listColumn" resultType="com.datau.mdm.dto.KpiListColumnDTO">
+	<select id="listColumn" resultType="com.ozs.mdm.dto.KpiListColumnDTO">
 		SELECT
 		mic.id,
 		mic.column_code,
@@ -88,7 +88,7 @@
 
 	</select>
 
-	<select id="listColumnByIds" resultType="com.datau.mdm.dto.MdmInfoColumn">
+	<select id="listColumnByIds" resultType="com.ozs.mdm.dto.MdmInfoColumn">
 		SELECT
 		mic.id,
 		column_code,
@@ -109,7 +109,7 @@
 	</select>
 
 
-	<select id="getColumnInfoByIds" resultType="com.datau.mdm.dto.ColumnInfoDTO">
+	<select id="getColumnInfoByIds" resultType="com.ozs.mdm.dto.ColumnInfoDTO">
 		SELECT
 		mic.id,
 		mic.column_comment,
@@ -132,7 +132,7 @@
 		where
 		mic.id = #{id}
 	</select>
-	<select id="listOriginal" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+	<select id="listOriginal" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		select
 		id,resource_name,database_name from mdm_info_database where 1=1
 		and database_type = 1
@@ -140,7 +140,7 @@
 			and resource_name like concat('',#{resourceName},'')
 		</if>
 	</select>
-	<select id="getDatabase" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+	<select id="getDatabase" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		select mid.id,
 		mid.resource_name,
 		mid.ip,

+ 24 - 24
dc-mdm/src/main/resources/mybatis/StorageManageMapper.xml

@@ -1,9 +1,9 @@
 <?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.datau.mdm.mapper.StorageManageMapper">
+<mapper namespace="com.ozs.mdm.mapper.StorageManageMapper">
 
-	<select id="listDatabaseOption" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+	<select id="listDatabaseOption" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		SELECT
 		mid.id,
 		resource_name,
@@ -21,7 +21,7 @@
 			and resource_name like concat('%',#{resourceName},'%')
 		</if>
 	</select>
-	<select id="listDatabaseOptionAll" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+	<select id="listDatabaseOptionAll" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		SELECT
 		mid.id,
 		resource_name,
@@ -38,12 +38,12 @@
 			and resource_name like concat('%',#{resourceName},'%')
 		</if>
 	</select>
-	<select id="listCreateTableOption" resultType="com.datau.mdm.dto.MdmDimCreateOption">
+	<select id="listCreateTableOption" resultType="com.ozs.mdm.dto.MdmDimCreateOption">
 		select id,name
 		from mdm_dim_create_option
 	</select>
 
-	<select id="listColumnTypeByIds" resultType="com.datau.mdm.dto.MdmDimColumnType">
+	<select id="listColumnTypeByIds" resultType="com.ozs.mdm.dto.MdmDimColumnType">
 		select id,type_name,is_float_point,is_time from mdm_dim_column_type
 		where id in(
 		<foreach collection="list" separator="," item="column">
@@ -52,7 +52,7 @@
 		)
 	</select>
 
-	<select id="getDatabaseById" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+	<select id="getDatabaseById" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		select mid.id,
 		mid.resource_name,
 		mid.ip,
@@ -82,7 +82,7 @@
 			and id = #{charsetId}
 		</if>
 	</select>
-	<insert id="saveTable" parameterType="com.datau.mdm.dto.MdmCreateTableDTO">
+	<insert id="saveTable" parameterType="com.ozs.mdm.dto.MdmCreateTableDTO">
 		insert into
 		mdm_info_table(id,table_name,table_comment,table_desc,database_id,charset
 		,hive_separator_row,hive_separator_column,hive_partition,update_user_id,update_time)
@@ -114,7 +114,7 @@
 		#{resourceType}
 	</select>
 
-	<select id="listColumnTypeByNames" resultType="com.datau.mdm.dto.MdmDimColumnType">
+	<select id="listColumnTypeByNames" resultType="com.ozs.mdm.dto.MdmDimColumnType">
 		select id,type_name from mdm_dim_column_type where type_name
 		in(
 		<foreach collection="list" separator="," item="column">
@@ -122,7 +122,7 @@
 		</foreach>
 		)
 	</select>
-	<select id="listTable" resultType="com.datau.mdm.dto.MdmInfoTable">
+	<select id="listTable" resultType="com.ozs.mdm.dto.MdmInfoTable">
 		select
 		mit.id,table_comment,table_name,mid.database_name,mid.resource_name,mit.update_time,
 		diu.nickname updateUserName
@@ -143,7 +143,7 @@
 			and mit.database_id = #{databaseId}
 		</if>
 	</select>
-	<select id="listTableScan" resultType="com.datau.mdm.dto.MdmInfoTable">
+	<select id="listTableScan" resultType="com.ozs.mdm.dto.MdmInfoTable">
 		select
 		mit.id,table_comment,table_name,mid.database_name,mid.resource_name,mit.update_time,
 		diu.nickname updateUserName
@@ -163,7 +163,7 @@
 			and mit.database_id = #{databaseId}
 		</if>
 	</select>
-	<select id="getTableInfoById" resultType="com.datau.mdm.dto.MdmCreateTableDTO">
+	<select id="getTableInfoById" resultType="com.ozs.mdm.dto.MdmCreateTableDTO">
 		SELECT
 		mit.id,
 		table_name,
@@ -195,7 +195,7 @@
 		select id from
 		mdm_info_column where table_id = #{tableId}
 	</select>
-	<insert id="saveUpdateColumn" parameterType="com.datau.mdm.dto.UpdateColumnDTO">
+	<insert id="saveUpdateColumn" parameterType="com.ozs.mdm.dto.UpdateColumnDTO">
 		insert into
 		mdm_info_column(id,column_code,column_name,column_comment,column_type,length
 		,numeric_scale,if_primary,if_null,table_id,update_user_id,update_time)
@@ -205,7 +205,7 @@
 			,#{column.numericScale},#{column.ifPrimary},#{column.ifNull},#{column.tableId},#{column.updateUserId},now())
 		</foreach>
 	</insert>
-	<update id="updateUpdateColumn" parameterType="com.datau.mdm.dto.UpdateColumnDTO">
+	<update id="updateUpdateColumn" parameterType="com.ozs.mdm.dto.UpdateColumnDTO">
 		update
 		mdm_info_column set
 		column_name = case
@@ -256,14 +256,14 @@
 		</foreach>
 		)
 	</update>
-	<delete id="removeUpdateColumn" parameterType="com.datau.mdm.dto.UpdateColumnDTO">
+	<delete id="removeUpdateColumn" parameterType="com.ozs.mdm.dto.UpdateColumnDTO">
 		delete from mdm_info_column where id in(
 		<foreach collection="list" separator="," item="column">
 			#{column.id}
 		</foreach>
 		)
 	</delete>
-	<update id="updateTableInfo" parameterType="com.datau.mdm.dto.UpdateTableDTO">
+	<update id="updateTableInfo" parameterType="com.ozs.mdm.dto.UpdateTableDTO">
 		update mdm_info_table
 		set
 		<if test="newTableName !=null &amp;&amp; newTableName !=''">
@@ -284,7 +284,7 @@
 		now()
 		where id = #{id}
 	</update>
-	<select id="listColumsByTableId" resultType="com.datau.mdm.dto.MdmInfoColumn">
+	<select id="listColumsByTableId" resultType="com.ozs.mdm.dto.MdmInfoColumn">
 		SELECT
 		mic.id,
 		mic.column_code,
@@ -316,7 +316,7 @@
 		order by column_code
 	</select>
 
-	<select id="listColumTypeByDatabaseType" resultType="com.datau.mdm.dto.MdmDimColumnType">
+	<select id="listColumTypeByDatabaseType" resultType="com.ozs.mdm.dto.MdmDimColumnType">
 		select id,type_desc,type_name,resource_type,is_float_point,is_time
 		from
 		mdm_dim_column_type
@@ -326,7 +326,7 @@
 		</if>
 	</select>
 
-	<select id="getDatabaseByTableId" resultType="com.datau.mdm.dto.MdmInfoDatabase">
+	<select id="getDatabaseByTableId" resultType="com.ozs.mdm.dto.MdmInfoDatabase">
 		select mid.id,
 		mid.resource_name,
 		mid.ip,
@@ -354,7 +354,7 @@
 			and mit.id = #{tableId}
 		</if>
 	</select>
-	<select id="listCreateTableByIds" resultType="com.datau.mdm.dto.MdmCreateTableDTO">
+	<select id="listCreateTableByIds" resultType="com.ozs.mdm.dto.MdmCreateTableDTO">
 		select
 		mit.id tableId,table_comment,mit.charset
 		charsetId,table_desc,table_name,mid.database_name,mid.resource_name,mddc.charset_name
@@ -368,7 +368,7 @@
 		</foreach>
 		)
 	</select>
-	<select id="listColumnByTableIds" resultType="com.datau.mdm.dto.MdmInfoColumn">
+	<select id="listColumnByTableIds" resultType="com.ozs.mdm.dto.MdmInfoColumn">
 		SELECT
 		mic.id,
 		mic.table_id,
@@ -403,7 +403,7 @@
 		select
 		table_name from mdm_info_table where database_id = #{databaseId}
 	</select>
-	<insert id="saveCopyTables" parameterType="com.datau.mdm.dto.MdmCreateTableDTO">
+	<insert id="saveCopyTables" parameterType="com.ozs.mdm.dto.MdmCreateTableDTO">
 		insert into
 		mdm_info_table(id,table_name,table_comment,table_desc,database_id,charset
 		,hive_separator_row,hive_separator_column,hive_partition,update_user_id,update_time)
@@ -413,11 +413,11 @@
 			,#{table.hiveSeparatorRow},#{table.hiveSeparatorColumn},#{table.hivePartition},#{table.updateUserId},now())
 		</foreach>
 	</insert>
-	<select id="listColumnTypeAll" resultType="com.datau.mdm.dto.MdmDimColumnType">
+	<select id="listColumnTypeAll" resultType="com.ozs.mdm.dto.MdmDimColumnType">
 		select
 		id,type_name,is_float_point,is_time from mdm_dim_column_type
 	</select>
-	<select id="listTableByDatabaseId" resultType="com.datau.mdm.dto.MdmCreateTableDTO">
+	<select id="listTableByDatabaseId" resultType="com.ozs.mdm.dto.MdmCreateTableDTO">
 		select
 		mit.id
 		tableId,table_comment,mit.charset
@@ -428,7 +428,7 @@
 		mid.charset = mddc.id where 1=1
 		and mit.database_id = #{databaseId}
 	</select>
-	<select id="listColumnByDatabaseId" resultType="com.datau.mdm.dto.MdmInfoColumn">
+	<select id="listColumnByDatabaseId" resultType="com.ozs.mdm.dto.MdmInfoColumn">
 		SELECT
 		mic.id,
 		mic.column_code,

+ 1 - 1
dc-mdm/src/test/java/com/datau/mdm/MdmApplicationTests.java

@@ -1,4 +1,4 @@
-package com.datau.mdm;
+package com.ozs.mdm;
 
 import org.junit.Test;
 import org.junit.runner.RunWith;