Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
d9da3848
Commit
d9da3848
authored
Sep 20, 2022
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改巡查报表列表查询接口
parent
caf397a2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
AnalysisReportLogMapper.java
...m/yeejoin/equipmanage/mapper/AnalysisReportLogMapper.java
+2
-2
FilePatrolReportServiceImpl.java
...equipmanage/service/impl/FilePatrolReportServiceImpl.java
+2
-2
FireAutoSysManageReportServiceImpl.java
...nage/service/impl/FireAutoSysManageReportServiceImpl.java
+2
-2
AnalysisReportLogMapper.xml
...uip/src/main/resources/mapper/AnalysisReportLogMapper.xml
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/AnalysisReportLogMapper.java
View file @
d9da3848
...
@@ -20,8 +20,8 @@ import com.yeejoin.equipmanage.common.entity.AnalysisReportLog;
...
@@ -20,8 +20,8 @@ import com.yeejoin.equipmanage.common.entity.AnalysisReportLog;
*/
*/
public
interface
AnalysisReportLogMapper
extends
BaseMapper
<
AnalysisReportLog
>
{
public
interface
AnalysisReportLogMapper
extends
BaseMapper
<
AnalysisReportLog
>
{
IPage
<
AnalysisReportLogDto
>
allPage
(
Page
<
AnalysisReportLogDto
>
page
,
@Param
(
"analysisReportLog"
)
AnalysisReportLogDto
analysisReportLog
,
IPage
<
AnalysisReportLogDto
>
allPage
(
Page
<
AnalysisReportLogDto
>
page
,
@Param
(
"analysisReportLog"
)
AnalysisReportLogDto
analysisReportLog
@Param
(
"rootParentId"
)
Long
rootParentId
);
);
Map
<
String
,
Object
>
getStation
(
String
stationCode
);
Map
<
String
,
Object
>
getStation
(
String
stationCode
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/FilePatrolReportServiceImpl.java
View file @
d9da3848
...
@@ -371,8 +371,8 @@ public class FilePatrolReportServiceImpl implements IFirePatrolReportService {
...
@@ -371,8 +371,8 @@ public class FilePatrolReportServiceImpl implements IFirePatrolReportService {
analysisReportLog
.
setEndDate
(
endDate
);
analysisReportLog
.
setEndDate
(
endDate
);
analysisReportLog
.
setReportType
(
reportType
);
analysisReportLog
.
setReportType
(
reportType
);
analysisReportLog
.
setStationCode
(
stationCode
);
analysisReportLog
.
setStationCode
(
stationCode
);
Long
rootParentId
=
Long
.
valueOf
(
String
.
valueOf
(
analysisReportLogMapper
.
getRootOrgUsr
().
get
(
"sequence_nbr"
)));
//
Long rootParentId = Long.valueOf(String.valueOf(analysisReportLogMapper.getRootOrgUsr().get("sequence_nbr")));
return
analysisReportLogMapper
.
allPage
(
page
,
analysisReportLog
,
rootParentId
);
return
analysisReportLogMapper
.
allPage
(
page
,
analysisReportLog
);
}
}
@Override
@Override
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/FireAutoSysManageReportServiceImpl.java
View file @
d9da3848
...
@@ -250,8 +250,8 @@ public class FireAutoSysManageReportServiceImpl implements IFireAutoSysManageRep
...
@@ -250,8 +250,8 @@ public class FireAutoSysManageReportServiceImpl implements IFireAutoSysManageRep
analysisReportLog
.
setEndDate
(
endDate
);
analysisReportLog
.
setEndDate
(
endDate
);
analysisReportLog
.
setReportType
(
reportType
);
analysisReportLog
.
setReportType
(
reportType
);
analysisReportLog
.
setStationCode
(
stationCode
);
analysisReportLog
.
setStationCode
(
stationCode
);
Long
rootParentId
=
Long
.
valueOf
(
String
.
valueOf
(
analysisReportLogMapper
.
getRootOrgUsr
().
get
(
"sequence_nbr"
)));
//
Long rootParentId = Long.valueOf(String.valueOf(analysisReportLogMapper.getRootOrgUsr().get("sequence_nbr")));
return
analysisReportLogMapper
.
allPage
(
page
,
analysisReportLog
,
rootParentId
);
return
analysisReportLogMapper
.
allPage
(
page
,
analysisReportLog
);
}
}
@Override
@Override
...
...
amos-boot-system-equip/src/main/resources/mapper/AnalysisReportLogMapper.xml
View file @
d9da3848
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
FROM
FROM
wl_analysis_report_log,cb_org_usr
wl_analysis_report_log,cb_org_usr
<where>
<where>
cb_org_usr.biz_org_type = 'COMPANY' AND cb_org_usr.is_delete = 0
AND cb_org_usr.parent_id = #{rootParentId}
cb_org_usr.biz_org_type = 'COMPANY' AND cb_org_usr.is_delete = 0
AND LENGTH(cb_org_usr.biz_org_code)>12
<if
test=
"analysisReportLog.reportType != null"
>
<if
test=
"analysisReportLog.reportType != null"
>
AND wl_analysis_report_log.report_type = #{analysisReportLog.reportType}
AND wl_analysis_report_log.report_type = #{analysisReportLog.reportType}
</if>
</if>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
AND DATE_FORMAT(wl_analysis_report_log.end_date, '%Y-%m-%d')
<
= DATE_FORMAT(#{analysisReportLog.endDate}, '%Y-%m-%d')
AND DATE_FORMAT(wl_analysis_report_log.end_date, '%Y-%m-%d')
<
= DATE_FORMAT(#{analysisReportLog.endDate}, '%Y-%m-%d')
</if>
</if>
<if
test=
"analysisReportLog.stationCode != null"
>
<if
test=
"analysisReportLog.stationCode != null"
>
AND cb_org_usr.biz_org_code
= #{analysisReportLog.stationCode}
AND cb_org_usr.biz_org_code
like concat(#{analysisReportLog.stationCode},'%')
</if>
</if>
</where>
</where>
ORDER BY
ORDER BY
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment