whywhyo
2023-07-25 46f46c73ef2cf1719f0de7c0258e6bcd4335966c
zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java
@@ -4,6 +4,10 @@
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;
/**
@@ -20,11 +24,31 @@
    List<ZInfoUser> selectByCondition(ZInfoUser zInfoUser);
    AjaxResult searchMyRelation(Long userId);
    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 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();
}