| 12345678910111213141516171819202122232425262728293031 |
- package com.usky.cdi;
- import com.usky.cdi.factory.AlarmDataSyncTaskFactory;
- import org.springframework.cloud.openfeign.FeignClient;
- import org.springframework.web.bind.annotation.GetMapping;
- import org.springframework.web.bind.annotation.RequestParam;
- /**
- *
- * @author fyc
- * @email yuchuan.fu@chinausky.com
- * @date 2025/12/29
- */
- @FeignClient(contextId = "AlarmDataSyncTaskService", value = "service-cdi", fallbackFactory = AlarmDataSyncTaskFactory.class)
- public interface AlarmDataSyncTaskService {
- /**
- * 同步告警数据
- *
- * @param tenantId 租户ID
- * @param engineeringId 工程ID
- * @param username mqtt用户名
- * @param password mqtt密码
- * @param status peacetime:平时 wartime:战时
- */
- @GetMapping("/synchronizeAlarmData")
- void synchronizeAlarmData(@RequestParam(value = "tenantId") Integer tenantId,
- @RequestParam(value = "engineeringId") Long engineeringId,
- @RequestParam(value = "username") String username,
- @RequestParam(value = "password") String password,
- @RequestParam(value = "status") String status);
- }
|