pbom-异常检查可多选-2
This commit is contained in:
parent
309948adbd
commit
b46d67dc4e
|
|
@ -64,6 +64,8 @@ public class CheckPBomException {
|
|||
vo.setExceptionStatus(EBomExceptionStatusEnum.EXCEPT_NO_2.getValue());
|
||||
}
|
||||
}
|
||||
|
||||
initExceptionYellowWarn();
|
||||
}
|
||||
/**
|
||||
* 黄色警号异常
|
||||
|
|
@ -71,7 +73,7 @@ public class CheckPBomException {
|
|||
* @param
|
||||
*/
|
||||
public void initExceptionYellowWarn() {
|
||||
Set<BomNewPbomParentVO> exceptionItems = allBomDetail.stream().filter(u -> EBomExceptionStatusEnum.EXCEPT_NO_2.equals(u.getExceptionStatus())).collect(Collectors.toSet());
|
||||
Set<BomNewPbomParentVO> exceptionItems = allBomDetail.stream().filter(u -> EBomExceptionStatusEnum.EXCEPT_NO_2.equalsValue(u.getExceptionStatus())).collect(Collectors.toSet());
|
||||
for (BomNewPbomParentVO vo : exceptionItems) {
|
||||
initExceptionParent(vo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue