New file |
| | |
| | | package com.kidgrow.usercenter.service; |
| | | |
| | | import com.kidgrow.common.model.PageResult; |
| | | import com.kidgrow.common.model.ResultBody; |
| | | import com.kidgrow.common.model.SysOrganization; |
| | | import com.kidgrow.common.service.ISuperService; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br> |
| | | * @Description: 组织架构表<br> |
| | | * @Project: 用户中心<br> |
| | | * @CreateDate: Created in 2020-03-31 11:01:35 <br> |
| | | * @Author: <a href="4345453@kidgrow.com">liuke</a> |
| | | * @version 1.0 |
| | | */ |
| | | public interface ISysOrganizationService extends ISuperService<SysOrganization> { |
| | | /** |
| | | * 列表 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | PageResult<SysOrganization> findList(Map<String, Object> params); |
| | | |
| | | |
| | | /** |
| | | * 根据SysOrganization对象当做查询条件进行查询 |
| | | * @param sysOrganization |
| | | * @return SysOrganization对象 |
| | | */ |
| | | SysOrganization findByObject(SysOrganization sysOrganization); |
| | | |
| | | |
| | | /** |
| | | * 通过用户ID获取用户所属组织机构列表 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<SysOrganization> findListByUserId(Long userId); |
| | | /** |
| | | * 根据map 查询, 将参数中的 access_token 去掉 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | ResultBody getListByMap(Map<String, Object> params); |
| | | |
| | | |
| | | ResultBody updateEnabled(Map<String, Object> params); |
| | | |
| | | /** |
| | | * 获取树状图 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | ResultBody getTree(Map<String, Object> params); |
| | | |
| | | boolean saveOrUpdateSer(SysOrganization sysOrganization); |
| | | |
| | | /** |
| | | * 根据userid删除组织对应数据 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | int deleteByUserId(Long userId); |
| | | } |
| | | |