委托方查询修改
This commit is contained in:
@@ -781,7 +781,11 @@
|
|||||||
/*组织ID - 数据隔离:南光组织(organizationId=2827)查询全部,其他组织查询自己组织的数据*/
|
/*组织ID - 数据隔离:南光组织(organizationId=2827)查询全部,其他组织查询自己组织的数据*/
|
||||||
<if test="organizationId !=null">
|
<if test="organizationId !=null">
|
||||||
AND (
|
AND (
|
||||||
u.organization_id = #{organizationId}
|
u.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}, '%')
|
||||||
)
|
)
|
||||||
AND u.organization_name IS NOT NULL
|
AND u.organization_name IS NOT NULL
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@@ -378,9 +378,14 @@
|
|||||||
and b.parent_shipper_id = #{parentShipperId}
|
and b.parent_shipper_id = #{parentShipperId}
|
||||||
</if>
|
</if>
|
||||||
/*用户组织ID*/
|
/*用户组织ID*/
|
||||||
|
/*用户组织ID*/
|
||||||
<if test="organizationId !=null">
|
<if test="organizationId !=null">
|
||||||
AND (
|
AND (
|
||||||
a.organization_id = #{organizationId}
|
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>
|
||||||
/*组织名称*/
|
/*组织名称*/
|
||||||
|
|||||||
Reference in New Issue
Block a user