소스 검색

调查问卷

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>