|
|
@@ -2,6 +2,7 @@ package com.siwei.apply.service.third.impl;
|
|
|
|
|
|
import com.siwei.apply.common.Constant;
|
|
|
import com.siwei.apply.domain.LandType;
|
|
|
+import com.siwei.apply.domain.NodeLand;
|
|
|
import com.siwei.apply.domain.ProjectWorkflow;
|
|
|
import com.siwei.apply.domain.YdbpData;
|
|
|
import com.siwei.apply.domain.res.TdgyRes;
|
|
|
@@ -694,10 +695,14 @@ public class DealExcelServiceImpl {
|
|
|
dealCurrentNodeGeom(dzjgh, id);
|
|
|
|
|
|
try{
|
|
|
- tdgyService.updateHasOnchain(id, projectId,true);
|
|
|
+ //这里更新上链
|
|
|
+ NodeLand nodeLand = nodeLandService.getNodeLandByNodeId(id);
|
|
|
+ if(Objects.nonNull(nodeLand)){
|
|
|
+ tdgyService.updateHasOnchain(id, projectId,true);
|
|
|
+ }
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
- log.info("自动上链失败:{}", e.getMessage());
|
|
|
+ log.info("自动上链失败:上链项目名称:{},错误信息{}",projectName, e.getMessage());
|
|
|
}
|
|
|
|
|
|
}
|