iailab-module-data/iailab-module-data-biz/src/main/resources/application-local.yml
文件已删除 iailab-module-data/iailab-module-data-biz/src/main/resources/application-test.yaml
文件已删除 iailab-module-data/iailab-module-data-biz/src/main/resources/application-test_rec.yml
文件已删除 iailab-module-infra/iailab-module-infra-biz/src/main/resources/application-local.yaml
文件已删除 iailab-module-model/iailab-module-model-api/src/main/java/com/iailab/module/model/api/mcs/dto/ScheduleSuggestRespDTO.java
@@ -4,6 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; @@ -23,13 +24,19 @@ private String id; @Schema(description = "标题") @NotNull(message = "应用编号不能为空") private String title; @Schema(description = "内容") @NotNull(message = "应用编号不能为空") private String content; @Schema(description = "排序") @NotNull(message = "应用编号不能为空") private Integer sort; @Schema(description = "方案ID") private String schemeId; @Schema(description = "预警ID") private String alarmId; @@ -41,13 +48,14 @@ private String modelId; @Schema(description = "调整对象") private String adjustObj; @NotNull(message = "应用编号不能为空") private String scheduleObj; @Schema(description = "调整介质") private String adjustMedium; @Schema(description = "调整类型") private String scheduleType; @Schema(description = "调整策略") private String adjustStrategy; private String scheduleStrategy; @Schema(description = "调整方式") private String adjustMode; @@ -69,9 +77,18 @@ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date adjustEnd; @Schema(description = "建议时间") private Date suggestTime; @Schema(description = "调度时间") private Date scheduleTime; @Schema(description = "状态(0未处理 1已采纳 2已忽略)") private Integer status; @Schema(description = "处理人") private String handler; @Schema(description = "处理时间") private Date handleTime; @Schema(description = "创建时间") private Date createTime; } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/api/McsApiImpl.java
@@ -21,6 +21,7 @@ import com.iailab.module.model.mcs.sche.entity.StScheduleSuggestEntity; import com.iailab.module.model.mcs.sche.service.StScheduleSchemeService; import com.iailab.module.model.mcs.sche.service.StScheduleSuggestService; import com.iailab.module.model.mcs.sche.vo.StScheduleSuggestSaveReqVO; import com.iailab.module.model.mdk.vo.ItemVO; import com.iailab.module.model.mpk.service.ChartService; import lombok.extern.slf4j.Slf4j; @@ -519,6 +520,7 @@ @Override public Boolean createScheduleSuggest(ScheduleSuggestRespDTO dto) { stScheduleSuggestService.create(ConvertUtils.sourceToTarget(dto, StScheduleSuggestSaveReqVO.class)); return true; } iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSchemeServiceImpl.java
@@ -63,7 +63,7 @@ @Override public List<StScheduleSchemeDTO> list(Map<String, Object> params) { QueryWrapper<StScheduleSchemeEntity> queryWrapper = new QueryWrapper<>(); queryWrapper.eq("trigger_method", "1"); queryWrapper.eq("trigger_method", params.get("trigger_method")); queryWrapper.eq("trigger_condition", params.get("trigger_condition")); List<StScheduleSchemeEntity> list = baseDao.selectList(queryWrapper); return ConvertUtils.sourceToTarget(list, StScheduleSchemeDTO.class); iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/vo/StScheduleSuggestSaveReqVO.java
@@ -1,5 +1,6 @@ package com.iailab.module.model.mcs.sche.vo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; @@ -66,9 +67,11 @@ private BigDecimal adjustTimes; @Schema(description = "调整开始时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date adjustStart; @Schema(description = "调整结束时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date adjustEnd; @Schema(description = "调度时间") iailab-module-model/iailab-module-model-biz/src/main/resources/application-dev_rec.yaml
文件已删除 iailab-module-model/iailab-module-model-biz/src/main/resources/application-test_bak.yml
文件已删除 iailab-module-system/iailab-module-system-biz/src/main/resources/application-local.yaml
文件已删除