This commit is contained in:
mashuai 2026-01-29 10:21:04 +08:00
parent 8ea263dcd2
commit 4eaae591de
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN sys_user su ON (
(bai.create_by REGEXP '^[0-9]+$' AND su.user_id = bai.create_by) -- 数字ID关联
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'
WHERE
bai.id = #{id}