diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/ota/service/impl/OtaManageApplyEOServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/ota/service/impl/OtaManageApplyEOServiceImpl.java index 17fcb9d97..386bea44e 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/ota/service/impl/OtaManageApplyEOServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/ota/service/impl/OtaManageApplyEOServiceImpl.java @@ -673,7 +673,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl vprojectVersionList = getProjectVersionList(otaManageApplyEO.getAppliedVehicleProject(),null); + List vprojectVersionList = getProjectVersionList(otaManageApplyEO.getAppliedVehicleProject(), null); //项目版本id List projectVersionList = list.stream() .map(OtaManageApplyEO::getProjectVersion).distinct().collect(Collectors.toList()); @@ -691,7 +691,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl taskPlanningList = projectTaskPlanningList.stream() @@ -732,7 +732,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl getCarList(String cut,String plannedBpLaunchBatch) { + public List getCarList(String cut, String plannedBpLaunchBatch) { List otaManageApplyEOS = this.getBaseMapper().getOtaCarList(plannedBpLaunchBatch); List result = new LinkedList<>(); if (CutEnum.CN.getValue().equals(cut)) { @@ -851,7 +851,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl getProjectVersionList(String carMarket,String cut) { + public List getProjectVersionList(String carMarket, String cut) { List result = new LinkedList<>(); if (StringUtils.isNotBlank(carMarket)) { @@ -894,9 +894,9 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl getVersionInfo(String vdr,String car) { + public List getVersionInfo(String vdr, String car) { //认证进度数据字典 certification_progress List regionDictList = sysDictItemServiceImpl.selectItemsByDictCode("certification_progress"); @@ -947,7 +947,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl list, String cut) { LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); @@ -1107,55 +1115,59 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl 0) { - this.saveOrUpdateBatch(list); + this.saveOrUpdateBatch(saveList); otaManageHistoryService.saveBatch(hisList); } } @@ -1372,8 +1384,8 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl> getStatisticalStatus(String projectId, String plannedBpLaunchBatch, String cut) { List receiveList = this.getBaseMapper().getListByProjectId(projectId, plannedBpLaunchBatch); - List> result = new ArrayList<>(); - if(!receiveList.isEmpty()){ + List> result = new ArrayList<>(); + if (!receiveList.isEmpty()) { List plannedBpLaunchBatchList = receiveList.stream() .filter(e -> StringUtils.isNotBlank(e.getPlannedBpLaunchBatch())) .map(OtaManageApplyEO::getPlannedBpLaunchBatch).distinct().collect(Collectors.toList()); @@ -1429,7 +1441,7 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl statisticalMap = new HashMap<>(); - statisticalMap.put("plannedBpLaunchBatch",s); + statisticalMap.put("plannedBpLaunchBatch", s); statisticalMap.put("allCount", total); List> matchStatusMapList = new ArrayList<>(); matchStatusMapList.add(wrapStatMap("matchStatus", "matchStatusCount", OtaStatusEnum.TO_BE_MATCHED.getKey(), toBeMatched));