Commit 5104ed47 by levphon

前端字段和后台不一致修改

1 parent dac790f7
...@@ -13,21 +13,21 @@ public class ReportVehicleSearch extends BasicSearch { ...@@ -13,21 +13,21 @@ public class ReportVehicleSearch extends BasicSearch {
/** /**
* 激活开始时间 * 激活开始时间
*/ */
private String activateBeginTime; private String activateBeginDate;
/** /**
* 激活结束时间 * 激活结束时间
*/ */
private String activateEndTime; private String activateEndDate;
/** /**
* 工单接收开始时间 * 工单接收开始时间
*/ */
private String orderBeginTime; private String orderBeginDate;
/** /**
* 工单接收截至时间 * 工单接收截至时间
*/ */
private String orderEndTime; private String orderEndDate;
} }
...@@ -198,12 +198,11 @@ ...@@ -198,12 +198,11 @@
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''"> <if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tv.created_by,#{checkedUserIdsStr}) and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if> </if>
<if test="activateBeginTime != null and activateBeginTime != '' and activateEndTime != null and activateEndTime != ''"> <if test="activateBeginDate != null and activateBeginDate != '' and activateEndDate != null and activateEndDate != ''">
and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{activateBeginTime} and #{activateEndTime} and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{activateBeginDate} and #{activateEndDate}
</if> </if>
<if test="gpsBeginTime != null and gpsBeginTime != '' and gpsEndTime != null and gpsEndTime != ''"> <if test="gpsBeginDate != null and gpsBeginDate != '' and gpsEndDate != null and gpsEndDate != ''">
and (DATE_FORMAT(tdl.last_gps_time,'%Y-%m-%d') between #{gpsEndTime} and #{gpsEndTime} or DATE_FORMAT(tdl.last_bs_time,'%Y-%m-%d') between #{gpsEndTime} and and (DATE_FORMAT(tdl.last_gps_time,'%Y-%m-%d') between #{gpsBeginDate} and #{gpsEndDate} or DATE_FORMAT(tdl.last_bs_time,'%Y-%m-%d') between #{gpsBeginDate} and #{gpsEndDate})
#{gpsEndTime})
</if> </if>
<if test="term != null and term !=''"> <if test="term != null and term !=''">
and( and(
...@@ -241,12 +240,11 @@ ...@@ -241,12 +240,11 @@
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''"> <if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tv.created_by,#{checkedUserIdsStr}) and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if> </if>
<if test="activateBeginTime != null and activateBeginTime != '' and activateEndTime != null and activateEndTime != ''"> <if test="activateBeginDate != null and activateBeginDate != '' and activateEndDate != null and activateEndDate != ''">
and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{activateBeginTime} and #{activateEndTime} and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{activateBeginDate} and #{activateEndDate}
</if> </if>
<if test="gpsBeginTime != null and gpsBeginTime != '' and gpsEndTime != null and gpsEndTime != ''"> <if test="gpsBeginDate != null and gpsBeginDate != '' and gpsEndDate != null and gpsEndDate != ''">
and (DATE_FORMAT(tdl.last_gps_time,'%Y-%m-%d') between #{gpsEndTime} and #{gpsEndTime} or DATE_FORMAT(tdl.last_bs_time,'%Y-%m-%d') between #{gpsEndTime} and and (DATE_FORMAT(tdl.last_gps_time,'%Y-%m-%d') between #{gpsBeginDate} and #{gpsEndDate} or DATE_FORMAT(tdl.last_bs_time,'%Y-%m-%d') between #{gpsBeginDate} and #{gpsEndDate})
#{gpsEndTime})
</if> </if>
<if test="term != null and term !=''"> <if test="term != null and term !=''">
and( and(
......
...@@ -1287,11 +1287,11 @@ ...@@ -1287,11 +1287,11 @@
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''"> <if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tv.created_by,#{checkedUserIdsStr}) and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if> </if>
<if test="activateBeginTime != null and activateBeginTime != '' and activateEndTime != null and activateEndTime != ''"> <if test="activateBeginDate != null and activateBeginDate != '' and activateEndDate != null and activateEndDate != ''">
and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{activateBeginTime} and #{activateEndTime} and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{activateBeginDate} and #{activateEndDate}
</if> </if>
<if test="orderBeginTime != null and orderBeginTime != '' and orderEndTime != null and orderEndTime != ''"> <if test="orderBeginDate != null and orderBeginDate != '' and orderEndDate != null and orderEndDate != ''">
and DATE_FORMAT(tw.created_date,'%Y-%m-%d') between #{orderBeginTime} and #{orderEndTime} and DATE_FORMAT(tw.created_date,'%Y-%m-%d') between #{orderBeginDate} and #{orderEndDate}
</if> </if>
<if test="term != null and term !=''"> <if test="term != null and term !=''">
and( and(
...@@ -1339,11 +1339,11 @@ ...@@ -1339,11 +1339,11 @@
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''"> <if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tv.created_by,#{checkedUserIdsStr}) and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if> </if>
<if test="activateBeginTime != null and activateBeginTime != '' and activateEndTime != null and activateEndTime != ''"> <if test="activateBeginDate != null and activateBeginDate != '' and activateEndDate != null and activateEndDate != ''">
and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{activateBeginTime} and #{activateEndTime} and DATE_FORMAT(tv.created_date,'%Y-%m-%d') between #{activateBeginDate} and #{activateEndDate}
</if> </if>
<if test="orderBeginTime != null and orderBeginTime != '' and orderEndTime != null and orderEndTime != ''"> <if test="orderBeginDate != null and orderBeginDate != '' and orderEndDate != null and orderEndDate != ''">
and DATE_FORMAT(tw.created_date,'%Y-%m-%d') between #{orderBeginTime} and #{orderEndTime} and DATE_FORMAT(tw.created_date,'%Y-%m-%d') between #{orderBeginDate} and #{orderEndDate}
</if> </if>
<if test="term != null and term !=''"> <if test="term != null and term !=''">
and( and(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!