Browse Source

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

zouxuan 4 years ago
parent
commit
e9f634fb9f

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

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