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
e9f9a9d5
Commit
e9f9a9d5
authored
Dec 11, 2020
by
hzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
a6581878
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
IndicatorsReportService.java
...le/indicators/service/report/IndicatorsReportService.java
+10
-9
No files found.
src/main/java/com/keymobile/indicators/service/report/IndicatorsReportService.java
View file @
e9f9a9d5
...
@@ -127,17 +127,18 @@ public class IndicatorsReportService {
...
@@ -127,17 +127,18 @@ public class IndicatorsReportService {
public
void
deleteReportThreeDataByParam
(
Integer
date
,
List
<
String
>
compareObjs
,
String
code
)
{
public
void
deleteReportThreeDataByParam
(
Integer
date
,
List
<
String
>
compareObjs
,
String
code
)
{
if
(
compareObjs
!=
null
&&
compareObjs
.
size
()>
0
){
if
(
compareObjs
!=
null
&&
compareObjs
.
size
()>
0
){
Map
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
String
type
=
this
.
getCompareType
(
date
);
paramMap
.
put
(
"date"
,
date
);
paramMap
.
put
(
"type"
,
type
);
paramMap
.
put
(
"code"
,
code
);
paramMap
.
put
(
"compareObjs"
,
compareObjs
);
log
.
info
(
"开始清除报表三数据:date={},type={},code={},compareObjs={}"
,
date
,
type
,
code
,
compareObjs
);
reportThreeMapper
.
deleteByParam
(
paramMap
);
}
else
{
log
.
info
(
"指标层级为空或对标主体为空-不清除报表三数据"
);
log
.
info
(
"指标层级为空或对标主体为空-不清除报表三数据"
);
return
;
}
}
Map
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
return
;
String
type
=
this
.
getCompareType
(
date
);
paramMap
.
put
(
"date"
,
date
);
paramMap
.
put
(
"type"
,
type
);
paramMap
.
put
(
"code"
,
code
);
paramMap
.
put
(
"compareObjs"
,
compareObjs
);
log
.
info
(
"开始清除报表三数据:date={},type={},code={},compareObjs={}"
,
date
,
type
,
code
,
compareObjs
);
reportThreeMapper
.
deleteByParam
(
paramMap
);
}
}
public
void
dealDriveIndReportThreeData
(
String
compareId
,
List
<
String
>
indIds
,
public
void
dealDriveIndReportThreeData
(
String
compareId
,
List
<
String
>
indIds
,
...
...
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