|
|
@ -250,7 +250,7 @@ public class TechnicalClassBean { |
|
|
try{ |
|
|
try{ |
|
|
//查询技术等级 |
|
|
//查询技术等级 |
|
|
Map<String, String> technicalMap = TechnicalClassApi.getTechnicalClass(srv, luName, keyRef); |
|
|
Map<String, String> technicalMap = TechnicalClassApi.getTechnicalClass(srv, luName, keyRef); |
|
|
//判断查询导数据 |
|
|
|
|
|
|
|
|
logger.info("技术等级查询"); |
|
|
//判断查询导数据 |
|
|
//判断查询导数据 |
|
|
if(technicalMap == null || technicalMap.isEmpty()) { |
|
|
if(technicalMap == null || technicalMap.isEmpty()) { |
|
|
throw new APException("不存在此技术等级的信息!"); |
|
|
throw new APException("不存在此技术等级的信息!"); |
|
|
@ -266,12 +266,16 @@ public class TechnicalClassBean { |
|
|
if(attributeMap == null || attributeMap.isEmpty()) { |
|
|
if(attributeMap == null || attributeMap.isEmpty()) { |
|
|
throw new APException("不存在此技术等级的属性信息!"); |
|
|
throw new APException("不存在此技术等级的属性信息!"); |
|
|
} |
|
|
} |
|
|
|
|
|
logger.info("技术等级属性查询"); |
|
|
//设置替代的ifs的key |
|
|
//设置替代的ifs的key |
|
|
tempData.setIfsRowId(attributeMap.get("IFSROWID")); |
|
|
tempData.setIfsRowId(attributeMap.get("IFSROWID")); |
|
|
tempData.setIfsRowVersion(attributeMap.get("IFSROWVERSION")); |
|
|
tempData.setIfsRowVersion(attributeMap.get("IFSROWVERSION")); |
|
|
|
|
|
tempData.setAttributeType(attributeMap.get("ATTRIBUTETYPE")); |
|
|
tempData.setTechnicalSpecNo(technicalSpecNo); |
|
|
tempData.setTechnicalSpecNo(technicalSpecNo); |
|
|
|
|
|
logger.info("技术等级属性删除开始"); |
|
|
//api修改参数 |
|
|
//api修改参数 |
|
|
TechnicalClassApi.removeTechnicalAttribute(srv, tempData); |
|
|
TechnicalClassApi.removeTechnicalAttribute(srv, tempData); |
|
|
|
|
|
logger.info("技术等级属性删除结束"); |
|
|
} |
|
|
} |
|
|
returnMap.put("resultCode", "200"); |
|
|
returnMap.put("resultCode", "200"); |
|
|
returnMap.put("obj", JSON.toJSONString(inDatas)); |
|
|
returnMap.put("obj", JSON.toJSONString(inDatas)); |
|
|
|