refactor(mall): 更新数据库配置并优化类目查询逻辑
- 更新 ruoyi-admin 和 ruoyi-mall-api 项目的数据库配置,使用新的数据库连接信息 - 修改 TzCategoryServiceImpl 中的 listByParentId 方法,增加对子集状态的查询条件
This commit is contained in:
@@ -52,9 +52,9 @@ spring:
|
||||
# url: jdbc:mysql://localhost:3306/jcs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||
# username: root
|
||||
# password: root
|
||||
url: jdbc:mysql://erp9.52o.site:13308/jcs20250106?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||
username: jcs20250106
|
||||
password: esXkafdSMsxRAkNe
|
||||
url: jdbc:mysql://erp9.52o.site:13308/jcs20250512?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||
username: jcs20250512
|
||||
password: rdnGT3TFYFnMzstX
|
||||
# 从库数据源
|
||||
slave:
|
||||
lazy: false
|
||||
|
||||
Reference in New Issue
Block a user