|
|
@@ -52,7 +52,8 @@ public class LandOneCodeServiceImpl implements LandOneCodeService {
|
|
|
@Autowired
|
|
|
private NodeLandMapper nodeLandMapper;
|
|
|
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private JsgcghxkMapper jsgcghxkMapper;
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
@@ -196,12 +197,22 @@ public class LandOneCodeServiceImpl implements LandOneCodeService {
|
|
|
// registrationProcessCode = "1";
|
|
|
// }
|
|
|
|
|
|
+// //许可分期编码
|
|
|
+// if(currentNodeTableList.contains(talbeName6)){
|
|
|
+// licenseStagesCode = "2";
|
|
|
+// } else if(currentNodeTableList.contains(talbeName5)){
|
|
|
+// licenseStagesCode = "1";
|
|
|
+// }
|
|
|
//许可分期编码
|
|
|
- if(currentNodeTableList.contains(talbeName6)){
|
|
|
- licenseStagesCode = "2";
|
|
|
- } else if(currentNodeTableList.contains(talbeName5)){
|
|
|
- licenseStagesCode = "1";
|
|
|
+ if(nodeTableName.equalsIgnoreCase(talbeName6)){
|
|
|
+ //建设工程规划许可阶段存在期数,其它默认当前阶段为1
|
|
|
+ Jsgcghxk jsgcghxk = jsgcghxkMapper.getById(nodeId);
|
|
|
+ Integer djq = jsgcghxk.getDjq();
|
|
|
+ if(Objects.nonNull(djq)){
|
|
|
+ licenseStagesCode = String.valueOf(djq);
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}else if(ProjectType.BATCH.getCode().equals(String.valueOf(projectType))){
|
|
|
Tdgy globalTdgy = null; //土地供应对象
|
|
|
//取征转状态
|
|
|
@@ -254,14 +265,25 @@ public class LandOneCodeServiceImpl implements LandOneCodeService {
|
|
|
// registrationProcessCode = "2";
|
|
|
// } else if(currentNodeTableList.contains(talbeName3)){
|
|
|
// registrationProcessCode = "1";
|
|
|
+// }
|
|
|
+
|
|
|
+// //许可分期编码
|
|
|
+// if(currentNodeTableList.contains(talbeName6)){
|
|
|
+// licenseStagesCode = "2";
|
|
|
+// } else if(currentNodeTableList.contains(talbeName5)){
|
|
|
+// licenseStagesCode = "1";
|
|
|
// }
|
|
|
|
|
|
//许可分期编码
|
|
|
- if(currentNodeTableList.contains(talbeName6)){
|
|
|
- licenseStagesCode = "2";
|
|
|
- } else if(currentNodeTableList.contains(talbeName5)){
|
|
|
- licenseStagesCode = "1";
|
|
|
+ if(nodeTableName.equalsIgnoreCase(talbeName6)){
|
|
|
+ //建设工程规划许可阶段存在期数,其它默认当前阶段为1
|
|
|
+ Jsgcghxk jsgcghxk = jsgcghxkMapper.getById(nodeId);
|
|
|
+ Integer djq = jsgcghxk.getDjq();
|
|
|
+ if(Objects.nonNull(djq)){
|
|
|
+ licenseStagesCode = String.valueOf(djq);
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
returnCode = levyStatusCode+landSupplyModeCode+approvalProcessCode+licenseStagesCode;
|
|
|
return returnCode;
|