|
|
|
@ -460,9 +460,9 @@ public class BomServiceBean { |
|
|
|
//查询结果集 |
|
|
|
List<BomIfsItem> resultList = BomApi.getBomItems(srv, contract, partNo, engChgLevel, bomType, alternativeNo, lineItemNo); |
|
|
|
//判断是否查询数据 |
|
|
|
if(resultList.size() == 0 || resultList.isEmpty()) { |
|
|
|
/*if(resultList.size() == 0 || resultList.isEmpty()) { |
|
|
|
throw new APException("不存在此bom组件信息!"); |
|
|
|
} |
|
|
|
} 暂时注释掉*/ |
|
|
|
returnMap.put("resultCode", "200"); |
|
|
|
returnMap.put("obj", JSON.toJSONString(resultList)); |
|
|
|
} catch(APException e){ |
|
|
|
|