Commit 3ce6ca1e by 徐高华

日志查询

parent a2d7587f
...@@ -27,8 +27,21 @@ public class WxUserAddLogSearchQDTO extends BasePageInfo implements Serializable ...@@ -27,8 +27,21 @@ public class WxUserAddLogSearchQDTO extends BasePageInfo implements Serializable
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date endTime; private Date endTime;
private Integer addChannel; private Integer addChannel;
// 1添加 2流失
private int statusFlag = 1 ;
private String createTimeOrder = "desc"; private String createTimeOrder = "desc";
public int getStatusFlag() {
if(0==statusFlag) {
return 1 ;
}
return statusFlag;
}
public void setStatusFlag(int statusFlag) {
this.statusFlag = statusFlag;
}
public String getWxEnterpriseId() { public String getWxEnterpriseId() {
return wxEnterpriseId; return wxEnterpriseId;
} }
......
...@@ -208,6 +208,6 @@ ...@@ -208,6 +208,6 @@
<if test="null != addChannel"> <if test="null != addChannel">
and add_channel = #{addChannel} and add_channel = #{addChannel}
</if> </if>
and status_flag != 0 order by create_time ${createTimeOrder} and status_flag = #{statusFlag} order by create_time ${createTimeOrder}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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