|
@@ -46,16 +46,16 @@ public abstract class ReportData implements Serializable {
|
|
|
public abstract ReportType getReportType();
|
|
|
|
|
|
/**
|
|
|
- * 判断当前数据文件数据是否解析成功
|
|
|
+ * 判断当前数据文件数据是否解析失败
|
|
|
*
|
|
|
- * @return /
|
|
|
+ * @return true-解析失败,false-解析成功
|
|
|
*/
|
|
|
- public boolean wasSuccessful() {
|
|
|
+ public boolean wasFailed() {
|
|
|
if (this.baseInfo == null || this.fundInfo == null) {
|
|
|
- return false;
|
|
|
+ return true;
|
|
|
}
|
|
|
- return !StrUtil.isBlank(this.baseInfo.getReportName())
|
|
|
- && StrUtil.isAllNotBlank(this.fundInfo.getFundName(), this.fundInfo.getFundCode());
|
|
|
+ return StrUtil.isBlank(this.baseInfo.getReportName())
|
|
|
+ || StrUtil.isAllBlank(this.fundInfo.getFundName(), this.fundInfo.getFundCode());
|
|
|
}
|
|
|
|
|
|
@Override
|