From 49e01cab81aeb2e2f750c49a692467710262864a Mon Sep 17 00:00:00 2001 From: "Stormeye.Wu" Date: Sun, 30 Sep 2018 13:57:46 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BC=9A=E5=91=98=E5=88=97=E8=A1=A8=E6=90=9C?= =?UTF-8?q?=E7=B4=A2][=E6=96=B0=E5=A2=9E]:=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=90=9C=E7=B4=A2=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/domain/po/WxCUserBasicInfo.java | 18 ++++++++++++++++++ .../mapper/WxCUserBasicInfoMapper.xml | 3 +++ 2 files changed, 21 insertions(+) diff --git a/mallinkService/src/main/java/com/iformall/domain/po/WxCUserBasicInfo.java b/mallinkService/src/main/java/com/iformall/domain/po/WxCUserBasicInfo.java index d8cbc5860..c47de0714 100644 --- a/mallinkService/src/main/java/com/iformall/domain/po/WxCUserBasicInfo.java +++ b/mallinkService/src/main/java/com/iformall/domain/po/WxCUserBasicInfo.java @@ -109,6 +109,10 @@ public class WxCUserBasicInfo implements Serializable { private String tagNames; @Transient private long count; + @Transient + private Date startTime; + @Transient + private Date endTime; public String getLevel() { return level; @@ -225,7 +229,21 @@ public class WxCUserBasicInfo implements Serializable { name = _name; } + public Date getStartTime() { + return startTime; + } + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + public Date getEndTime() { + return endTime; + } + public void setEndTime(Date endTime) { + this.endTime = endTime; + } public static enum Field { diff --git a/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml b/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml index 58738b29e..db24090d7 100644 --- a/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml @@ -78,6 +78,9 @@ and `name` like concat('%', #{name},'%') + + and `create_date` between #{startTime} and #{endTime} + and id in