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
5b7148e2
Commit
5b7148e2
authored
Jun 28, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.报表统计bug
parent
4f3c4251
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+1
-1
ReportAnalysisServiceImpl.java
...module/jg/biz/service/impl/ReportAnalysisServiceImpl.java
+2
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/CommonServiceImpl.java
View file @
5b7148e2
...
...
@@ -1893,7 +1893,7 @@ public class CommonServiceImpl implements ICommonService {
* 设备分类
*
* @param type 1,设备种类 2,设备类别 3,设备品种
* @return
*
.c
@return
*/
@Override
public
List
<
EquipmentCategory
>
equipmentClassification
(
String
type
)
{
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/ReportAnalysisServiceImpl.java
View file @
5b7148e2
...
...
@@ -172,7 +172,7 @@ public class ReportAnalysisServiceImpl implements IReportAnalysisService {
private
Long
countDocumentNum
(
List
<
JgBizCountDataBO
>
countDataBOList
,
int
code
,
JgBizCountDataDto
c
)
{
return
countDataBOList
.
stream
().
filter
(
d
->
Objects
.
equals
(
d
.
getReceiveCompanyCode
(),
c
.
getReceiveCompanyCode
())
&&
Objects
.
equals
(
d
.
getEquList
(),
c
.
getEquList
())
&&
Objects
.
equals
(
d
.
getEquCategory
(),
c
.
getEquCategory
())
&&
Objects
.
equals
(
d
.
getEqu
Category
(),
c
.
getEquCategory
())
&&
Objects
.
equals
(
d
.
getEqu
Define
(),
c
.
getEquDefine
())
&&
Objects
.
equals
(
d
.
getBizType
(),
c
.
getBizType
())
&&
d
.
getStatus
().
equals
(
String
.
valueOf
(
code
))).
mapToLong
(
JgBizCountDataBO:
:
getNum
).
sum
();
...
...
@@ -181,7 +181,7 @@ public class ReportAnalysisServiceImpl implements IReportAnalysisService {
private
Long
countDocumentNum
(
List
<
JgBizCountDataBO
>
countDataBOList
,
List
<
String
>
statusList
,
JgBizCountDataDto
c
)
{
return
countDataBOList
.
stream
().
filter
(
d
->
Objects
.
equals
(
d
.
getReceiveCompanyCode
(),
c
.
getReceiveCompanyCode
())
&&
Objects
.
equals
(
d
.
getEquList
(),
c
.
getEquList
())
&&
Objects
.
equals
(
d
.
getEquCategory
(),
c
.
getEquCategory
())
&&
Objects
.
equals
(
d
.
getEqu
Category
(),
c
.
getEquCategory
())
&&
Objects
.
equals
(
d
.
getEqu
Define
(),
c
.
getEquDefine
())
&&
Objects
.
equals
(
d
.
getBizType
(),
c
.
getBizType
())
&&
statusList
.
contains
(
d
.
getStatus
())).
mapToLong
(
JgBizCountDataBO:
:
getNum
).
sum
();
...
...
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