Commit 905f757a by levphon

围栏管理-管理设备搜索功能

1 parent 9aac5d20
package cn.com.glsx.admin.modules.model.param;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
@Data
public class VehicleSearch extends BasicSearch {
......@@ -16,13 +13,12 @@ public class VehicleSearch extends BasicSearch {
/**
* 激活开始日期
*/
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
private Date startTime;
private String startTime;
/**
* 激活结束日期
*/
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
private Date endTime;
private String endTime;
/**
* 设备 1有源 0无源
......
......@@ -147,7 +147,7 @@
</choose>
</if>
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
and DATE_FORMAT(tvd.created_date,'%Y-%m-%d') between #{startTime} and #{endTime}
and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{startTime} and #{endTime}
</if>
<if test="shopId != null">
and tv.created_by = #{shopId}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!