zqy
2024-06-11 41704e538bd0402b8e8ca826404ba84f6de56fe5
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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.Genealogy;
import com.ruoyi.domain.dto.GenealogyExportDto;
import com.ruoyi.domain.dto.RelationDto;
 
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);
 
    AjaxResult getInfoByfid(Long fid);
    List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser);
 
    AjaxResult removeByUserName(List<String> userName);
    List<ZInfoUser> selectByFamId(long fid);
    AjaxResult searchMyRelation();
 
    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 listAllFamilyPeople();
    AjaxResult listMySelfAndSpouse(Long id);
 
    AjaxResult listGenealogy(Genealogy genealogy,Integer pageNum,Integer pageSize);
 
    List<Genealogy> selectByIds(Long[] ids);
 
    List<Genealogy> selectDatas(List<GenealogyExportDto> params);
 
    ZInfoUser getInfoById(Long userId);
 
    ZInfoUser getMyself();
 
    AjaxResult listGenealogy2(Genealogy genealogy, Integer pageNum, Integer pageSize);
 
}