Commit 5265fd34 by 杨林龙

添加测试用例

1 parent 25dbda59
...@@ -41,6 +41,6 @@ ...@@ -41,6 +41,6 @@
SELECT SELECT
* *
FROM t_electric_fence_drive FROM t_electric_fence_drive
where fence_id=#{fenceId} and sn=#{sn} and journey_time=#{journeyTime} where fence_id = #{fenceId} and sn = #{sn} and journey_time = #{journeyTime}
</select> </select>
</mapper> </mapper>
\ No newline at end of file \ No newline at end of file
...@@ -26,6 +26,8 @@ public class StatisticsDriveServiceTest { ...@@ -26,6 +26,8 @@ public class StatisticsDriveServiceTest {
} }
@Test @Test
public void insertStatisticsDriveList() { public void statisticsAndInsertDriveDataEveryDay() {
Integer num = statisticsDriveService.statisticsAndInsertDriveDataEveryDay();
System.out.println("statisticsdrivedataeveryday = " + num);
} }
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!