Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-standard-interfaces
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5265fd34
authored
Oct 20, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加测试用例
1 parent
25dbda59
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
src/main/resources/mapper/ElectricFenceDriveMapper.xml
src/test/java/cn/com/glsx/stdinterface/modules/service/StatisticsDriveServiceTest.java
src/main/resources/mapper/ElectricFenceDriveMapper.xml
View file @
5265fd3
...
@@ -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
src/test/java/cn/com/glsx/stdinterface/modules/service/StatisticsDriveServiceTest.java
View file @
5265fd3
...
@@ -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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment