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:
2025-11-20 09:16:15 +08:00
parent bd8564ea66
commit a85f968492
5 changed files with 9 additions and 9 deletions

View File

@@ -6,8 +6,8 @@
<sql id="selectSql">
SELECT a.*, b.avatar AS avatar, b.nickname, c.nickname as updateUserName, c.avatar as updateUserAvatar
FROM project_field a
LEFT JOIN websoft_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 b ON a.user_id = b.user_id
LEFT JOIN gxwebsoft_core.sys_user c ON a.update_user_id = c.user_id
<where>
<if test="param.id != null">
AND a.id = #{param.id}

View File

@@ -6,9 +6,9 @@
<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
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 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>
<if test="param.appId != null">
AND a.app_id = #{param.appId}

View File

@@ -7,7 +7,7 @@
SELECT a.*, b.app_icon, b.app_name, b.expiration_time,c.real_name as nickname
FROM project_renew a
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>
<if test="param.appRenewId != null">
AND a.app_renew_id = #{param.appRenewId}