diff --git a/src/main/resources/mapper/DataThreadMapper.xml b/src/main/resources/mapper/DataThreadMapper.xml index 10ea65e..c40a72f 100644 --- a/src/main/resources/mapper/DataThreadMapper.xml +++ b/src/main/resources/mapper/DataThreadMapper.xml @@ -142,13 +142,16 @@ 1=1 - and originId, like concat('%',#{query.originId,jdbcType=VARCHAR},'%') + and originId like concat('%',#{query.originId,jdbcType=VARCHAR},'%') and involved_issue = #{query.involvedIssue} + + and distribution_state = #{query.distributionState} + - and thingDesc like concat('%',#{query.thingDesc,jdbcType=VARCHAR},'%') + and thing_desc like concat('%',#{query.thingDesc,jdbcType=VARCHAR},'%')