package org.jeecg.modules.iot.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.jeecg.common.api.vo.Result;
|
import org.jeecg.modules.iot.entity.MqttClient;
|
import org.jeecg.modules.iot.entity.ServerDeploy;
|
|
import java.util.List;
|
|
/**
|
* @Description: 服务器
|
* @Author: cuikaidong
|
* @Date: 2024-12-20
|
* @Version: V1.0
|
*/
|
public interface IServerDeployService extends IService<ServerDeploy> {
|
|
/**
|
* 根据服务器编号查询服务器信息
|
*
|
* @param serverCode
|
*/
|
ServerDeploy findByServerCode(String serverCode);
|
|
/**
|
* 根据项目id查询服务器信息
|
*
|
* @param id
|
*/
|
List<ServerDeploy> findByProjectClassifyId(String id);
|
|
/**
|
* 根据mqtt客户端id,批量修改守护程序状态
|
*
|
* @param mqttClient
|
*/
|
void updateServerGuardState(List<MqttClient> mqttClient);
|
|
/**
|
* 根据服务器id生成配置文件
|
*
|
* @param id
|
* @return
|
*/
|
Result<?> addDeployDocument(String id);
|
}
|