|
|
|
@ -588,7 +588,7 @@ public class RoutingServiceBean { |
|
|
|
throw new APException("Routing Alternative不存在!"); |
|
|
|
} |
|
|
|
//查询结果集 |
|
|
|
List<RoutingIfsItem> resultList = RoutingApi.getRoutingItems(srv, contract, partNo, routingRevision, routingType, alternativeNo, operationNo); |
|
|
|
/* List<RoutingIfsItem> resultList = RoutingApi.getRoutingItems(srv, contract, partNo, routingRevision, routingType, alternativeNo, operationNo); |
|
|
|
//判断是否查询数据 |
|
|
|
if(resultList.isEmpty()) { |
|
|
|
throw new APException("不存在此Routing组件信息!"); |
|
|
|
@ -597,12 +597,12 @@ public class RoutingServiceBean { |
|
|
|
RoutingIfsItem routingItem = resultList.get(0); |
|
|
|
//设置版本信息 |
|
|
|
inData.setIfsRowId(routingItem.getIfsRowId()); |
|
|
|
inData.setIfsRowVersion(routingItem.getIfsRowVersion()); |
|
|
|
inData.setIfsRowVersion(routingItem.getIfsRowVersion());*/ |
|
|
|
//调用修改的方法 |
|
|
|
Map<String, String> resultMap = RoutingApi.modifyRoutingItem(srv, inData); |
|
|
|
//设置ifs 信息 |
|
|
|
routingItem.setIfsRowId(resultMap.get("OBJID")); |
|
|
|
routingItem.setIfsRowVersion(resultMap.get("OBJVERSION")); |
|
|
|
inData.setIfsRowId(resultMap.get("OBJID")); |
|
|
|
inData.setIfsRowVersion(resultMap.get("OBJVERSION")); |
|
|
|
returnMap.put("resultCode", "200"); |
|
|
|
returnMap.put("obj", JSON.toJSONString(inData)); |
|
|
|
} catch(APException e){ |
|
|
|
|