Package net.risesoft.api
Class LeaderOpinionApiImpl
- java.lang.Object
-
- net.risesoft.api.LeaderOpinionApiImpl
-
- All Implemented Interfaces:
LeaderOpinionApi
@RestController @RequestMapping(value="/services/rest/leaderOpinion", produces="application/json") public class LeaderOpinionApiImpl extends Object implements LeaderOpinionApi领导批示接口- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description LeaderOpinionApiImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<Object>deleteById(String tenantId, String id)删除领导批示net.risesoft.pojo.Y9Result<LeaderOpinionModel>findById(String tenantId, String id)net.risesoft.pojo.Y9Result<List<LeaderOpinionModel>>findByProcessSerialNumber(String tenantId, String processSerialNumber)获取领导批示net.risesoft.pojo.Y9Result<Object>saveOrUpdate(String tenantId, LeaderOpinionModel leaderOpinionModel)保存领导批示
-
-
-
Method Detail
-
deleteById
public net.risesoft.pojo.Y9Result<Object> deleteById(@RequestParam String tenantId, @RequestParam String id)
删除领导批示- Specified by:
deleteByIdin interfaceLeaderOpinionApi- Parameters:
tenantId- 租户idid- 领导批示id- Returns:
Y9Result<Object>通用请求返回对象- Since:
- 9.6.6
-
findById
public net.risesoft.pojo.Y9Result<LeaderOpinionModel> findById(@RequestParam String tenantId, @RequestParam String id)
- Specified by:
findByIdin interfaceLeaderOpinionApi
-
findByProcessSerialNumber
public net.risesoft.pojo.Y9Result<List<LeaderOpinionModel>> findByProcessSerialNumber(@RequestParam String tenantId, @RequestParam String processSerialNumber)
获取领导批示- Specified by:
findByProcessSerialNumberin interfaceLeaderOpinionApi- Parameters:
tenantId- 租户idprocessSerialNumber- 流程编号- Returns:
Y9Result<List<PreWorkModel>>通用请求返回对象- Since:
- 9.6.6
-
saveOrUpdate
public net.risesoft.pojo.Y9Result<Object> saveOrUpdate(@RequestParam String tenantId, @RequestBody LeaderOpinionModel leaderOpinionModel)
保存领导批示- Specified by:
saveOrUpdatein interfaceLeaderOpinionApi- Parameters:
tenantId- 租户idleaderOpinionModel- 领导批示- Returns:
Y9Result<Object>通用请求返回对象- Since:
- 9.6.6
-
-