|
|
|
|
@ -142,13 +142,16 @@
|
|
|
|
|
<where> |
|
|
|
|
1=1 |
|
|
|
|
<if test = "query.originId != null and query.originId != '' "> |
|
|
|
|
and originId, like concat('%',#{query.originId,jdbcType=VARCHAR},'%') |
|
|
|
|
and originId like concat('%',#{query.originId,jdbcType=VARCHAR},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="query.involvedIssue != null and query.involvedIssue != ''"> |
|
|
|
|
and involved_issue = #{query.involvedIssue} |
|
|
|
|
</if> |
|
|
|
|
<if test="query.distributionState != null and query.distributionState != ''"> |
|
|
|
|
and distribution_state = #{query.distributionState} |
|
|
|
|
</if> |
|
|
|
|
<if test="query.thingDesc != null and query.thingDesc != ''"> |
|
|
|
|
and thingDesc like concat('%',#{query.thingDesc,jdbcType=VARCHAR},'%') |
|
|
|
|
and thing_desc like concat('%',#{query.thingDesc,jdbcType=VARCHAR},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="query.responderKey != null and query.responderKey != ''"> |
|
|
|
|
<if test="query.responderKey == 'name' and query.responderValue != null and query.responderValue != '' "> |
|
|
|
|
|