|
@@ -486,6 +486,8 @@ public class BomProcedureVersionServiceImpl extends SuperServiceImpl<BomProcedur
|
|
|
// }
|
|
|
int sort=1;
|
|
|
for(BomProcedureTray tray:procedureTrayList){
|
|
|
+ if(StringUtils.isEmpty(tray.getNo()))
|
|
|
+ continue;
|
|
|
//添加组
|
|
|
BomProcedureTrayGroup groupBean = new BomProcedureTrayGroup();
|
|
|
groupBean.setGroupSort(sort);
|
|
@@ -639,11 +641,11 @@ public class BomProcedureVersionServiceImpl extends SuperServiceImpl<BomProcedur
|
|
|
// }
|
|
|
//
|
|
|
// //程序附件,表业务id放入map
|
|
|
-// for(BomProcedureProgramGroup ppg:pgList){
|
|
|
-// if(StrUtil.isNotEmpty(ppg.getFilePath())){
|
|
|
-// attMap.put(ppg.getFilePath(),ppg.getId());
|
|
|
-// }
|
|
|
-// }
|
|
|
+ for(BomProcedureProgram ppg:pList){
|
|
|
+ if(StrUtil.isNotEmpty(ppg.getFilePath())){
|
|
|
+ attMap.put(ppg.getFilePath(),ppg.getId());
|
|
|
+ }
|
|
|
+ }
|
|
|
// }
|
|
|
// }
|
|
|
}
|