Browse Source

情报板敏感词模糊查询

develop
lau572 10 months ago
parent
commit
7cf4115f30
  1. 2
      zc-business/src/main/resources/mapper/business/DcInfoBoardVocabularyMapper.xml

2
zc-business/src/main/resources/mapper/business/DcInfoBoardVocabularyMapper.xml

@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectDcInfoBoardVocabularyList" parameterType="DcInfoBoardVocabulary" resultMap="DcInfoBoardVocabularyResult">
<include refid="selectDcInfoBoardVocabularyVo"/>
<where>
<if test="word != null and word != ''"> and word = #{word}</if>
<if test="word != null and word != ''"> and word like concat('%', #{word}, '%')</if>
</where>
</select>

Loading…
Cancel
Save