委托方导入修改
This commit is contained in:
@@ -20,15 +20,15 @@ spring:
|
||||
discovery:
|
||||
# server-addr: 127.0.0.1:8848
|
||||
# 线上测试环境配置 容器名+端口号
|
||||
server-addr: 10.33.0.129:6010
|
||||
# server-addr: 10.102.192.30:6848
|
||||
# server-addr: 10.33.0.129:6010
|
||||
server-addr: 10.102.192.30:6848
|
||||
username: nacos
|
||||
password: manhuoda@2023
|
||||
config:
|
||||
# server-addr: 127.0.0.1:8848
|
||||
# 线上测试环境配置 容器名+端口号
|
||||
server-addr: 10.33.0.129:6010
|
||||
# server-addr: 10.102.192.30:6848
|
||||
# server-addr: 10.33.0.129:6010
|
||||
server-addr: 10.102.192.30:6848
|
||||
username: nacos
|
||||
password: manhuoda@2023
|
||||
group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
|
||||
|
||||
@@ -379,13 +379,22 @@
|
||||
</if>
|
||||
/*用户组织ID*/
|
||||
/*用户组织ID*/
|
||||
<if test="organizationId !=null">
|
||||
<if test="organizationId !=null or (orgCode != null and orgCode != '')">
|
||||
AND (
|
||||
a.organization_id = #{organizationId}
|
||||
OR b.org_code LIKE concat('%"code":"', #{organizationId}, '"%')
|
||||
OR b.org_code LIKE concat('%code:', #{organizationId}, '%')
|
||||
OR b.org_code LIKE concat('%code: ', #{organizationId}, '%')
|
||||
OR b.org_code LIKE concat('%"code":', #{organizationId}, '%')
|
||||
<if test="organizationId !=null">
|
||||
a.organization_id = #{organizationId}
|
||||
OR b.org_code LIKE concat('%"code":"', #{organizationId}, '"%')
|
||||
OR b.org_code LIKE concat('%code:', #{organizationId}, '%')
|
||||
OR b.org_code LIKE concat('%code: ', #{organizationId}, '%')
|
||||
OR b.org_code LIKE concat('%"code":', #{organizationId}, '%')
|
||||
</if>
|
||||
<if test="orgCode != null and orgCode != ''">
|
||||
<if test="organizationId !=null"> OR </if>
|
||||
b.org_code LIKE concat('%code:', #{orgCode}, '%')
|
||||
OR b.org_code LIKE concat('%code: ', #{orgCode}, '%')
|
||||
OR b.org_code LIKE concat('%"code":', #{orgCode}, '%')
|
||||
OR b.org_code LIKE concat('%"code":"', #{orgCode}, '"%')
|
||||
</if>
|
||||
)
|
||||
</if>
|
||||
/*组织名称*/
|
||||
|
||||
Reference in New Issue
Block a user