Commit 325225c0 authored by EDY's avatar EDY

优化

parent c6521048
...@@ -98,6 +98,8 @@ public class BaseCustomInfo extends BaseEntity ...@@ -98,6 +98,8 @@ public class BaseCustomInfo extends BaseEntity
private Date endTime; private Date endTime;
private Integer rubbishFlag;
public void setId(Long id) public void setId(Long id)
{ {
this.id = id; this.id = id;
...@@ -330,4 +332,12 @@ public class BaseCustomInfo extends BaseEntity ...@@ -330,4 +332,12 @@ public class BaseCustomInfo extends BaseEntity
public void setEndTime(Date endTime) { public void setEndTime(Date endTime) {
this.endTime = endTime; this.endTime = endTime;
} }
public Integer getRubbishFlag() {
return rubbishFlag;
}
public void setRubbishFlag(Integer rubbishFlag) {
this.rubbishFlag = rubbishFlag;
}
} }
...@@ -79,6 +79,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -79,6 +79,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bz != null and bz != ''"> and bz = #{bz}</if> <if test="bz != null and bz != ''"> and bz = #{bz}</if>
<if test="deleteFlag != null "> and delete_flag = #{deleteFlag}</if> <if test="deleteFlag != null "> and delete_flag = #{deleteFlag}</if>
<if test="startTime != null and endTime != null"> and create_time between #{startTime} and #{endTime}</if> <if test="startTime != null and endTime != null"> and create_time between #{startTime} and #{endTime}</if>
<if test="rubbishFlag != null and rubbishFlag == 1"> and khzt = 7</if>
<if test="rubbishFlag != null and rubbishFlag == 0"> and khzt not in (7)</if>
</where> </where>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment