Commit e978cb6d by 王祖波

增加线上线下过滤

parent 8e0dba37
...@@ -24,6 +24,11 @@ public class ContactOrderSearchQDTO implements Serializable { ...@@ -24,6 +24,11 @@ public class ContactOrderSearchQDTO implements Serializable {
private List<String> storeIdList; private List<String> storeIdList;
/** /**
* 1 线上; 2 线下
*/
private Integer channelType;
/**
* 导购搜索 * 导购搜索
*/ */
private String clerkSearch; private String clerkSearch;
...@@ -62,6 +67,14 @@ public class ContactOrderSearchQDTO implements Serializable { ...@@ -62,6 +67,14 @@ public class ContactOrderSearchQDTO implements Serializable {
this.storeIdList = storeIdList; this.storeIdList = storeIdList;
} }
public Integer getChannelType() {
return channelType;
}
public void setChannelType(Integer channelType) {
this.channelType = channelType;
}
public String getClerkSearch() { public String getClerkSearch() {
return clerkSearch; return clerkSearch;
} }
......
...@@ -63,6 +63,9 @@ ...@@ -63,6 +63,9 @@
<if test="search.clerkId != null and search.clerkId != ''"> <if test="search.clerkId != null and search.clerkId != ''">
AND clerk_id = #{search.clerkId} AND clerk_id = #{search.clerkId}
</if> </if>
<if test="search.channelType != null">
AND channel_type = #{search.channelType}
</if>
<if test="search.storeIdList != null and search.storeIdList.size() > 0"> <if test="search.storeIdList != null and search.storeIdList.size() > 0">
AND store_id IN AND store_id IN
<foreach item="storeId" index="index" collection="search.storeIdList" open="(" separator="," close=")"> <foreach item="storeId" index="index" collection="search.storeIdList" open="(" separator="," close=")">
......
...@@ -21,6 +21,11 @@ public class ContactOrderPageQO extends PageQo { ...@@ -21,6 +21,11 @@ public class ContactOrderPageQO extends PageQo {
private String storeId; private String storeId;
/** /**
* 1 线上; 2 线下
*/
private Integer channelType;
/**
* 开始时间 * 开始时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
...@@ -58,6 +63,14 @@ public class ContactOrderPageQO extends PageQo { ...@@ -58,6 +63,14 @@ public class ContactOrderPageQO extends PageQo {
this.storeId = storeId; this.storeId = storeId;
} }
public Integer getChannelType() {
return channelType;
}
public void setChannelType(Integer channelType) {
this.channelType = channelType;
}
public Date getBeginTime() { public Date getBeginTime() {
return beginTime; return beginTime;
} }
......
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