package com.yeejoin.amos.patrol.business.dao.mapper;

import com.yeejoin.amos.patrol.business.entity.mybatis.MsgSubscribeBo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;

@Repository
public interface MsgSubscribeMapper extends BaseMapper {

    List<MsgSubscribeBo> listMsgSubscribeByTypeAndUserIds(@Param("msgType") String msgType, @Param("sendUserIds") Set<String> sendUserIds);

//    MsgSubscribeBo getUserSelected(String userId);

    List<MsgSubscribeBo> getSelectedCheckRecordByUserIds(@Param("sendUserIds") Set<String> sendUserIds);

}
