package yangtz.cs.liu.campus.service.schoolXxfb;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import yangtz.cs.liu.campus.domain.schoolXxfb.SchoolXxfb;
import yangtz.cs.liu.campus.vo.schoolXxfb.AddXxfbVo;
import yangtz.cs.liu.campus.vo.student.SchoolStudentVO;
import yangtz.cs.liu.wechat.vo.schoolXxfb.SchoolXxfbVo;

import java.util.List;

public interface ISchoolXxfbService extends IService<SchoolXxfb> {

    /**
     * 查询所在级部的信息发布
     * @Param gradeIds 当前用户所在级部的id们
     * */
    List<SchoolXxfb> queryList(List<Long> gradeIds,SchoolXxfb schoolXxfb);

    //新增前校验表中姓名和身份证号对应的学生是否存在
    public void checkImport(MultipartFile file);

    /**
     * 查询所在级部的信息发布
     * @Param gradeIds 当前用户所在级部的id们
     * */
    //int add(SchoolXxfb schoolXxfb, MultipartFile file);
    int add(AddXxfbVo vo);

    /**
     * wx家长获取学生所得到的信息发布
     * @return
     */
    List<SchoolXxfbVo> getList(Long studentId);
}
