Browse Source

增加查询字段

gaoyu 3 years ago
parent
commit
193d4d7c8e

+ 1 - 1
AlarmDataStarter/src/main/java/com/persagy/apm/energyalarmstarter/alarmdata/feign/client/AlarmClient.java

@@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.RequestBody;
  * @since: 2020/11/27 10:43 上午
  * @version: V1.0
  */
-@FeignClient(name = "dmp-alarm", fallbackFactory = AlarmClientFallbackFactory.class,
+@FeignClient(name = "dmp-alarm" ,fallbackFactory = AlarmClientFallbackFactory.class,
         configuration = AlarmClientConfig.class)
 public interface AlarmClient {
     /**

+ 4 - 0
AlarmDataStarter/src/main/java/com/persagy/apm/energyalarmstarter/alarmdata/model/dto/alarmrecord/QueryAlarmRecordDTO.java

@@ -99,6 +99,10 @@ public class QueryAlarmRecordDTO extends UrlParamDTO {
      */
     @Getter(AccessLevel.NONE)
     private List<String> projectIds;
+    /**
+     * 补充字段
+     */
+    private JSONObject supplement;
 
     /**
      * 列表类型(当前列表、历史列表)