From 655a47faea6d2a9f3e5d7b124a4cc8e8eb0a1779 Mon Sep 17 00:00:00 2001 From: wangpeng Date: Wed, 17 Apr 2024 00:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=93=BE=E6=8E=A5=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatis/dsno1/hidden/HiddenMapper.xml | 20 +++++++++---------- .../mybatis/dsno2/system/UsersMapper.xml | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/resources/mybatis/dsno1/hidden/HiddenMapper.xml b/src/main/resources/mybatis/dsno1/hidden/HiddenMapper.xml index 37c8e16..44d885b 100644 --- a/src/main/resources/mybatis/dsno1/hidden/HiddenMapper.xml +++ b/src/main/resources/mybatis/dsno1/hidden/HiddenMapper.xml @@ -401,9 +401,9 @@ left join bus_checkrecord bc on bc.CHECKRECORD_ID = f.CHECKRECORD_ID and bc.ISDELETE = 0 left join lv on f.HIDDENLEVEL = lv.BIANMA left join ht on f.HIDDENTYPE = ht.BIANMA - left join `zcloud_system`.sys_dictionaries hto on f.HIDDENTYPE1 = hto.DICTIONARIES_ID - left join `zcloud_system`.sys_dictionaries htt on f.HIDDENTYPE2 = htt.DICTIONARIES_ID - left join `zcloud_system`.sys_dictionaries htth on f.HIDDENTYPE3 = htth.DICTIONARIES_ID + left join sys_dictionaries hto on f.HIDDENTYPE1 = hto.DICTIONARIES_ID + left join sys_dictionaries htt on f.HIDDENTYPE2 = htt.DICTIONARIES_ID + left join sys_dictionaries htth on f.HIDDENTYPE3 = htth.DICTIONARIES_ID where f.HIDDEN_ID = #{HIDDEN_ID} @@ -1152,13 +1152,13 @@ htth.NAME as HIDDENTYPE3_NAME from bus_hidden a left join bus_corp_info c on c.CORPINFO_ID = a.CORPINFO_ID - left join `zcloud_system`.sys_dictionaries ito on c.CORP_TYPE = ito.DICTIONARIES_ID - left join `zcloud_system`.sys_dictionaries itt on c.CORP_TYPE2 = itt.DICTIONARIES_ID - left join `zcloud_system`.sys_dictionaries itth on c.CORP_TYPE3 = itth.DICTIONARIES_ID - left join `zcloud_system`.sys_dictionaries itf on c.CORP_TYPE4 = itf.DICTIONARIES_ID - left join `zcloud_system`.sys_dictionaries hto on a.HIDDENTYPE1 = hto.DICTIONARIES_ID - left join `zcloud_system`.sys_dictionaries htt on a.HIDDENTYPE2 = htt.DICTIONARIES_ID - left join `zcloud_system`.sys_dictionaries htth on a.HIDDENTYPE3 = htth.DICTIONARIES_ID + left join sys_dictionaries ito on c.CORP_TYPE = ito.DICTIONARIES_ID + left join sys_dictionaries itt on c.CORP_TYPE2 = itt.DICTIONARIES_ID + left join sys_dictionaries itth on c.CORP_TYPE3 = itth.DICTIONARIES_ID + left join sys_dictionaries itf on c.CORP_TYPE4 = itf.DICTIONARIES_ID + left join sys_dictionaries hto on a.HIDDENTYPE1 = hto.DICTIONARIES_ID + left join sys_dictionaries htt on a.HIDDENTYPE2 = htt.DICTIONARIES_ID + left join sys_dictionaries htth on a.HIDDENTYPE3 = htth.DICTIONARIES_ID where a.ISDELETE = '0' and a.ADD_LIBRARY_FLAG is null and c.CORP_TYPE = #{pd.CORP_TYPE} diff --git a/src/main/resources/mybatis/dsno2/system/UsersMapper.xml b/src/main/resources/mybatis/dsno2/system/UsersMapper.xml index fc166a3..7c0a8e7 100644 --- a/src/main/resources/mybatis/dsno2/system/UsersMapper.xml +++ b/src/main/resources/mybatis/dsno2/system/UsersMapper.xml @@ -284,11 +284,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" u.CREATCOUNT, r.ROLE_ID, r.ROLE_NAME, - (select a.AGENCY_NAME from `qa-traffic-prevention`.bus_agency_management a where u.AGENCY_MANAGEMENT_ID = a.AGENCY_MANAGEMENT_ID and a.ISDELETE = '0') + (select a.AGENCY_NAME from bus_agency_management a where u.AGENCY_MANAGEMENT_ID = a.AGENCY_MANAGEMENT_ID and a.ISDELETE = '0') as AGENCY_NAME from u left join SYS_ROLE r on u.ROLE_ID = r.ROLE_ID - left join `qa-traffic-prevention`.bus_agency_management a on a.AGENCY_MANAGEMENT_ID = u.AGENCY_MANAGEMENT_ID + left join bus_agency_management a on a.AGENCY_MANAGEMENT_ID = u.AGENCY_MANAGEMENT_ID left join SYS_DICTIONARIES s on s.DICTIONARIES_ID = u.SEX where u.USERNAME != 'admin'