修改OTAbug
This commit is contained in:
+10
@@ -711,12 +711,22 @@ public class OtaManageApplyEOServiceImpl extends ServiceImpl<OtaManageApplyEOMap
|
||||
manageApplyEO.setCertificationSubmission(certificationSubmission);
|
||||
}
|
||||
//设置studio
|
||||
boolean havePro = false;
|
||||
for (ProjectLibraryBase pro : projectList) {
|
||||
if (pro.getId().equals(manageApplyEO.getProjectVersion())) {
|
||||
manageApplyEO.setStudio(pro.getStudioEngineer());
|
||||
havePro = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!havePro){
|
||||
//找不到项目的话
|
||||
manageApplyEO.setProjectVersion(null);
|
||||
manageApplyEO.setStudio(null);
|
||||
manageApplyEO.setAttestationEndTime(null);
|
||||
manageApplyEO.setAttestationStartTime(null);
|
||||
manageApplyEO.setCertificationSubmission(null);
|
||||
}
|
||||
if (StringUtils.isNotEmpty(manageApplyEO.getStudio())) {
|
||||
if (CollectionUtils.isNotEmpty(studioEngineerUserInfo)) {
|
||||
String studioEngineerUserName = studioEngineerUserInfo.stream().filter(studioEngineerUser -> {
|
||||
|
||||
Reference in New Issue
Block a user