|
|
@ -2,6 +2,7 @@ package com.example.upsecuritydata.service.impl; |
|
|
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.example.upsecuritydata.cache.CodeCache; |
|
|
|
import com.example.upsecuritydata.cache.CodeCache; |
|
|
@ -127,7 +128,13 @@ public class MethodImpl implements Method { |
|
|
|
for (NbmsEntApply nbmsEnapply : list) { |
|
|
|
for (NbmsEntApply nbmsEnapply : list) { |
|
|
|
companyCode = nbmsEnapply.getEntPrefix(); |
|
|
|
companyCode = nbmsEnapply.getEntPrefix(); |
|
|
|
companyName = nbmsEnapply.getOrgName(); |
|
|
|
companyName = nbmsEnapply.getOrgName(); |
|
|
|
level = "4"; |
|
|
|
List<String> split = StrUtil.split(companyCode, "."); |
|
|
|
|
|
|
|
if ("000000".equals(split.get(2))) { |
|
|
|
|
|
|
|
level = "4"; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
level = "5"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
accessProvince = nbmsEnapply.getOrgAddrProvince(); |
|
|
|
accessProvince = nbmsEnapply.getOrgAddrProvince(); |
|
|
|
accessProvince = CodeCache.codeMap.get(accessProvince); |
|
|
|
accessProvince = CodeCache.codeMap.get(accessProvince); |
|
|
|
|
|
|
|
|
|
|
|