Browse Source

ifs Tool jar代码提交

master
Rui_Li 1 year ago
parent
commit
c7b33b7e1a
  1. 5
      src/main/java/com/spring/modules/Tooling/service/impl/ToolServiceImpl.java

5
src/main/java/com/spring/modules/Tooling/service/impl/ToolServiceImpl.java

@ -449,7 +449,7 @@ public class ToolServiceImpl implements ToolService {
String ifsPassword = ifsUser.getIfsPassword(); String ifsPassword = ifsUser.getIfsPassword();
//获取链接 //获取链接
Server srv = ifsServer.getIfsServer(ifsUsername, ifsPassword); Server srv = ifsServer.getIfsServer(ifsUsername, ifsPassword);
//调用新的api方法 执行新增的方法
try { //调用新的api方法 执行新增的方法
ToolInfo returnTool = this.syncIfsToolInstance(srv, toolInstanceData); ToolInfo returnTool = this.syncIfsToolInstance(srv, toolInstanceData);
//设置版本号 //设置版本号
inData.setIfsRowId(returnTool.getIfsRowId()); inData.setIfsRowId(returnTool.getIfsRowId());
@ -457,8 +457,8 @@ public class ToolServiceImpl implements ToolService {
//2.调用api处理工具实例部分的属性数据 //2.调用api处理工具实例部分的属性数据
if(propertyNo != null && !propertyNo.equals("")){ if(propertyNo != null && !propertyNo.equals("")){
try {
this.syncIfsToolInstancePropertyTemplate(srv, site, toolId, toolInstance, propertyNo); this.syncIfsToolInstancePropertyTemplate(srv, site, toolId, toolInstance, propertyNo);
}
} catch (Exception e){ } catch (Exception e){
//2.调用IFS API接口 //2.调用IFS API接口
this.removeIfsToolInstance(srv, toolInstanceData); this.removeIfsToolInstance(srv, toolInstanceData);
@ -466,7 +466,6 @@ public class ToolServiceImpl implements ToolService {
} }
} }
} }
}

Loading…
Cancel
Save