From b9df2fc5c64a1d989991655a9e42e4d1f2ec4075 Mon Sep 17 00:00:00 2001 From: hdy <1105738590@qq.com> Date: 星期四, 06 三月 2025 18:18:11 +0800 Subject: [PATCH] 修改 --- billion-admin/src/main/resources/application.yml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 50 insertions(+), 8 deletions(-) diff --git a/billion-admin/src/main/resources/application.yml b/billion-admin/src/main/resources/application.yml index 4406572..21814c5 100644 --- a/billion-admin/src/main/resources/application.yml +++ b/billion-admin/src/main/resources/application.yml @@ -16,7 +16,7 @@ # 寮�鍙戠幆澧冮厤缃� server: # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080 - port: 8080 + port: 8081 servlet: # 搴旂敤鐨勮闂矾寰� context-path: / @@ -106,20 +106,54 @@ # # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠� # configLocation: classpath:mybatis/mybatis-config.xml -# MyBatis Plus閰嶇疆 +## MyBatis Plus閰嶇疆 +#mybatis-plus: +# # 鎼滅储鎸囧畾鍖呭埆鍚� +# typeAliasesPackage: com.billion.**.domain +# # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 +# mapperLocations: classpath*:mapper/**/*Mapper.xml +# # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠� +# configLocation: classpath:mybatis/mybatis-config.xml + mybatis-plus: - # 鎼滅储鎸囧畾鍖呭埆鍚� - typeAliasesPackage: com.billion.**.domain - # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 + # 瀵瑰簲鐨� XML 鏂囦欢浣嶇疆 mapperLocations: classpath*:mapper/**/*Mapper.xml - # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠� - configLocation: classpath:mybatis/mybatis-config.xml + typeAliasesPackage: com.billion.**.domain + checkConfigLocation: false + executorType: SIMPLE + configuration: + mapUnderscoreToCamelCase: true + defaultEnumTypeHandler: org.apache.ibatis.type.EnumTypeHandler + aggressiveLazyLoading: true + autoMappingBehavior: PARTIAL + autoMappingUnknownColumnBehavior: NONE + localCacheScope: SESSION + # 寮�鍚疢ybatis浜岀骇缂撳瓨锛岄粯璁や负 true + cacheEnabled: true + global-config: + banner: true + enableSqlRunner: false + dbConfig: + idType: AUTO + tablePrefix: null + columnFormat: null + tableUnderline: true + capitalMode: false + logicDeleteField: del_flag + # 閫昏緫宸插垹闄ゅ�� + logicDeleteValue: "1" + # 閫昏緫鏈垹闄ゅ�� + logicNotDeleteValue: "0" + insertStrategy: NOT_NULL + updateStrategy: NOT_NULL + # PageHelper鍒嗛〉鎻掍欢 pagehelper: - helperDialect: mysql + # helperDialect: mysql supportMethodsArguments: true params: count=countSql + autoRuntimeDialect: true # Swagger閰嶇疆 swagger: @@ -136,3 +170,11 @@ excludes: /system/notice # 鍖归厤閾炬帴 urlPatterns: /system/*,/monitor/*,/tool/* + +kangaroohy: + milo: + primary: default + config: + default: + endpoint: opc.tcp://127.0.0.1:49320 + security-policy: none -- Gitblit v1.9.3