소스 검색

在集合业务中,搜索术语,禁用的词不能被查询出来

kongwz 3 년 전
부모
커밋
ec164bf0e0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/main/resources/mapper/KlConceptMapper.xml

+ 1 - 0
src/main/resources/mapper/KlConceptMapper.xml

@@ -804,6 +804,7 @@
         <if test="libType!=null">
             kc.lib_type = #{libType}
         </if>
+        AND kc.status = 1
         <if test="excludedConceptIds != null and excludedConceptIds.size > 0">
             AND kc.id not in
             <foreach item="id" collection="excludedConceptIds" open="(" separator="," close=")">