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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.patrol.SchoolPatrolDetails;

import java.util.List;
import java.util.Map;

@Mapper
public interface SchoolPatrolDetailsMapper extends BaseMapper<SchoolPatrolDetails> {

    int updateSchoolPatrolDetailsByIds(@Param("array") Long[] ids, @Param("patrolId") Long patrolId);

    int insertBatchs(@Param("list") List<SchoolPatrolDetails> schoolPatrolRuleDetailsList);
}
