问题修复

This commit is contained in:
hongchao 2026-01-28 17:05:06 +08:00
parent b86eedf81a
commit b13f48992f
2 changed files with 3 additions and 4 deletions

View File

@ -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) -- 汉字昵称关联 (NOT bai.create_by REGEXP '^[0-9]+$' AND su.nick_name = bai.create_by and su.sign_type != null and su.sign_url != null) -- 汉字昵称关联
) and su.del_flag='0' ) and su.del_flag='0'
WHERE WHERE
bai.id = #{id} bai.id = #{id}

View File

@ -112,12 +112,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="deleteBmFileInfoByBizInfo" parameterType="com.bonus.common.biz.domain.BmFileInfo"> <update id="deleteBmFileInfoByBizInfo" parameterType="com.bonus.common.biz.domain.BmFileInfo">
update bm_file_info set del_flag = 2 update bm_file_info set del_flag = 2
<where> where
task_id = #{taskId}
<if test="taskType != null "> and task_type = #{taskType}</if> <if test="taskType != null "> and task_type = #{taskType}</if>
<if test="taskId != null "> and task_id = #{taskId}</if>
<if test="modelId != null "> and model_id = #{modelId}</if> <if test="modelId != null "> and model_id = #{modelId}</if>
<if test="fileType != null "> and file_type = #{fileType}</if> <if test="fileType != null "> and file_type = #{fileType}</if>
</where>
</update> </update>
<update id="deleteBmFileList"> <update id="deleteBmFileList">