|
|
@@ -18,6 +18,18 @@ public class DataPowerForecastReportBatch
|
|
|
/** 已确认 */
|
|
|
public static final int STATUS_CONFIRMED = 2;
|
|
|
|
|
|
+ /** 文件生成中 */
|
|
|
+ public static final int STATUS_FILE_GENERATING = 3;
|
|
|
+
|
|
|
+ /** 文件上传中 */
|
|
|
+ public static final int STATUS_FILE_UPLOADING = 4;
|
|
|
+
|
|
|
+ /** 文件上传成功 */
|
|
|
+ public static final int STATUS_FILE_UPLOAD_SUCCESS = 5;
|
|
|
+
|
|
|
+ /** 文件上传失败 */
|
|
|
+ public static final int STATUS_FILE_UPLOAD_FAILED = 9;
|
|
|
+
|
|
|
/** 短期 */
|
|
|
public static final String TYPE_SHORT = "short";
|
|
|
|
|
|
@@ -45,7 +57,7 @@ public class DataPowerForecastReportBatch
|
|
|
/** 预计上报时间(HH:mm:ss,北京时间) */
|
|
|
private String estReportTime;
|
|
|
|
|
|
- /** 状态(1待确认,2已确认) */
|
|
|
+ /** 状态(1待确认,2已确认,3文件生成中,4文件上传中,5文件上传成功,9文件上传失败) */
|
|
|
private Integer status;
|
|
|
|
|
|
/** 生成来源(auto自动,manually手动) */
|
|
|
@@ -60,6 +72,9 @@ public class DataPowerForecastReportBatch
|
|
|
/** 备注 */
|
|
|
private String remark;
|
|
|
|
|
|
+ /** 文件保存路径 */
|
|
|
+ private String file;
|
|
|
+
|
|
|
/** 上报日起始(查询用, yyyyMMdd) */
|
|
|
private Integer startDay;
|
|
|
|
|
|
@@ -174,6 +189,15 @@ public class DataPowerForecastReportBatch
|
|
|
{
|
|
|
return remark;
|
|
|
}
|
|
|
+ public void setFile(String file)
|
|
|
+ {
|
|
|
+ this.file = file;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getFile()
|
|
|
+ {
|
|
|
+ return file;
|
|
|
+ }
|
|
|
public void setStartDay(Integer startDay)
|
|
|
{
|
|
|
this.startDay = startDay;
|
|
|
@@ -208,6 +232,7 @@ public class DataPowerForecastReportBatch
|
|
|
.append("createTime", getCreateTime())
|
|
|
.append("updateTime", getUpdateTime())
|
|
|
.append("remark", getRemark())
|
|
|
+ .append("file", getFile())
|
|
|
.toString();
|
|
|
}
|
|
|
}
|