类 EntrustController


  • @RestController
    @RequestMapping(value="/vue/entrust",
                    produces="application/json")
    public class EntrustController
    extends Object
    作者:
    qinman, zhangchongjie
    Date:
    2022/12/20
    • 构造器详细资料

      • EntrustController

        public EntrustController()
    • 方法详细资料

      • deptTreeSearch

        @GetMapping("/deptTreeSearch")
        public net.risesoft.pojo.Y9Result<List<NodeTreeVO>> deptTreeSearch​(@RequestParam
                                                                           String name)
        委办局树搜索
        参数:
        name - 搜索词
        返回:
        Y9Result>>
      • getDeptTree

        @GetMapping("/getDeptTree")
        public net.risesoft.pojo.Y9Result<List<NodeTreeVO>> getDeptTree​(@RequestParam(required=false)
                                                                        String id)
        获取部门树
        参数:
        id - 部门id
        返回:
        Y9Result>
      • getEntrustInfo

        @GetMapping("/getEntrustInfo")
        public net.risesoft.pojo.Y9Result<Map<String,​Object>> getEntrustInfo​(String id)
        获取委托信息
        参数:
        id - 委托id
        返回:
        Y9Result>
      • getParent

        public net.risesoft.model.platform.OrgUnit getParent​(String tenantId,
                                                             String parentId)
      • list

        @GetMapping("/list")
        public net.risesoft.pojo.Y9Result<List<Entrust>> list()
        委托列表
        返回:
        Y9Result>
      • recursionUpToOrg

        public void recursionUpToOrg​(String tenantId,
                                     String nodeId,
                                     String parentId,
                                     List<net.risesoft.model.platform.OrgUnit> orgUnitList,
                                     boolean isParent)
      • removeEntrust

        @PostMapping("/removeEntrust")
        public net.risesoft.pojo.Y9Result<String> removeEntrust​(String id)
        删除委托对象实体
        参数:
        id - 委托id
      • saveOrUpdate

        @PostMapping("/saveOrUpdate")
        public net.risesoft.pojo.Y9Result<String> saveOrUpdate​(Entrust entrust)
        保存或者更新委托对象实体
        参数:
        entrust - 委托对象实体
        返回:
        Y9Result