package com.ruoyi.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SysUser;
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;
/**
*
* 服务类
*
*
* @author ojq
* @since 2023-03-14
*/
public interface ZInfoUserService extends IService {
void setSpouseOnly(Long spouse);
AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize);
Boolean findByuid(Long uid, Long tfid);
List findByUaidToFaid(String usid);
List selectByClanId(Integer clanId);
AjaxResult findUserNameAClan(List nickNames);
List getDataBySex(Integer sex,Integer clanId);
public ZInfoUser getInfoBysysId(Long sysid);
AjaxResult getInfoByfid(Long fid);
// AjaxResult updateBySysId()
List selectByCondition(ZInfoUser zInfoUser);
AjaxResult removeByUserName(List userName);
List 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, Integer clanId);
AjaxResult addParent(Long fatherId, Long motherId);
AjaxResult listAllExceptAdmin();
AjaxResult listAllFamilyPeople(Integer clanId);
AjaxResult listMySelfAndSpouse(Long id);
AjaxResult listGenealogy(Genealogy genealogy,Integer pageNum,Integer pageSize);
List selectByIds(Long[] ids);
List selectDatas(List params);
ZInfoUser getInfoById(Long userId);
ZInfoUser getMyself();
AjaxResult listGenealogy2(Genealogy genealogy, Integer pageNum, Integer pageSize);
}