- 添加巡检告警、地图、机器人、任务、点位等实体类和服务接口 - 创建巡检模块数据库表结构,包含机器人、地图、任务等核心表 - 实现巡检告警控制器,提供增删改查和导出功能 - 配置巡检告警数据映射和查询视图 - 更新全局应用配置中的MinIO服务地址 - 在启动类中添加MyBatis扫描配置 - 重构设备配置实体类,移除冗余字段并优化注解配置
56 lines
1.4 KiB
Java
56 lines
1.4 KiB
Java
package com.cmvr.inspection.mapper;
|
|
|
|
import java.util.List;
|
|
import com.cmvr.inspection.domain.InspectionRobot;
|
|
import com.cmvr.inspection.domain.vo.InspectionRobotVo;
|
|
import com.github.yulichang.base.MPJBaseMapper;
|
|
|
|
/**
|
|
* 巡检机器人Mapper接口
|
|
*
|
|
* @author cmvr-iot
|
|
* @since 2026-05-29
|
|
*/
|
|
public interface InspectionRobotMapper extends MPJBaseMapper<InspectionRobot>
|
|
{
|
|
/**
|
|
* 查询巡检机器人
|
|
*
|
|
* @param id 巡检机器人主键
|
|
* @return 巡检机器人
|
|
*/
|
|
InspectionRobot selectInspectionRobotById(String id);
|
|
|
|
/**
|
|
* 新增巡检机器人
|
|
*
|
|
* @param inspectionRobot 巡检机器人
|
|
* @return 结果
|
|
*/
|
|
int insertInspectionRobot(InspectionRobot inspectionRobot);
|
|
|
|
/**
|
|
* 修改巡检机器人
|
|
*
|
|
* @param inspectionRobot 巡检机器人
|
|
* @return 结果
|
|
*/
|
|
int updateInspectionRobot(InspectionRobot inspectionRobot);
|
|
|
|
/**
|
|
* 批量删除巡检机器人
|
|
*
|
|
* @param ids 需要删除的数据主键集合
|
|
* @return 结果
|
|
*/
|
|
int deleteInspectionRobotByIds(String[] ids);
|
|
|
|
/**
|
|
* 查询巡检机器人视图列表(包含关联信息)
|
|
*
|
|
* @param inspectionRobot 巡检机器人
|
|
* @return 巡检机器人视图集合
|
|
*/
|
|
List<InspectionRobotVo> selectInspectionRobotVoList(InspectionRobot inspectionRobot);
|
|
}
|