|
@@ -5501,7 +5501,7 @@ public class SubInfoServiceImpl implements SubInfoService {
|
|
|
try {
|
|
|
xmzhtjDetailVo.setBeginDate(DateUtil.parseDate(readAll.get(i).get(j).toString()));
|
|
|
}catch (Exception e){
|
|
|
- throw new RuntimeException("导入失败,第" + (i-2) + "行,时间格式有问题!" + readAll.get(i).get(j));
|
|
|
+ throw new RuntimeException("导入失败,第" + (i+1) + "行,时间格式有问题!" + readAll.get(i).get(j));
|
|
|
}
|
|
|
}else {
|
|
|
xmzhtjDetailVo.setBeginDate(null);
|
|
@@ -5512,7 +5512,7 @@ public class SubInfoServiceImpl implements SubInfoService {
|
|
|
try {
|
|
|
xmzhtjDetailVo.setEndDate(DateUtil.parseDate(readAll.get(i).get(j).toString()));
|
|
|
}catch (Exception e){
|
|
|
- throw new RuntimeException("导入失败,第" + (i-2) + "行,时间格式有问题!" + readAll.get(i).get(j));
|
|
|
+ throw new RuntimeException("导入失败,第" + (i+1) + "行,时间格式有问题!" + readAll.get(i).get(j));
|
|
|
}
|
|
|
}else {
|
|
|
xmzhtjDetailVo.setEndDate(null);
|