完善设备生成报告后,修改计划的报告生成状态接口

This commit is contained in:
caozehui
2025-01-21 15:32:53 +08:00
parent 45cac83b9b
commit 7e4119771c
3 changed files with 17 additions and 14 deletions

View File

@@ -0,0 +1,22 @@
package com.njcn.gather.plan.pojo.enums;
import lombok.Getter;
/**
* @author caozehui
* @data 2024-12-12
*/
@Getter
public enum PlanReportStateEnum {
REPORT_STATE_NOT_GENERATED("未生成", 0),
REPORT_STATE_PARTIALLY_GENERATED("部分生成", 1),
REPORT_STATE_ALL_GENERATED("全部生成", 2);
private final Integer value;
private final String msg;
PlanReportStateEnum(String msg, Integer value) {
this.msg = msg;
this.value = value;
}
}

View File

@@ -18,6 +18,7 @@ import com.njcn.gather.device.pojo.po.PqDev;
import com.njcn.gather.device.service.IPqDevService;
import com.njcn.gather.err.service.IPqErrSysService;
import com.njcn.gather.device.pojo.enums.*;
import com.njcn.gather.plan.pojo.enums.PlanReportStateEnum;
import com.njcn.gather.script.pojo.po.PqScriptDtls;
import com.njcn.gather.script.service.IPqScriptDtlsService;
import com.njcn.gather.script.service.IPqScriptService;