问题修复
This commit is contained in:
parent
b86eedf81a
commit
b13f48992f
|
|
@ -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) -- 汉字昵称关联
|
||||
(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'
|
||||
WHERE
|
||||
bai.id = #{id}
|
||||
|
|
|
|||
|
|
@ -112,12 +112,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
|
||||
<update id="deleteBmFileInfoByBizInfo" parameterType="com.bonus.common.biz.domain.BmFileInfo">
|
||||
update bm_file_info set del_flag = 2
|
||||
<where>
|
||||
where
|
||||
task_id = #{taskId}
|
||||
<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="fileType != null "> and file_type = #{fileType}</if>
|
||||
</where>
|
||||
</update>
|
||||
|
||||
<update id="deleteBmFileList">
|
||||
|
|
|
|||
Loading…
Reference in New Issue