Class 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 Detail

      • LeaderOpinionApiImpl

        public LeaderOpinionApiImpl()
    • Method Detail

      • deleteById

        public net.risesoft.pojo.Y9Result<Object> deleteById​(@RequestParam
                                                             String tenantId,
                                                             @RequestParam
                                                             String id)
        删除领导批示
        Specified by:
        deleteById in interface LeaderOpinionApi
        Parameters:
        tenantId - 租户id
        id - 领导批示id
        Returns:
        Y9Result<Object> 通用请求返回对象
        Since:
        9.6.6
      • findByProcessSerialNumber

        public net.risesoft.pojo.Y9Result<List<LeaderOpinionModel>> findByProcessSerialNumber​(@RequestParam
                                                                                              String tenantId,
                                                                                              @RequestParam
                                                                                              String processSerialNumber)
        获取领导批示
        Specified by:
        findByProcessSerialNumber in interface LeaderOpinionApi
        Parameters:
        tenantId - 租户id
        processSerialNumber - 流程编号
        Returns:
        Y9Result<List<PreWorkModel>> 通用请求返回对象
        Since:
        9.6.6
      • saveOrUpdate

        public net.risesoft.pojo.Y9Result<Object> saveOrUpdate​(@RequestParam
                                                               String tenantId,
                                                               @RequestBody
                                                               LeaderOpinionModel leaderOpinionModel)
        保存领导批示
        Specified by:
        saveOrUpdate in interface LeaderOpinionApi
        Parameters:
        tenantId - 租户id
        leaderOpinionModel - 领导批示
        Returns:
        Y9Result<Object> 通用请求返回对象
        Since:
        9.6.6