类 InterfaceMethodService
- java.lang.Object
-
- net.risesoft.service.InterfaceMethodService
-
@Service("interfaceMethodService") public class InterfaceMethodService extends Object- 作者:
- zhangchongjie
- Date:
- 2024/05/29
-
-
构造器概要
构造器 构造器 说明 InterfaceMethodService(net.risesoft.api.itemadmin.ItemInterfaceApi itemInterfaceApi, net.risesoft.y9public.service.Y9FileStoreService y9FileStoreService, net.risesoft.y9.configuration.Y9Properties y9Config, net.risesoft.api.itemadmin.ErrorLogApi errorLogApi)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddataHandling(String processSerialNumber, String processInstanceId, Map<String,Object> map, List<net.risesoft.model.itemadmin.InterfaceParamsModel> paramsList, net.risesoft.model.itemadmin.InterfaceModel info, Integer loopCounter)接口响应数据处理voidgetMethod(String processSerialNumber, String itemId, net.risesoft.model.itemadmin.InterfaceModel info, String processInstanceId, String processDefinitionId, String taskId, String taskKey, Integer loopCounter)get请求List<Map<String,Object>>getRequestParams(List<net.risesoft.model.itemadmin.InterfaceParamsModel> list, String processSerialNumber, String processInstanceId, net.risesoft.model.itemadmin.InterfaceModel info, Integer loopCounter)获取请求参数值voidinsertData(String tableName, String parentProcessSerialNumber, Map<String,Object> map, List<net.risesoft.model.itemadmin.InterfaceParamsModel> paramsList, String guid)子表单新增数据voidpostMethod(String processSerialNumber, String itemId, net.risesoft.model.itemadmin.InterfaceModel info, String processInstanceId, String processDefinitionId, String taskId, String taskKey, Integer loopCounter)post方法调用接口Future<Boolean>saveErrorLog(String tenantId, String processInstanceId, String taskId, String taskKey, String interfaceAddress, String msg)保存错误日志
-
-
-
方法详细资料
-
dataHandling
public void dataHandling(String processSerialNumber, String processInstanceId, Map<String,Object> map, List<net.risesoft.model.itemadmin.InterfaceParamsModel> paramsList, net.risesoft.model.itemadmin.InterfaceModel info, Integer loopCounter) throws Exception
接口响应数据处理- 参数:
processSerialNumber- 流程编号processInstanceId- 流程实例idmap-paramsList-info-- 抛出:
Exception
-
getMethod
public void getMethod(String processSerialNumber, String itemId, net.risesoft.model.itemadmin.InterfaceModel info, String processInstanceId, String processDefinitionId, String taskId, String taskKey, Integer loopCounter) throws Exception
get请求- 参数:
processSerialNumber- 流程编号itemId- 流程idinfo- 接口信息processInstanceId- 流程实例idtaskId- 任务idtaskKey- 任务keyloopCounter- 循环次数- 抛出:
Exception
-
getRequestParams
public List<Map<String,Object>> getRequestParams(List<net.risesoft.model.itemadmin.InterfaceParamsModel> list, String processSerialNumber, String processInstanceId, net.risesoft.model.itemadmin.InterfaceModel info, Integer loopCounter) throws Exception
获取请求参数值- 参数:
list-processSerialNumber-processInstanceId- 流程实例idinfo-- 返回:
- 抛出:
Exception
-
insertData
public void insertData(String tableName, String parentProcessSerialNumber, Map<String,Object> map, List<net.risesoft.model.itemadmin.InterfaceParamsModel> paramsList, String guid) throws Exception
子表单新增数据- 参数:
tableName- 表名parentProcessSerialNumber- 父流程编号map- 返回数据paramsList- 参数列表- 抛出:
Exception
-
postMethod
public void postMethod(String processSerialNumber, String itemId, net.risesoft.model.itemadmin.InterfaceModel info, String processInstanceId, String processDefinitionId, String taskId, String taskKey, Integer loopCounter) throws Exception
post方法调用接口- 参数:
processSerialNumber- 流程编号itemId- 流程idinfo- 接口信息processInstanceId- 流程实例idprocessDefinitionId- 流程定义idtaskId- 任务idtaskKey- 任务keyloopCounter- 循环次数- 抛出:
Exception
-
-