Browse Source

fix:1、筛选项

master
pengwei 6 months ago
parent
commit
5e4cd3e5a6
  1. 3
      src/main/java/com/biutag/supervision/pojo/param/DataThreadQueryParam.java
  2. 6
      src/main/resources/mapper/DataThreadMapper.xml

3
src/main/java/com/biutag/supervision/pojo/param/DataThreadQueryParam.java

@ -21,7 +21,8 @@ public class DataThreadQueryParam extends BasePage {
private String responderValue;
//初重访
private String initialPetition;
//涉企涉冻
private String involvedIssue;
//具体内容
private String thingDesc;
//是否分发

6
src/main/resources/mapper/DataThreadMapper.xml

@ -33,6 +33,9 @@
1=1
<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>
<if test="query.thingDesc != null and query.thingDesc != ''">
and thing_desc like concat('%',#{query.thingDesc,jdbcType=VARCHAR},'%')
@ -89,6 +92,9 @@
<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>
<if test="query.thingDesc != null and query.thingDesc != ''">
and thingDesc like concat('%',#{query.thingDesc,jdbcType=VARCHAR},'%')
</if>

Loading…
Cancel
Save