|
|
@ -593,8 +593,8 @@ public class RecipeServiceBeanTest { |
|
|
Server srv = ifsServer.getIfsServer(username, password); |
|
|
Server srv = ifsServer.getIfsServer(username, password); |
|
|
//查询结果集 |
|
|
//查询结果集 |
|
|
List<RecipeIfsItem> itemList = RecipeApi.getRecipeItems(srv, contract, partNo, engChgLevel, bomType, alternativeNo, lineItemNo); |
|
|
List<RecipeIfsItem> itemList = RecipeApi.getRecipeItems(srv, contract, partNo, engChgLevel, bomType, alternativeNo, lineItemNo); |
|
|
// |
|
|
|
|
|
if(itemList != null || itemList.size() > 0){ |
|
|
|
|
|
|
|
|
//打印查询出的日志 |
|
|
|
|
|
if(itemList != null && itemList.size() > 0){ |
|
|
throw new APException("已存在此查Recipe组件信息!"); |
|
|
throw new APException("已存在此查Recipe组件信息!"); |
|
|
} |
|
|
} |
|
|
//调用api |
|
|
//调用api |
|
|
|