diff --git a/buildpackage/src/main/resources/application-llg.yml b/buildpackage/src/main/resources/application-llg.yml index 5ea08d90..4d3c35d1 100644 --- a/buildpackage/src/main/resources/application-llg.yml +++ b/buildpackage/src/main/resources/application-llg.yml @@ -22,15 +22,15 @@ spring: # password: 62e4295b615a30dbf3b8ee96f41c820b # driver-class-name: dm.jdbc.driver.DmDriver # type: com.alibaba.druid.pool.DruidDataSource -# url: jdbc:mysql://hzya.ufyct.com:9014/businesscenter?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true -# username: root -# password: 62e4295b615a30dbf3b8ee96f41c820b -# driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置 -# url: jdbc:dm://hzya.ufyct.com:9040/businesscenter?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8 - url: jdbc:dm://hzya.ufyct.com:9040?schema=businesscenter&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&compatibleMode=oracle - username: hzyazt + url: jdbc:mysql://hzya.ufyct.com:9014/businesscenter?serverTimezone=UTC&useUnicode=true&characterEncoding=UTF8&serverTimezone=GMT%2B8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowLoadLocalInfile=false&autoReconnect=true&failOverReadOnly=false&connectTimeout=30000&socketTimeout=30000&autoReconnectForPools=true + username: root password: 62e4295b615a30dbf3b8ee96f41c820b - driver-class-name: dm.jdbc.driver.DmDriver + driver-class-name: com.mysql.jdbc.Driver # 3.2.0开始支持SPI可省略此配置 +# url: jdbc:dm://hzya.ufyct.com:9040/businesscenter?zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8 +# url: jdbc:dm://hzya.ufyct.com:9040?schema=businesscenter&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8&compatibleMode=oracle +# username: hzyazt +# password: 62e4295b615a30dbf3b8ee96f41c820b +# driver-class-name: dm.jdbc.driver.DmDriver savefile: # 文件保存路径 path: /Users/apple/Desktop/log/local diff --git a/service/src/main/java/com/hzya/frame/mdm/mdmModule/service/impl/MdmModuleServiceImpl.java b/service/src/main/java/com/hzya/frame/mdm/mdmModule/service/impl/MdmModuleServiceImpl.java index ccb28b2a..2d59e3b7 100644 --- a/service/src/main/java/com/hzya/frame/mdm/mdmModule/service/impl/MdmModuleServiceImpl.java +++ b/service/src/main/java/com/hzya/frame/mdm/mdmModule/service/impl/MdmModuleServiceImpl.java @@ -880,6 +880,40 @@ public class MdmModuleServiceImpl extends BaseService i distribute_id.setCreate(); distribute_id.setDataType("1"); mdmModuleDbFiledsEntities.add(distribute_id); + + MdmModuleDbFiledsEntity app_id = new MdmModuleDbFiledsEntity(); + app_id.setMdmId(entity.getMdmId()); + app_id.setDbId(entity.getId()); + app_id.setEnName("app_id"); + app_id.setChName("app_id"); + app_id.setFiledType("3"); + app_id.setAddType("1"); + app_id.setUpdateType("1"); + app_id.setShowType("1"); + app_id.setQueryType("1"); + app_id.setListType("1"); + app_id.setViewType("1"); + app_id.setFiledLength("50"); + app_id.setCreate(); + app_id.setDataType("1"); + mdmModuleDbFiledsEntities.add(app_id); + + MdmModuleDbFiledsEntity api_id = new MdmModuleDbFiledsEntity(); + api_id.setMdmId(entity.getMdmId()); + api_id.setDbId(entity.getId()); + api_id.setEnName("api_id"); + api_id.setChName("api_id"); + api_id.setFiledType("3"); + api_id.setAddType("1"); + api_id.setUpdateType("1"); + api_id.setShowType("1"); + api_id.setQueryType("1"); + api_id.setListType("1"); + api_id.setViewType("1"); + api_id.setFiledLength("50"); + api_id.setCreate(); + api_id.setDataType("1"); + mdmModuleDbFiledsEntities.add(api_id); } if ("2".equals(entity.getDbType()) || "1".equals(entity.getDbType())) { MdmModuleDbFiledsEntity data_status = new MdmModuleDbFiledsEntity();