feige
2023-12-11 fba5960f0ebcc3c652a04ad7c34cc37908195077
zhang-content/src/main/java/com/ruoyi/service/ZInfoUserService.java
@@ -2,6 +2,11 @@
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;
@@ -19,5 +24,34 @@
    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();
    AjaxResult listGenealogy2(Genealogy genealogy, Integer pageNum, Integer pageSize);
}