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
07d50594
Commit
07d50594
authored
Mar 09, 2023
by
dengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增计算前先清除smartBi缓存
parent
aaf10b50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
DriveIndCalResultCtrl.java
...obile/indicators/api/hytobacco/DriveIndCalResultCtrl.java
+5
-0
No files found.
src/main/java/com/keymobile/indicators/api/hytobacco/DriveIndCalResultCtrl.java
View file @
07d50594
...
...
@@ -6,6 +6,7 @@ import java.util.List;
import
java.util.Map
;
import
com.keymobile.indicators.model.entity.indicators.CompareUnitCalLog
;
import
com.keymobile.indicators.service.SystemAuthService
;
import
io.swagger.annotations.ApiParam
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -36,6 +37,8 @@ public class DriveIndCalResultCtrl {
private
DriveIndCalResultService
driveIndCalResultService
;
@Autowired
private
CompareUnitCalLogService
compUnitCalLogService
;
@Autowired
private
SystemAuthService
systemAuthService
;
@ApiOperation
(
value
=
"对标结果批量新增,修改"
,
notes
=
"对标结果批量新增,修改"
)
@PostMapping
(
value
=
"/batchSaveOrUpdate"
)
...
...
@@ -71,6 +74,8 @@ public class DriveIndCalResultCtrl {
LogManager
.
logInfo
(
Constants
.
LOG_INDICATOR_UNIT_CAL_API
,
"执行对标单元id:{},日期:{} 的计算"
,
compUnitDefString
.
toString
(),
compareUnitList
.
get
(
0
).
getDate
());
}
// 2023年3月9日10:38:41 -- 新增计算前先清除smartBi缓存
systemAuthService
.
clearAllPools
();
driveIndCalResultService
.
compareUnitListCal
(
compareUnitList
,
code
,
isTest
,
path
);
}
...
...
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