Browse Source

调整查询交付范围问题

lijie 3 years ago
parent
commit
8571e95dff

+ 1 - 1
dmp-business/dmp-rwd/src/main/resources/db/init/schema.sql

@@ -377,7 +377,7 @@ CREATE TABLE IF NOT EXISTS `dt_define_relation_delivery` (
   PRIMARY KEY (`id`) USING BTREE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
 
-CREATE TABLE `boss_bdtp_type_rel` (
+CREATE TABLE IF NOT EXISTS `boss_bdtp_type_rel` (
   `id` varchar(40) COLLATE utf8mb4_general_ci NOT NULL,
   `good_code` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT 'BOSS:商品编码',
   `type_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'BDTP:对象类型编码',

+ 1 - 1
dmp-comp/dmp-digital-starter/src/main/java/com/persagy/dmp/delivery/client/DigitalObjectTypeCollectClient.java

@@ -29,7 +29,7 @@ public interface DigitalObjectTypeCollectClient {
      * @param criteria 查询条件
      * @return 类型定义
      */
-    @PostMapping("")
+    @PostMapping("query")
     CommonResult<List<ObjectTypeCollect>> query(
             @RequestParam("groupCode") String groupCode,
             @RequestParam("projectId") String projectId,

+ 1 - 0
dmp-comp/dmp-digital-starter/src/main/java/com/persagy/dmp/delivery/dto/ObjectTypeCollectDTO.java

@@ -19,6 +19,7 @@ import javax.validation.constraints.NotNull;
 public class ObjectTypeCollectDTO extends ObjectTypeCollect {
     /** 类型名称 */
     private String name;
+    /** 数据字典定义编码 */
     private String aliasCode;
     /** 别名名称 */
     private String aliasName;