feige
2024-11-20 d0850c1c55c5f709874cde1b5f292813fbd3af5e
zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java
@@ -1,6 +1,14 @@
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>
@@ -12,4 +20,55 @@
 */
public interface ZInfoUserService extends IService<ZInfoUser> {
    AjaxResult selectInfoList(ZInfoUser zInfoUser, Integer pageNum, Integer pageSize);
    Boolean findByuid(Long uid, Long tfid);
    List<ZInfoUser> selectByClanId(Integer clanId);
    AjaxResult findInfoUserNameAClan(String nickName);
    List<ZInfoUser> getDataBySex(Integer sex,Integer clanId);
    public ZInfoUser getInfoBysysId(Long sysid);
    AjaxResult getInfoByfid(Long fid);
   // AjaxResult updateBySysId()
    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, 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<Genealogy> selectByIds(Long[] ids);
    List<Genealogy> selectDatas(List<GenealogyExportDto> params);
    ZInfoUser getInfoById(Long userId);
    ZInfoUser getMyself();
    AjaxResult listGenealogy2(Genealogy genealogy, Integer pageNum, Integer pageSize);
}