package cn.reghao.tnb.file.app.zdisk.db.mapper;

import cn.reghao.jutil.jdk.web.db.BaseMapper;
import cn.reghao.jutil.jdk.web.db.Page;
import cn.reghao.tnb.file.app.zdisk.model.po.CamDevice;
import cn.reghao.tnb.file.app.zdisk.model.query.CamDeviceQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author reghao
 * @date 2025-08-28 22:47:06
 */
@Mapper
public interface CamDeviceMapper extends BaseMapper<CamDevice> {
    int countByCamDeviceQuery(CamDeviceQuery camDeviceQuery);
    List<CamDevice> findCamDeviceQueryByPage(@Param("page") Page page,
                                             @Param("camDeviceQuery") CamDeviceQuery camDeviceQuery);

    List<CamDevice> findByCamIds(List<Long> list);
}
