完善设备生成报告后,修改计划的报告生成状态接口
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user