package com.zioinfo.signage.mapper;

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

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