Ver código fonte

研究队列删除标记删除之后还能查询到提交

wangzl 2 meses atrás
pai
commit
fbd48e6908

+ 2 - 1
tr-modules/tr-module-smartFollowUp/src/main/resources/mapper/smart/BizReasearchQueueMapper.xml

@@ -32,6 +32,7 @@
         biz_reasearch_queue as brq
         left join biz_question_group as bqg on brq.bind_question_id = bqg.id
         <where>
+            and brq.deleted = 0
             <if test="query.name != null and query.name != ''">
                 AND brq.name LIKE CONCAT('%',#{query.name},'%')
             </if>
@@ -62,6 +63,6 @@
         FROM
         biz_reasearch_queue as brq
         left join biz_question_group as bqg on brq.bind_question_id = bqg.id
-        WHERE brq.id = #{id}
+        WHERE brq.id = #{id}  and brq.deleted = 0
     </select>
 </mapper>