CMVR-IOT/cmvr-iot-inspection/src/main/java/com/cmvr/inspection/mapper/InspectionWaypointMapper.java
lixiaolong f57c9b9dda refactor(websocket): 重构频道订阅处理器基类实现
- 提取公共基类 BaseChannelSubscribeHandler 处理订阅逻辑
- 将原处理器拆分为带 GRPC 调用和简单订阅两种实现
- 使用依赖注入替代 Autowired 注解
- 统一订阅和取消订阅的处理流程
- 优化日志记录和异常处理机制
2026-06-05 14:57:57 +08:00

58 lines
1.4 KiB
Java

package com.cmvr.inspection.mapper;
import java.util.List;
import com.cmvr.inspection.domain.InspectionWaypoint;
import com.cmvr.inspection.domain.vo.InspectionWaypointVo;
import com.github.yulichang.base.MPJBaseMapper;
/**
* 巡检点位Mapper接口
*
* @author cmvr-iot
* @since 2026-05-29
*/
public interface InspectionWaypointMapper extends MPJBaseMapper<InspectionWaypoint>
{
/**
* 查询巡检点位
*
* @param id 巡检点位主键
* @return 巡检点位
*/
InspectionWaypoint selectInspectionWaypointById(String id);
/**
* 新增巡检点位
*
* @param inspectionWaypoint 巡检点位
* @return 结果
*/
int insertInspectionWaypoint(InspectionWaypoint inspectionWaypoint);
/**
* 修改巡检点位
*
* @param inspectionWaypoint 巡检点位
* @return 结果
*/
int updateInspectionWaypoint(InspectionWaypoint inspectionWaypoint);
/**
* 批量删除巡检点位
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
int deleteInspectionWaypointByIds(String[] ids);
/**
* 查询巡检点位视图列表(包含关联信息)
*
* @param inspectionWaypoint 巡检点位
* @return 巡检点位视图集合
*/
List<InspectionWaypointVo> selectInspectionWaypointVoList(InspectionWaypoint inspectionWaypoint);
}