浏览代码

Merge branch '2021-04-28' of http://git.dayaedu.com/yonge/mec

zouxuan 4 年之前
父节点
当前提交
e9f634fb9f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mec-biz/src/main/resources/config/mybatis/ReplacementInstrumentCooperationMapper.xml

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/ReplacementInstrumentCooperationMapper.xml

@@ -111,6 +111,9 @@
         <if test="topicId != null">
             AND topic_id_ = #{topicId}
         </if>
+        <if test="topicId == null">
+            AND topic_id_ IS NULL
+        </if>
         LIMIT 1
     </select>