Commit cf73fd7d by zhouhaibao

[+]新增预警管理

1 parent 5fd96cd7
package cn.com.glsx.dj.mindworkplate.remote;
import cn.com.glsx.dj.mindworkplate.dto.monitoring.MonitorBaseRequest;
import cn.com.glsx.dj.mindworkplate.model.warning.MonitoringMsgDTO;
import cn.com.glsx.dj.mindworkplate.service.monitoring.MonitoringService;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
import cn.com.glsx.framework.core.exception.RpcServiceException;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @author zhouhb
* @version V1.0
* @Title MonitoringRemoteImpl
* @Description:
* @date 2026/1/16 10:58
* @Company:didihu.com.cn
*/
@Slf4j
@DubboService(protocol = "dubbo")
public class MonitoringRemoteImpl implements MonitoringRemote{
@Autowired
private MonitoringService monitoringService;
@Override
public RpcResponse<List<MonitoringMsgDTO>> getMonitorListByCondition(MonitorBaseRequest request) {
try {
return RpcResponse.success(monitoringService.getMonitorListByCondition(request));
} catch (RpcServiceException e) {
log.error(e.getMessage(), e);
return RpcResponse.error(e);
}
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!