package com.zioinfo.signage.mapper;

import com.zioinfo.signage.domain.AdScheduleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface AdScheduleMapper {
    List<AdScheduleVo> findAll(@Param("tenantCode") String tenantCode,
                          @Param("status") String status,
                          @Param("keyword") String keyword);
    AdScheduleVo findById(@Param("id") Long id);
    int insert(AdScheduleVo vo);
    int update(AdScheduleVo vo);
    int delete(@Param("id") Long id);
    long countAll(@Param("tenantCode") String tenantCode);
}
