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
e82f96e2
Commit
e82f96e2
authored
Oct 17, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
月度困人故障高发使用单位
下钻代码修改
parent
d231c527
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
YJDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/YJDPStatisticsServiceImpl.java
+10
-9
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/YJDPStatisticsServiceImpl.java
View file @
e82f96e2
...
...
@@ -744,7 +744,7 @@ public class YJDPStatisticsServiceImpl {
lambda
.
likeRight
(
AlertUseUnitStatistics:
:
getSupervisoryUnitOrgCode
,
orgCode
);
}
String
date
=
DateUtil
.
formatDate
(
DateTimeUtil
.
addMonths
(
new
Date
(),
-
1
),
"yyyy-MM"
);
lambda
.
ge
(
AlertUseUnitStatistics:
:
getStatisticsDate
,
date
);
lambda
.
eq
(
AlertUseUnitStatistics:
:
getStatisticsDate
,
date
);
// 使用单位
if
(!
ValidationUtil
.
isEmpty
(
detailDto
.
getCompanyName
())){
lambda
.
like
(
AlertUseUnitStatistics:
:
getUseUnit
,
detailDto
.
getCompanyName
().
trim
());
...
...
@@ -753,15 +753,16 @@ public class YJDPStatisticsServiceImpl {
if
(!
ValidationUtil
.
isEmpty
(
detailDto
.
getMaintenanceCompanyName
())){
lambda
.
like
(
AlertUseUnitStatistics:
:
getMaintenanceUnit
,
detailDto
.
getMaintenanceCompanyName
().
trim
());
}
// 开始时间
if
(!
ValidationUtil
.
isEmpty
(
detailDto
.
getTimeSearchOne
().
getBeginDate
())){
lambda
.
ge
(
AlertUseUnitStatistics:
:
getStartDate
,
detailDto
.
getTimeSearchOne
().
getBeginDate
());
}
// 结束时间
if
(!
ValidationUtil
.
isEmpty
(
detailDto
.
getTimeSearchOne
().
getEndDate
())){
lambda
.
le
(
AlertUseUnitStatistics:
:
getEndDate
,
detailDto
.
getTimeSearchOne
().
getEndDate
());
if
(!
ValidationUtil
.
isEmpty
(
detailDto
.
getTimeSearchOne
()))
{
// 开始时间
if
(!
ValidationUtil
.
isEmpty
(
detailDto
.
getTimeSearchOne
().
getBeginDate
()))
{
lambda
.
ge
(
AlertUseUnitStatistics:
:
getStartDate
,
detailDto
.
getTimeSearchOne
().
getBeginDate
());
}
// 结束时间
if
(!
ValidationUtil
.
isEmpty
(
detailDto
.
getTimeSearchOne
().
getEndDate
()))
{
lambda
.
le
(
AlertUseUnitStatistics:
:
getEndDate
,
detailDto
.
getTimeSearchOne
().
getEndDate
());
}
}
// 设备类型
if
(!
ValidationUtil
.
isEmpty
(
detailDto
.
getEquListCode
())){
lambda
.
le
(
AlertUseUnitStatistics:
:
getEquipmentClassificationCode
,
detailDto
.
getEquListCode
());
...
...
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