Просмотр исходного кода

[会员列表搜索][新增]:创建时间搜索支持

release_toaliyun_real
Stormeye.Wu 7 лет назад
Родитель
Сommit
49e01cab81
2 измененных файлов: 21 добавлений и 0 удалений
  1. +18
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxCUserBasicInfo.java
  2. +3
    -0
      mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml

+ 18
- 0
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
{


+ 3
- 0
mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml Просмотреть файл

@@ -78,6 +78,9 @@
<if test=" null != name ">
and `name` like concat('%', #{name},'%')
</if>
<if test=" null != startTime and null!=endTime">
and `create_date` between #{startTime} and #{endTime}
</if>
<if test=" null != ids ">
and id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


Загрузка…
Отмена
Сохранить