Bladeren bron

修改读取行,修改日志

欧阳劲驰 1 maand geleden
bovenliggende
commit
fde1c3a87c

+ 1 - 1
src/main/java/com/shkpr/service/alambizplugin/constants/GisSurveyExcelDefine.java

@@ -12,7 +12,7 @@ public interface GisSurveyExcelDefine {
      */
     interface FILE_HANDLE {
         Integer HEADER_ROW_NUM = 1;
-        Integer DATA_ROW_NUM = 3;
+        Integer DATA_ROW_NUM = 2;
     }
 
     /**

+ 3 - 3
src/main/java/com/shkpr/service/alambizplugin/dbdao/services/GisSurveyLayerApplyThirdCopyServiceImpl.java

@@ -55,7 +55,7 @@ public class GisSurveyLayerApplyThirdCopyServiceImpl implements GisSurveyLayerAp
     public Boolean saveAll(String jobId, List<GisSurveyLayerApplyThirdCopy> layerApplyList) throws InterruptedException {
         LogPrintMgr.getInstance().printLogMsg(LogLevelFlag.LOG_INFO, mBizType, mStrClassName
                 , String.format(
-                        "开始批量写入元素和图形,开启批处理 任务ID:%s"
+                        "开始批量写入采集元素,开启批处理 任务ID:%s"
                         , jobId
                 )
         );
@@ -102,7 +102,7 @@ public class GisSurveyLayerApplyThirdCopyServiceImpl implements GisSurveyLayerAp
                 long end = System.currentTimeMillis();
                 LogPrintMgr.getInstance().printLogMsg(LogLevelFlag.LOG_INFO, mBizType, mStrClassName
                         , String.format(
-                                "结束批量写入元素和图形,提交并关闭批处理 任务ID:%s 用时(毫秒):%d"
+                                "结束批量写入采集元素,提交并关闭批处理 任务ID:%s 用时(毫秒):%d"
                                 , jobId
                                 , (end - begin)
                         )
@@ -114,7 +114,7 @@ public class GisSurveyLayerApplyThirdCopyServiceImpl implements GisSurveyLayerAp
 
                 LogPrintMgr.getInstance().printLogMsg(LogLevelFlag.LOG_ERROR, mBizType, mStrClassName
                         , String.format(
-                                "批量写入元素和图形失败,回滚操作 任务ID:%s error:%s"
+                                "批量写入采集元素失败,回滚操作 任务ID:%s error:%s"
                                 , jobId
                                 , e
                         )