Commit 93381833 by 杨林龙

新E盾 1.30 版本开发 修改里程统计

1 parent 12432f94
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
and tv.vin = #{vin} and tv.vin = #{vin}
</if> </if>
<if test="sn != null and sn!='' "> <if test="sn != null and sn!='' ">
and td.sn = #{sn} and tvd.sn = #{sn}
</if> </if>
<if test="mileageStartTime != null"> <if test="mileageStartTime != null">
and tefd.journey_time &gt;= #{mileageStartTime} and tefd.journey_time &gt;= #{mileageStartTime}
......
...@@ -36,6 +36,8 @@ public class MileageServiceTest { ...@@ -36,6 +36,8 @@ public class MileageServiceTest {
@Test @Test
public void dailySearch() { public void dailySearch() {
DailyMileageSearch search = new DailyMileageSearch(); DailyMileageSearch search = new DailyMileageSearch();
search.setSn("1700151515");
search.setVin("111111100000000lq");
List<DailyMileageReportExport> dailyMileageReportExports = mileageService.dailySearch(search); List<DailyMileageReportExport> dailyMileageReportExports = mileageService.dailySearch(search);
System.out.println("dailyMileageReportExports = " + JSON.toJSONString(dailyMileageReportExports)); System.out.println("dailyMileageReportExports = " + JSON.toJSONString(dailyMileageReportExports));
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!