package com.newfiber.api.pc.dao; import com.baomidou.mybatisplus.mapper.BaseMapper; import com.newfiber.api.pc.model.entity.CameraGroupRelation; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * cameraGroupRelation model层 * * @author luzhan */ @Repository public interface CameraGroupRelationMapper extends BaseMapper<CameraGroupRelation> { /** * 通过id查询关联关系 * @param groupIds * @return */ List<Long> selectCameraInfoList(@Param("groupIds") List<Long> groupIds); /** * 通过groupIds删除数据 * @param groupIds * @return */ int deleteByIds(@Param("groupIds")List<Long> groupIds); }