|
|
|
@ -88,6 +88,12 @@ public class BomTakeEffectService implements IBomTakeEffectService {
|
|
|
|
|
}
|
|
|
|
|
if (null != baseResultBean && baseResultBean.success) {
|
|
|
|
|
wmsBomTotalList = (List<WmsBomTotalModel>) baseResultBean.getResultList();
|
|
|
|
|
} else {
|
|
|
|
|
throw ImppExceptionBuilder.newInstance()
|
|
|
|
|
.setSystemID(CommonEnumUtil.SOFT_TYPE.MES_PCN.getCode())
|
|
|
|
|
.setErrorCode(ImppExceptionEnum.VARIFY_EXCEPTION_DATA_EXIT.getCode())
|
|
|
|
|
.setErrorDetail(baseResultBean.getErrorMsg())
|
|
|
|
|
.build();
|
|
|
|
|
}
|
|
|
|
|
if (CollectionUtils.isEmpty(wmsBomTotalList)) {
|
|
|
|
|
throw ImppExceptionBuilder.newInstance()
|
|
|
|
|