diff --git a/src/main/resources/mybatis/datasource/highriskwork/HotWorkApplicationUserMapper.xml b/src/main/resources/mybatis/datasource/highriskwork/HotWorkApplicationUserMapper.xml index 63274ea9..13216bd2 100644 --- a/src/main/resources/mybatis/datasource/highriskwork/HotWorkApplicationUserMapper.xml +++ b/src/main/resources/mybatis/datasource/highriskwork/HotWorkApplicationUserMapper.xml @@ -148,9 +148,9 @@ left join bus_specialuser su on su.SPECIALUSER_ID = f.USER_ID left join oa_department dept on dept.DEPARTMENT_ID = u.DEPARTMENT_ID left join oa_department dept1 on dept1.DEPARTMENT_ID = f.USER_ID - left join `qa-czks-regulatory`.SYS_USER reuser on reuser.USER_ID = f.USER_ID and reuser.USERNAME != 'admin' - left join `qa-czks-regulatory`.SYS_DEPARTMENT redept on redept.DEPARTMENT_ID = reuser.DEPARTMENT_ID - left join `qa-czks-regulatory`.SYS_DEPARTMENT redept1 on redept1.DEPARTMENT_ID = f.USER_ID + LEFT JOIN vi_user_all reuser ON reuser.USER_ID = f.USER_ID AND reuser.USERNAME != 'admin' + LEFT JOIN vi_department_all redept ON redept.DEPARTMENT_ID = reuser.DEPARTMENT_ID + LEFT JOIN vi_department_all redept1 ON redept1.DEPARTMENT_ID = f.USER_ID where f.ISDELETE = '0' and(f.FOREIGN_KEY in