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
ed3c05cc
Commit
ed3c05cc
authored
Oct 12, 2020
by
hzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改参数(单词写错
parent
e1ad7de0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
ShortBoardWarnData.java
...ndicators/model/entity/shortboard/ShortBoardWarnData.java
+1
-1
ShortboardRuleService.java
...e/indicators/service/hytobacco/ShortboardRuleService.java
+1
-1
ShortboardUnitService.java
...e/indicators/service/hytobacco/ShortboardUnitService.java
+2
-1
No files found.
src/main/java/com/keymobile/indicators/model/entity/shortboard/ShortBoardWarnData.java
View file @
ed3c05cc
...
@@ -13,7 +13,7 @@ public class ShortBoardWarnData {
...
@@ -13,7 +13,7 @@ public class ShortBoardWarnData {
@ApiModelProperty
(
"短板单元id"
)
@ApiModelProperty
(
"短板单元id"
)
private
Integer
id
;
private
Integer
id
;
@ApiModelProperty
(
"短板对象集合"
)
@ApiModelProperty
(
"短板对象集合"
)
private
List
<
String
>
com
m
pareObjs
;
private
List
<
String
>
compareObjs
;
@ApiModelProperty
(
"考核指标id集合"
)
@ApiModelProperty
(
"考核指标id集合"
)
private
List
<
String
>
driveIndIds
;
private
List
<
String
>
driveIndIds
;
@ApiModelProperty
(
"短板规则id集合"
)
@ApiModelProperty
(
"短板规则id集合"
)
...
...
src/main/java/com/keymobile/indicators/service/hytobacco/ShortboardRuleService.java
View file @
ed3c05cc
...
@@ -116,7 +116,7 @@ public class ShortboardRuleService {
...
@@ -116,7 +116,7 @@ public class ShortboardRuleService {
for
(
ShortboardItem
shortboardItem
:
shortboardItems
)
{
for
(
ShortboardItem
shortboardItem
:
shortboardItems
)
{
shortboardType
.
append
(
shortboardItem
.
getType
()).
append
(
";"
);
//拼接短板类型
shortboardType
.
append
(
shortboardItem
.
getType
()).
append
(
";"
);
//拼接短板类型
List
<
DriveIndCalResultDef
>
driveIndCalResults
=
this
.
selectShortboardObj
(
List
<
DriveIndCalResultDef
>
driveIndCalResults
=
this
.
selectShortboardObj
(
shortboardItem
,
shortBoardWarnData
.
getCom
m
pareObjs
(),
driveId
,
shortBoardWarnData
.
getDate
(),
shortBoardWarnData
.
getCode
());
shortboardItem
,
shortBoardWarnData
.
getCompareObjs
(),
driveId
,
shortBoardWarnData
.
getDate
(),
shortBoardWarnData
.
getCode
());
if
(
status
==
0
)
{
if
(
status
==
0
)
{
compareCalResults
.
addAll
(
driveIndCalResults
);
compareCalResults
.
addAll
(
driveIndCalResults
);
status
=
1
;
status
=
1
;
...
...
src/main/java/com/keymobile/indicators/service/hytobacco/ShortboardUnitService.java
View file @
ed3c05cc
...
@@ -89,7 +89,7 @@ public class ShortboardUnitService {
...
@@ -89,7 +89,7 @@ public class ShortboardUnitService {
List
<
ShortboardRecord
>
result
=
new
ArrayList
<>();
List
<
ShortboardRecord
>
result
=
new
ArrayList
<>();
//ShortboardUnit shortboardUnit = this.getById(id);//根据短板单元id获取短板单元
//ShortboardUnit shortboardUnit = this.getById(id);//根据短板单元id获取短板单元
if
(
shortBoardWarnData
!=
null
)
{
if
(
shortBoardWarnData
!=
null
)
{
List
<
String
>
compareObjList
=
shortBoardWarnData
.
getCom
m
pareObjs
();
//new ArrayList<>();
List
<
String
>
compareObjList
=
shortBoardWarnData
.
getCompareObjs
();
//new ArrayList<>();
List
<
String
>
driveIndIdList
=
shortBoardWarnData
.
getDriveIndIds
();
// new ArrayList<>();
List
<
String
>
driveIndIdList
=
shortBoardWarnData
.
getDriveIndIds
();
// new ArrayList<>();
List
<
Integer
>
shortboardIdList
=
shortBoardWarnData
.
getShortboardIds
();
// new ArrayList<>();
List
<
Integer
>
shortboardIdList
=
shortBoardWarnData
.
getShortboardIds
();
// new ArrayList<>();
//转换短板对象
//转换短板对象
...
@@ -125,6 +125,7 @@ public class ShortboardUnitService {
...
@@ -125,6 +125,7 @@ public class ShortboardUnitService {
}
}
//批量保存
//批量保存
shortboardRecordMapper
.
batchSave
(
result
);
shortboardRecordMapper
.
batchSave
(
result
);
}
}
}
}
return
"保存成功"
;
return
"保存成功"
;
...
...
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