| | |
| | | * 设备配置表 Mapper 接口 |
| | | * |
| | | * @author lw |
| | | * @since 2026-01-07 |
| | | * @since 2026-01-08 |
| | | */ |
| | | public interface FwDeviceConfigMapper extends BaseMapper<FwDeviceConfigEntity> { |
| | | |
| | |
| | | */ |
| | | List<FwDeviceConfigVO> selectFwDeviceConfigPage(IPage page, FwDeviceConfigVO fwDeviceConfig); |
| | | |
| | | /** |
| | | * 获取最新配置 |
| | | * |
| | | * @param deviceId |
| | | * @return |
| | | */ |
| | | FwDeviceConfigEntity selectLatestByDeviceId(@Param("deviceId") Long deviceId); |
| | | |
| | | /** |
| | | * 获取最新版本配置 |
| | | * |
| | | * @param deviceId |
| | | * @return |
| | | */ |
| | | FwDeviceConfigEntity selectLatestVersionByDeviceId(@Param("deviceId") Long deviceId); |
| | | |
| | | /** |
| | | * 获取最新版本号 |
| | | * |
| | | * @param deviceId |
| | | * @return |
| | | */ |
| | | Integer selectMaxConfigVersion(@Param("deviceId") Long deviceId); |
| | | |
| | | /** |
| | | * 重置最新标记 |
| | | * |
| | | * @param deviceId |
| | | * @param excludeId |
| | | * @return |
| | | */ |
| | | int resetLatestByDeviceId(@Param("deviceId") Long deviceId, @Param("excludeId") Long excludeId); |
| | | |
| | | |
| | | /** |
| | | * 获取导出数据 |