From bbafde6d4aecbbfaa452570faeaa25b4058d3a28 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期二, 22 八月 2023 15:55:43 +0800 Subject: [PATCH] 优化日志 --- ruoyi-admin/src/main/resources/application.yml | 27 +++++++++++++++++++-------- 1 files changed, 19 insertions(+), 8 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index f0684e6..6903577 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -39,6 +39,7 @@ com.ruoyi.utils.tube: debug com.ruoyi.inspect: info org.springframework: warn + com.example.mapper: debug # 鐢ㄦ埛閰嶇疆 user: @@ -102,15 +103,25 @@ expireTime: 30 # MyBatis閰嶇疆 -mybatis: - # 鎼滅储鎸囧畾鍖呭埆鍚� - typeAliasesPackage: com.ruoyi.**.domain - # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 - mapperLocations: classpath*:mapper/**/*Mapper.xml - # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠� - configLocation: classpath:mybatis/mybatis-config.xml +#mybatis: +# # 鎼滅储鎸囧畾鍖呭埆鍚� +# typeAliasesPackage: com.ruoyi.**.domain +# # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢 +# mapperLocations: classpath*:mapper/**/*Mapper.xml +# # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠� +# configLocation: classpath:mybatis/mybatis-config.xml mybatis-plus: - mapper-locations: classpath:mapper/*.xml #鎵弿mapper涓嬬殑鎵�鏈墄ml鏂囦欢 + type-Aliases-Package: com.ruoyi.**.domain + mapper-Locations: classpath*:mapper/**/*Mapper.xml + config-Location: classpath:mybatis/mybatis-config.xml +# configuration: +# # 鏄惁寮�鍚嚜鍔ㄩ┘宄板懡鍚嶈鍒欐槧灏�:浠庢暟鎹簱鍒楀悕鍒癑ava灞炴�ч┘宄板懡鍚嶇殑绫讳技鏄犲皠 +# map-underscore-to-camel-case: true +# # 濡傛灉鏌ヨ缁撴灉涓寘鍚┖鍊肩殑鍒楋紝鍒� MyBatis 鍦ㄦ槧灏勭殑鏃跺�欙紝涓嶄細鏄犲皠杩欎釜瀛楁 +# call-setters-on-nulls: true +# # 杩欎釜閰嶇疆浼氬皢鎵ц鐨剆ql鎵撳嵃鍑烘潵锛屽湪寮�鍙戞垨娴嬭瘯鐨勬椂鍊欏彲浠ョ敤 +# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + # PageHelper鍒嗛〉鎻掍欢 pagehelper: -- Gitblit v1.9.3