package com.gxwebsoft.dormitory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.dormitory.entity.DormitoryApply;
import com.gxwebsoft.dormitory.param.DormitoryApplyParam;

import java.util.List;

/**
 * 审批管理Service
 *
 * @author 科技小王子
 * @since 2025-10-03 15:54:30
 */
public interface DormitoryApplyService extends IService<DormitoryApply> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<DormitoryApply>
     */
    PageResult<DormitoryApply> pageRel(DormitoryApplyParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<DormitoryApply>
     */
    List<DormitoryApply> listRel(DormitoryApplyParam param);

    /**
     * 根据id查询
     *
     * @param id 主键ID
     * @return DormitoryApply
     */
    DormitoryApply getByIdRel(Integer id);

}
