Commit b974e000 authored by hongguangwu's avatar hongguangwu

优化

parent ba24de0a
......@@ -137,12 +137,13 @@ public class TStatisticsCurrentReportMarketServiceImpl extends ServiceImpl<TStat
if (Common.isEmpty(declareMonth)) {
errorMessageList.add(new ErrorMessage(CommonConstants.TWO_INT
, "请检查‘税款所属期起’单元格格式是文本格式,且满足日期格式yyyy-MM-dd或yyyyMMdd"));
}
try {
Integer.parseInt(declareMonth);
} catch (Exception e) {
errorMessageList.add(new ErrorMessage(CommonConstants.TWO_INT
, "请检查‘税款所属期起’单元格格式是文本格式,且满足日期格式yyyy-MM-dd或yyyyMMdd"));
} else {
try {
Integer.parseInt(declareMonth);
} catch (Exception e) {
errorMessageList.add(new ErrorMessage(CommonConstants.TWO_INT
, "请检查‘税款所属期起’单元格格式是文本格式,且满足日期格式yyyy-MM-dd或yyyyMMdd"));
}
}
declareTitle = cachedDataList.get(0).getInvoiceTitle();
if (Common.isEmpty(declareTitle)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment