Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c96fcf96
authored
May 30, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
联调提测
1 parent
b525eafd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/main/resources/mapper/TrialDriveReportMapper.xml
src/test/java/cn/com/glsx/admin/modules/service/TrialDriveReportServiceTest.java
src/main/resources/mapper/TrialDriveReportMapper.xml
View file @
c96fcf9
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
and tef.biz_fence_type = 12
and tef.biz_fence_type = 12
<if
test=
"keyWord!=null and keyWord!=''"
>
<if
test=
"keyWord!=null and keyWord!=''"
>
and tu.account like '%${keyWord}%'
and tu.account like '%${keyWord}%'
and
tu.username like '%${keyWord}%'
or
tu.username like '%${keyWord}%'
</if>
</if>
<if
test=
"userIdList != null"
>
<if
test=
"userIdList != null"
>
and tu.id IN
and tu.id IN
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
<if
test=
"keyWord !=null and keyWord != ''"
>
<if
test=
"keyWord !=null and keyWord != ''"
>
and tu.account like '%${keyWord}%'
and tu.account like '%${keyWord}%'
and
tu.username like '%${keyWord}%'
or
tu.username like '%${keyWord}%'
</if>
</if>
<if
test=
"sn !=null and sn != ''"
>
<if
test=
"sn !=null and sn != ''"
>
and tefdd.sn = #{sn,jdbcType=VARCHAR}
and tefdd.sn = #{sn,jdbcType=VARCHAR}
...
...
src/test/java/cn/com/glsx/admin/modules/service/TrialDriveReportServiceTest.java
View file @
c96fcf9
...
@@ -32,7 +32,7 @@ public class TrialDriveReportServiceTest {
...
@@ -32,7 +32,7 @@ public class TrialDriveReportServiceTest {
@Test
@Test
public
void
listEffectiveTestDriveReportPage
()
{
public
void
listEffectiveTestDriveReportPage
()
{
TrialDriveReportSearch
trialDriveReportSearch
=
new
TrialDriveReportSearch
();
TrialDriveReportSearch
trialDriveReportSearch
=
new
TrialDriveReportSearch
();
trialDriveReportSearch
.
setMonth
(
"2"
);
trialDriveReportSearch
.
setMonth
(
"
0
2"
);
List
<
TrialDriveReportExport
>
searchList
=
trialDriveReportService
.
search
(
trialDriveReportSearch
);
List
<
TrialDriveReportExport
>
searchList
=
trialDriveReportService
.
search
(
trialDriveReportSearch
);
List
<
TrialDriveReportExport
>
reportExportList
=
trialDriveReportService
.
listEffectiveTestDriveReportPage
(
trialDriveReportSearch
,
searchList
);
List
<
TrialDriveReportExport
>
reportExportList
=
trialDriveReportService
.
listEffectiveTestDriveReportPage
(
trialDriveReportSearch
,
searchList
);
System
.
out
.
println
(
"reportExportList = "
+
JSON
.
toJSONString
(
reportExportList
));
System
.
out
.
println
(
"reportExportList = "
+
JSON
.
toJSONString
(
reportExportList
));
...
...
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