This commit is contained in:
parent
8ea263dcd2
commit
4eaae591de
|
|
@ -198,7 +198,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN sys_user su ON (
|
LEFT JOIN sys_user su ON (
|
||||||
(bai.create_by REGEXP '^[0-9]+$' AND su.user_id = bai.create_by) -- 数字ID关联
|
(bai.create_by REGEXP '^[0-9]+$' AND su.user_id = bai.create_by) -- 数字ID关联
|
||||||
OR
|
OR
|
||||||
(NOT bai.create_by REGEXP '^[0-9]+$' AND su.nick_name = bai.create_by and su.sign_type != null and su.sign_url != null) -- 汉字昵称关联
|
(NOT bai.create_by REGEXP '^[0-9]+$' AND su.nick_name = bai.create_by) -- 汉字昵称关联
|
||||||
) and su.del_flag='0'
|
) and su.del_flag='0'
|
||||||
WHERE
|
WHERE
|
||||||
bai.id = #{id}
|
bai.id = #{id}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue