feat(config): update database configurations and schema references
- Updated development database URL, username, and password - Modified production database URL to use internal service naming - Replaced all references from 'websoft_core' to 'gxwebsoft_core' in SQL mappers - Adjusted JOIN statements in ProjectFieldMapper.xml, ProjectMapper.xml, and ProjectRenewMapper.xml - Ensured consistency across environment-specific configuration files
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
<sql id="selectSql">
|
<sql id="selectSql">
|
||||||
SELECT a.*, b.avatar AS avatar, b.nickname, c.nickname as updateUserName, c.avatar as updateUserAvatar
|
SELECT a.*, b.avatar AS avatar, b.nickname, c.nickname as updateUserName, c.avatar as updateUserAvatar
|
||||||
FROM project_field a
|
FROM project_field a
|
||||||
LEFT JOIN websoft_core.sys_user b ON a.user_id = b.user_id
|
LEFT JOIN gxwebsoft_core.sys_user b ON a.user_id = b.user_id
|
||||||
LEFT JOIN websoft_core.sys_user c ON a.update_user_id = c.user_id
|
LEFT JOIN gxwebsoft_core.sys_user c ON a.update_user_id = c.user_id
|
||||||
<where>
|
<where>
|
||||||
<if test="param.id != null">
|
<if test="param.id != null">
|
||||||
AND a.id = #{param.id}
|
AND a.id = #{param.id}
|
||||||
|
|||||||
@@ -6,9 +6,9 @@
|
|||||||
<sql id="selectSql">
|
<sql id="selectSql">
|
||||||
SELECT a.*, b.real_name as nickname, b.avatar,c.website_type as appType, u.real_name as companyName, u.phone as superAdminPhone
|
SELECT a.*, b.real_name as nickname, b.avatar,c.website_type as appType, u.real_name as companyName, u.phone as superAdminPhone
|
||||||
FROM project a
|
FROM project a
|
||||||
LEFT JOIN websoft_core.sys_user b ON a.user_id = b.user_id
|
LEFT JOIN gxwebsoft_core.sys_user b ON a.user_id = b.user_id
|
||||||
LEFT JOIN cms_website c ON a.website_id = c.website_id
|
LEFT JOIN cms_website c ON a.website_id = c.website_id
|
||||||
LEFT JOIN websoft_core.sys_user u ON a.company_id = u.user_id
|
LEFT JOIN gxwebsoft_core.sys_user u ON a.company_id = u.user_id
|
||||||
<where>
|
<where>
|
||||||
<if test="param.appId != null">
|
<if test="param.appId != null">
|
||||||
AND a.app_id = #{param.appId}
|
AND a.app_id = #{param.appId}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
SELECT a.*, b.app_icon, b.app_name, b.expiration_time,c.real_name as nickname
|
SELECT a.*, b.app_icon, b.app_name, b.expiration_time,c.real_name as nickname
|
||||||
FROM project_renew a
|
FROM project_renew a
|
||||||
LEFT JOIN project b ON a.app_id = b.app_id
|
LEFT JOIN project b ON a.app_id = b.app_id
|
||||||
LEFT JOIN websoft_core.sys_user c ON a.user_id = c.user_id
|
LEFT JOIN gxwebsoft_core.sys_user c ON a.user_id = c.user_id
|
||||||
<where>
|
<where>
|
||||||
<if test="param.appRenewId != null">
|
<if test="param.appRenewId != null">
|
||||||
AND a.app_renew_id = #{param.appRenewId}
|
AND a.app_renew_id = #{param.appRenewId}
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ server:
|
|||||||
# 数据源配置
|
# 数据源配置
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://47.119.165.234:3308/mp?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://8.134.169.209:13306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
username: mp
|
username: modules
|
||||||
password: 7dBmWJdKjfRSmeb3
|
password: P7KsAyDXG8YdLnkA
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# 数据源配置
|
# 数据源配置
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://8.134.169.209:13306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://1Panel-mysql-Bqdt:3306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
username: modules
|
username: modules
|
||||||
password: P7KsAyDXG8YdLnkA
|
password: P7KsAyDXG8YdLnkA
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
|||||||
Reference in New Issue
Block a user