浏览代码

调查问卷

zouxuan 4 年之前
父节点
当前提交
8d2e9e7b80
共有 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>