接口 ItemApi
-
public interface ItemApi事项接口- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/19
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 net.risesoft.pojo.Y9Result<List<ItemModel>>findAll(String tenantId, String systemName)根据系统名称获取事项net.risesoft.pojo.Y9Result<ItemModel>findByProcessDefinitionKey(String tenantId, String processDefinitionKey)根据流程的定义Key查找对应的事项net.risesoft.pojo.Y9Result<List<ItemModel>>getAllItem(String tenantId)获取所有事项列表net.risesoft.pojo.Y9Result<List<ItemModel>>getAllItemList(String tenantId)获取所有事项net.risesoft.pojo.Y9Result<ItemModel>getByItemId(String tenantId, String itemId)根据事项id获取事项net.risesoft.pojo.Y9Result<String>getFirstItem(String tenantId, String orgUnitId)获取有权限的首个事项idnet.risesoft.pojo.Y9Result<String>getFormIdByItemId(String tenantId, String itemId, String processDefinitionKey)根据事项id获取绑定的表单idnet.risesoft.pojo.Y9Result<List<ItemListModel>>getItemList(String tenantId, String orgUnitId)获取新建事项列表net.risesoft.pojo.Y9Result<List<ItemMappingConfModel>>getItemMappingConf(String tenantId, String itemId, String mappingId)获取事项系统字段映射配置net.risesoft.pojo.Y9Result<List<ItemSystemListModel>>getItemSystem(String tenantId)获取事项系统net.risesoft.pojo.Y9Result<List<ItemListModel>>getMyItemList(String tenantId, String orgUnitId)获取个人有权限事项列表net.risesoft.pojo.Y9Result<Boolean>hasProcessDefinitionByKey(String tenantId, String processDefinitionKey)判断该租户是否有流程定义
-
-
-
方法详细资料
-
findAll
@GetMapping("/findAll") net.risesoft.pojo.Y9Result<List<ItemModel>> findAll(@RequestParam("tenantId") String tenantId, @RequestParam("systemName") String systemName)根据系统名称获取事项- 参数:
tenantId- 租户idsystemName- 系统名称- 返回:
Y9Result<List<ItemModel>>通用请求返回对象 - data 是事项列表- 从以下版本开始:
- 9.6.6
-
findByProcessDefinitionKey
@GetMapping("/findByProcessDefinitionKey") net.risesoft.pojo.Y9Result<ItemModel> findByProcessDefinitionKey(@RequestParam("tenantId") String tenantId, @RequestParam("processDefinitionKey") String processDefinitionKey)根据流程的定义Key查找对应的事项- 参数:
tenantId- 租户IdprocessDefinitionKey- 流程定义Key- 返回:
Y9Result<ItemModel>通用请求返回对象 - data 是事项信息- 从以下版本开始:
- 9.6.6
-
getAllItem
@GetMapping("/getAllItem") net.risesoft.pojo.Y9Result<List<ItemModel>> getAllItem(@RequestParam("tenantId") String tenantId)获取所有事项列表- 参数:
tenantId- 租户id- 返回:
Y9Result<List<ItemModel>>通用请求返回对象 - data 是事项列表- 从以下版本开始:
- 9.6.6
-
getAllItemList
@GetMapping("/getAllItemList") net.risesoft.pojo.Y9Result<List<ItemModel>> getAllItemList(@RequestParam("tenantId") String tenantId)获取所有事项- 参数:
tenantId- 租户id- 返回:
Y9Result<List<ItemModel>>通用请求返回对象 - data 是事项列表- 从以下版本开始:
- 9.6.6
-
getByItemId
@GetMapping("/getByItemId") net.risesoft.pojo.Y9Result<ItemModel> getByItemId(@RequestParam("tenantId") String tenantId, @RequestParam("itemId") String itemId)根据事项id获取事项- 参数:
tenantId- 租户iditemId- 事项id- 返回:
Y9Result<ItemModel>通用请求返回对象 - data 是事项信息- 从以下版本开始:
- 9.6.6
-
getFirstItem
@GetMapping("/getFirstItem") net.risesoft.pojo.Y9Result<String> getFirstItem(@RequestParam("tenantId") String tenantId, @RequestParam("orgUnitId") String orgUnitId)获取有权限的首个事项id- 参数:
tenantId- 租户idorgUnitId- 人员、岗位id- 返回:
Y9Result<String>通用请求返回对象 - data 是事项id- 从以下版本开始:
- 9.6.6
-
getFormIdByItemId
@GetMapping("/getFormIdByItemId") net.risesoft.pojo.Y9Result<String> getFormIdByItemId(@RequestParam("tenantId") String tenantId, @RequestParam("itemId") String itemId, @RequestParam("processDefinitionKey") String processDefinitionKey)根据事项id获取绑定的表单id- 参数:
tenantId- 租户IditemId- 事项idprocessDefinitionKey- 流程定义Key- 返回:
Y9Result<String>通用请求返回对象 - data 是表单id- 从以下版本开始:
- 9.6.6
-
getItemList
@GetMapping("/getItemList") net.risesoft.pojo.Y9Result<List<ItemListModel>> getItemList(@RequestParam("tenantId") String tenantId, @RequestParam("orgUnitId") String orgUnitId)获取新建事项列表- 参数:
tenantId- 租户idorgUnitId- 人员、岗位id- 返回:
Y9Result<List<ItemListModel>>通用请求返回对象 - data 是事项列表- 从以下版本开始:
- 9.6.6
-
getItemMappingConf
@GetMapping("/getItemMappingConf") net.risesoft.pojo.Y9Result<List<ItemMappingConfModel>> getItemMappingConf(@RequestParam("tenantId") String tenantId, @RequestParam("itemId") String itemId, @RequestParam("mappingId") String mappingId)获取事项系统字段映射配置- 参数:
tenantId- 租户IditemId- 事项idmappingId- 系统标识- 返回:
Y9Result<List<ItemMappingConfModel>>通用请求返回对象 - data 是事项映射列表- 从以下版本开始:
- 9.6.6
-
getItemSystem
@GetMapping("/getItemSystem") net.risesoft.pojo.Y9Result<List<ItemSystemListModel>> getItemSystem(@RequestParam("tenantId") String tenantId)获取事项系统- 参数:
tenantId- 租户id- 返回:
Y9Result<List<ItemSystemListModel>>通用请求返回对象 - data 是事项系统列表- 从以下版本开始:
- 9.6.6
-
getMyItemList
@GetMapping("/getMyItemList") net.risesoft.pojo.Y9Result<List<ItemListModel>> getMyItemList(@RequestParam("tenantId") String tenantId, @RequestParam("orgUnitId") String orgUnitId)获取个人有权限事项列表- 参数:
tenantId- 租户IdorgUnitId- 人员、岗位id- 返回:
Y9Result<List<ItemListModel>>通用请求返回对象 - data 是新建事项列表- 从以下版本开始:
- 9.6.6
-
hasProcessDefinitionByKey
@GetMapping("/hasProcessDefinitionByKey") net.risesoft.pojo.Y9Result<Boolean> hasProcessDefinitionByKey(@RequestParam("tenantId") String tenantId, @RequestParam("processDefinitionKey") String processDefinitionKey)判断该租户是否有流程定义- 参数:
tenantId- 租户IdprocessDefinitionKey- 流程定义Key- 返回:
Y9Result<Boolean>通用请求返回对象- 从以下版本开始:
- 9.6.6
-
-