Commit ec3e0162 by hzc

修改短板运算结果集重复保存bug

parent 5e00156f
......@@ -97,8 +97,10 @@ public class ShortboardRuleService {
List<ShortboardRecord> result = new ArrayList<>();
Gson gson = new Gson();
int status = 0;
List<DriveIndCalResultDef> compareCalResults = new ArrayList<>();
for(String driveId : shortBoardWarnData.getDriveIndIds()) {
List<DriveIndCalResultDef> compareCalResults = new ArrayList<>();
DriveIndDef driveIndDef = driveIndDefService.getById(driveId);
if(driveIndDef!=null) {
StringBuilder shortboardRuleIdString = new StringBuilder("");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment