|
|
@ -57,7 +57,7 @@ public class RecipeServiceBeanTest { |
|
|
Map<String, String> RecipeMap = RecipeApi.getRecipeHeader(srv, contract, partNo, engChgLevel, bomType); |
|
|
Map<String, String> RecipeMap = RecipeApi.getRecipeHeader(srv, contract, partNo, engChgLevel, bomType); |
|
|
//判断是否需要插入到ifs |
|
|
//判断是否需要插入到ifs |
|
|
if(RecipeMap == null || RecipeMap.size() == 0) { |
|
|
if(RecipeMap == null || RecipeMap.size() == 0) { |
|
|
throw new RuntimeException("Recipe不存在!"); |
|
|
|
|
|
|
|
|
throw new APException("Recipe不存在!"); |
|
|
} |
|
|
} |
|
|
//设置ifs 信息 |
|
|
//设置ifs 信息 |
|
|
inData.setIfsRowId(RecipeMap.get("IFSROWID")); |
|
|
inData.setIfsRowId(RecipeMap.get("IFSROWID")); |
|
|
|