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

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import yangtz.cs.liu.campus.domain.message.SchoolMessageParentsPushsDetails;
import yangtz.cs.liu.campus.vo.message.ParentsPushsDetailsVO;
import yangtz.cs.liu.campus.vo.message.PushParentVO;
import yangtz.cs.liu.campus.vo.student.SchoolStudentParentVO;

/**
 * 家长消息推送详情Service接口
 *
 * @author ruoyi
 * @date 2022-10-28
 */
public interface ISchoolMessageParentsPushsDetailsService extends IService<SchoolMessageParentsPushsDetails>
{
    //查询某消息推送详情列表
    List<ParentsPushsDetailsVO> queryList(ParentsPushsDetailsVO details);

    //查询某消息可推送给的家长列表
    List<PushParentVO> queryAddList(ParentsPushsDetailsVO detailsVO);

    //新增，挂载到该消息下
    int addPushDetails(Long pushId,List<Long> userIds);

    //新增本级部下的家长信息挂载到本消息下
    void saveDetails(Long pushId,List<SchoolStudentParentVO> list);
}
