Browse Source

开发区 请求应用列表

master
PoffyZhang 1 year ago
parent
commit
31e77e8785
2 changed files with 5 additions and 1 deletions
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/common/constant/RegionConst.java
  2. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/AppIrsManage.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/common/constant/RegionConst.java View File

@@ -24,6 +24,8 @@ public interface RegionConst {
* 丽水行政区划编码
*/
String RC_LS = "331100";
String LS_KF = "331118";
String LS_KF_IRS = "331151";
String RC_LS_SBJ_IRS = "331101";
//遂昌县
String RC_SC = "331123";


+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/irs/manage/AppIrsManage.java View File

@@ -260,13 +260,15 @@ public class AppIrsManage {
}

/**
* 如果是市本级的 结尾改成01
* 如果是市本级的 结尾改成01 还要转换开发区的code
* @param areaCode
* @return
*/
private String convertAreaCode(String areaCode) {
if(RegionConst.RC_LS.equals(areaCode)){
return RegionConst.RC_LS_SBJ_IRS;
}else if(RegionConst.LS_KF.equals(areaCode)){
return RegionConst.LS_KF_IRS;
}
return areaCode;
}


Loading…
Cancel
Save