package com.ruoyi.quartz.enums; /** * 省立同德门急诊采集:单日采集结果 *

* 用于 {@code RyTask#runDayPass} 的返回值,告诉调用方这一天是采完了、预算用尽了,还是接口挂了 * * @author smartor */ public enum MzGatherStatusEnum { /** 该日期已从第一页采到最后一页,整轮完成 */ DONE("0", "采集完成"), /** 本轮时间预算用尽,页码断点已保存,下一轮从该页继续 */ BUDGET_UP("1", "本轮预算用尽"), /** 接口层连续失败,本轮提前结束,页码断点保留在第一个失败页 */ FAILED("2", "接口连续失败"); private final String code; private final String desc; MzGatherStatusEnum(String code, String desc) { this.code = code; this.desc = desc; } public String getCode() { return code; } public String getDesc() { return desc; } }