2 Komitmen 706185c410 ... 78d3c1feed

Pembuat SHA1 Pesan Tanggal
  Wayne 78d3c1feed Merge branch 'master' of http://8.137.121.180:10880/longping/subject_gxj 3 bulan lalu
  Wayne 4549e54bf0 日期提示提交 3 bulan lalu

+ 2 - 2
projects-service/src/main/java/com/rtrh/projects/modules/projects/service/impl/SubInfoServiceImpl.java

@@ -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);