Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
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
zhangkb
indicators
Commits
33412889
Commit
33412889
authored
Sep 11, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试修改报表3生成数据逻辑
parent
d5174c76
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
BeforeCompareUnitCalActor.java
...tors/akka/actor/indicators/BeforeCompareUnitCalActor.java
+0
-2
IndicatorsReportService.java
...le/indicators/service/report/IndicatorsReportService.java
+1
-1
No files found.
src/main/java/com/keymobile/indicators/akka/actor/indicators/BeforeCompareUnitCalActor.java
View file @
33412889
...
@@ -130,8 +130,6 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
...
@@ -130,8 +130,6 @@ public class BeforeCompareUnitCalActor extends AbstractActor{
indicatorsReportService
.
deleteReportThreeDataByParam
(
currentDate
,
indicatorsReportService
.
deleteReportThreeDataByParam
(
currentDate
,
new
ArrayList
<
String
>(
compareObjMap
.
keySet
()),
code
);
new
ArrayList
<
String
>(
compareObjMap
.
keySet
()),
code
);
for
(
CompareUnitDef
unitDef
:
currentCompareUnitDef
)
{
for
(
CompareUnitDef
unitDef
:
currentCompareUnitDef
)
{
Thread
.
currentThread
().
sleep
(
10000
);
logger
.
info
(
"进行报表3数据计算"
);
indicatorsReportService
.
dealDriveIndReportThreeData
(
indicatorsReportService
.
dealDriveIndReportThreeData
(
unitDef
.
getCompareId
(),
Arrays
.
asList
(
unitDef
.
getIndIds
().
split
(
","
)),
unitDef
.
getCompareId
(),
Arrays
.
asList
(
unitDef
.
getIndIds
().
split
(
","
)),
unitDef
.
getDate
(),
code
);
unitDef
.
getDate
(),
code
);
...
...
src/main/java/com/keymobile/indicators/service/report/IndicatorsReportService.java
View file @
33412889
...
@@ -59,7 +59,7 @@ public class IndicatorsReportService {
...
@@ -59,7 +59,7 @@ public class IndicatorsReportService {
return
reportTwoData
.
getId
();
return
reportTwoData
.
getId
();
}
}
public
void
batchSaveOrUpdateReportThree
(
List
<
IndicatorsReportThree
>
reportThreeDatas
)
{
public
synchronized
void
batchSaveOrUpdateReportThree
(
List
<
IndicatorsReportThree
>
reportThreeDatas
)
{
List
<
IndicatorsReportThree
>
addList
=
new
ArrayList
<>();
List
<
IndicatorsReportThree
>
addList
=
new
ArrayList
<>();
List
<
IndicatorsReportThree
>
updateList
=
new
ArrayList
<>();
List
<
IndicatorsReportThree
>
updateList
=
new
ArrayList
<>();
for
(
IndicatorsReportThree
reportThreeData
:
reportThreeDatas
)
{
for
(
IndicatorsReportThree
reportThreeData
:
reportThreeDatas
)
{
...
...
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