package yangtz.cs.liu.campus.mapper.schoolEquipment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import yangtz.cs.liu.campus.domain.schoolEquipment.SchoolReceive;
import yangtz.cs.liu.campus.vo.schoolEquipment.SchoolReceiveVo;

import java.util.List;

public interface ReceiveMapper extends BaseMapper<SchoolReceive> {
    /**
     * 查看设备领用列表
     * @param schoolReceiveVo
     * @return
     */
    List<SchoolReceiveVo> selectSchoolReceiveVoList(SchoolReceiveVo schoolReceiveVo);

    /**
     * 查看设备领用详细信息
     * @param id
     * @return
     */
    SchoolReceiveVo selectSchoolReceiveVoById(Long id);

    /**
     * 删除设备领用
     * @param ids
     * @return
     */
    int deleteSchoolReceiveByIds(Long[] ids);

    /**
     * 查看个人设备领用列表
     * @param schoolReceiveVo
     * @return
     */
    List<SchoolReceiveVo> selectSchoolReceiveVoListGr(SchoolReceiveVo schoolReceiveVo);
}
