mirror of https://gitee.com/stylefeng/roses
【7.0.4】sql更新转义符号位置
parent
7caffa4eb9
commit
7ac53e8910
|
@ -33,7 +33,7 @@
|
|||
and suser.status_flag like concat('%',#{sysUserRequest.statusFlag},'%')
|
||||
</if>
|
||||
<if test="sysUserRequest.orgId != null and sysUserRequest.orgId != ''">
|
||||
and suorg.org_id in(select org_id from hr_organization where org_pids like CONCAT('%$[',#{sysUserRequest.orgId},'$]%') or org_id=#{sysUserRequest.orgId}) escape '$'
|
||||
and suorg.org_id in (select org_id from hr_organization where org_pids like CONCAT('%$[',#{sysUserRequest.orgId},'$]%') escape '$' or org_id=#{sysUserRequest.orgId} )
|
||||
</if>
|
||||
and suser.del_flag = 'N'
|
||||
order by suser.create_time desc
|
||||
|
|
Loading…
Reference in New Issue