|
@@ -31,11 +31,11 @@ public class ValuationBusinessUtils {
|
|
|
|
|
|
private static final String ERROR_MSG_NOT_EXCEL_FILE = "文件格式错误";
|
|
|
|
|
|
- private static final String ERROR_MSG_NOT_MATCH_TEMPLATE = "估值表模板暂不支持,请联系管理员";
|
|
|
+ private static final String ERROR_MSG_NOT_MATCH_TEMPLATE = "估值表模板暂不支持";
|
|
|
|
|
|
private static final String ERROR_MSG_NO_DATA = "无数据";
|
|
|
|
|
|
- private static final String ERROR_MSG_NOT_NUMBER = "非数值数据,请检查模板是否匹配";
|
|
|
+ private static final String ERROR_MSG_NOT_NUMBER = "非数值数据";
|
|
|
|
|
|
private static final String ERROR_MSG_NOT_MARKET_VALUE_OR_AMOUNT = "无市值列或者无数量列,无法导入";
|
|
|
|
|
@@ -97,7 +97,7 @@ public class ValuationBusinessUtils {
|
|
|
|
|
|
// 未找到估值表标题
|
|
|
if (StringUtils.isEmpty(header.getTitle())) {
|
|
|
- error = preInfo.new Error().setCellNum(0).setRowNum(0).setMsg(ERROR_MSG_NOT_MATCH_TEMPLATE + ":未找到估值表标题");
|
|
|
+ error = preInfo.new Error().setCellNum(0).setRowNum(0).setMsg(ERROR_MSG_NOT_MATCH_TEMPLATE + ":未找到基金名称或备案编码");
|
|
|
error.setExcelName(valuationNeedParseParam.getOriginFileName());
|
|
|
preInfo.setError(error);
|
|
|
return preInfo;
|
|
@@ -111,14 +111,14 @@ public class ValuationBusinessUtils {
|
|
|
}
|
|
|
// 未找到有效净值
|
|
|
if (header.getUnitNetValue() <= 0) {
|
|
|
- error = preInfo.new Error().setCellNum(0).setRowNum(0).setMsg(ERROR_MSG_NOT_MATCH_TEMPLATE + ":未找到有效净值");
|
|
|
+ error = preInfo.new Error().setCellNum(0).setRowNum(0).setMsg(ERROR_MSG_NOT_MATCH_TEMPLATE + ":未找到单位净值或累计净值");
|
|
|
error.setExcelName(valuationNeedParseParam.getOriginFileName());
|
|
|
preInfo.setError(error);
|
|
|
return preInfo;
|
|
|
}
|
|
|
|
|
|
if (excelInfo.getHeaderRows() == 0 || excelInfo.getTitleRows() == 0) {
|
|
|
- error = preInfo.new Error().setCellNum(0).setRowNum(0).setMsg(ERROR_MSG_NOT_MATCH_TEMPLATE + ":未找到表头信息");
|
|
|
+ error = preInfo.new Error().setCellNum(0).setRowNum(0).setMsg(ERROR_MSG_NOT_MATCH_TEMPLATE + ":未找到表头字段行");
|
|
|
error.setExcelName(valuationNeedParseParam.getOriginFileName());
|
|
|
preInfo.setError(error);
|
|
|
return preInfo;
|