Commit a2957e4c by zhouhaibao

Merge remote-tracking branch 'origin/master'

2 parents 2a1195f9 a7b3784d
......@@ -39,8 +39,10 @@
where tefs.fence_id = tef.id
and tef.biz_fence_type = 12
<if test="keyWord!=null and keyWord!=''">
and tu.account like '%${keyWord}%'
and tu.username like '%${keyWord}%'
and (
tu.account like '%${keyWord}%'
or tu.username like '%${keyWord}%'
)
</if>
<if test="userIdList != null">
and tu.id IN
......@@ -87,8 +89,10 @@
</choose>
<if test="keyWord !=null and keyWord != ''">
and tu.account like '%${keyWord}%'
and tu.username like '%${keyWord}%'
and (
tu.account like '%${keyWord}%'
or tu.username like '%${keyWord}%'
)
</if>
<if test="sn !=null and sn != ''">
and tefdd.sn = #{sn,jdbcType=VARCHAR}
......
......@@ -32,7 +32,7 @@ public class TrialDriveReportServiceTest {
@Test
public void listEffectiveTestDriveReportPage() {
TrialDriveReportSearch trialDriveReportSearch = new TrialDriveReportSearch();
trialDriveReportSearch.setMonth("2");
trialDriveReportSearch.setMonth("02");
List<TrialDriveReportExport> searchList = trialDriveReportService.search(trialDriveReportSearch);
List<TrialDriveReportExport> reportExportList = trialDriveReportService.listEffectiveTestDriveReportPage(trialDriveReportSearch, searchList);
System.out.println("reportExportList = " + JSON.toJSONString(reportExportList));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!