|
|
|
|
@ -34,8 +34,11 @@
|
|
|
|
|
<if test = "query.originId != null and query.originId != '' "> |
|
|
|
|
and origin_id like concat('%',#{query.originId,jdbcType=VARCHAR},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="query.involvedIssue != null and query.involvedIssue != ''"> |
|
|
|
|
and involved_issue = #{query.involvedIssue} |
|
|
|
|
<if test="query.involvedIssue != null and query.involvedIssue != '' and query.involvedIssue.size() > 0"> |
|
|
|
|
and involved_issue in |
|
|
|
|
<foreach collection="query.involvedIssue" item="data" open="(" close=")" separator=","> |
|
|
|
|
#{data} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="query.thingDesc != null and query.thingDesc != ''"> |
|
|
|
|
and thing_desc like concat('%',#{query.thingDesc,jdbcType=VARCHAR},'%') |
|
|
|
|
@ -92,8 +95,11 @@
|
|
|
|
|
<if test = "query.originId != null and query.originId != '' "> |
|
|
|
|
and origin_id like concat('%',#{query.originId,jdbcType=VARCHAR},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="query.involvedIssue != null and query.involvedIssue != ''"> |
|
|
|
|
and involved_issue = #{query.involvedIssue} |
|
|
|
|
<if test="query.involvedIssue != null and query.involvedIssue != '' and query.involvedIssue.size() > 0"> |
|
|
|
|
and involved_issue in |
|
|
|
|
<foreach collection="query.involvedIssue" item="data" open="(" close=")" separator=","> |
|
|
|
|
#{data} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="query.thingDesc != null and query.thingDesc != ''"> |
|
|
|
|
and thingDesc like concat('%',#{query.thingDesc,jdbcType=VARCHAR},'%') |
|
|
|
|
@ -144,8 +150,11 @@
|
|
|
|
|
<if test = "query.originId != null and query.originId != '' "> |
|
|
|
|
and originId like concat('%',#{query.originId,jdbcType=VARCHAR},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="query.involvedIssue != null and query.involvedIssue != ''"> |
|
|
|
|
and involved_issue = #{query.involvedIssue} |
|
|
|
|
<if test="query.involvedIssue != null and query.involvedIssue != '' and query.involvedIssue.size() > 0"> |
|
|
|
|
and involved_issue in |
|
|
|
|
<foreach collection="query.involvedIssue" item="data" open="(" close=")" separator=","> |
|
|
|
|
#{data} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<if test="query.distributionState != null and query.distributionState != ''"> |
|
|
|
|
and distribution_state = #{query.distributionState} |
|
|
|
|
|