999
whywhyo
2023-05-15 b5c4def616b7509ee86c8df91e42ae8bbc3a391f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.ruoyi.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.domain.ZInfoUser;
import com.ruoyi.domain.ZfRelation;
import com.ruoyi.domain.dto.EmpowerDto;
 
import java.util.List;
 
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ojq
 * @since 2023-03-14
 */
public interface ZInfoUserService extends IService<ZInfoUser> {
 
    AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize);
 
    List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser);
 
    AjaxResult searchMyRelation(Long userId);
 
    AjaxResult addRelation(ZfRelation zfRelation);
 
    AjaxResult updateRelation(ZfRelation zfRelation);
 
    AjaxResult deleteRelation(Long[] ids);
 
    AjaxResult empower(EmpowerDto empowerDto);
 
    AjaxResult listWithTree(Integer depth);
 
    AjaxResult addParent(Long fatherId, Long motherId);
 
    AjaxResult listAllExceptAdmin();
 
    AjaxResult listMySelfAndSpouse(Long id);
}