cjl
2023-09-27 57b29a43e4d1505d44e1ac82ed61ef640ba49e8c
screen-api/src/main/java/com/moral/api/config/properties/SpecialCitiesProperties.java
@@ -24,6 +24,8 @@
    private List<SysArea> heBeiEightCities;
    private List<SysArea> oneSixEightCities;
    public boolean isTwentyEightCities(Integer cityCode){
        for (SysArea city : twentyEightCities) {
            if(city.getAreaCode().equals(cityCode))
@@ -40,4 +42,12 @@
        return false;
    }
    public boolean isOneSixEightCities(Integer cityCode){
        for (SysArea city : oneSixEightCities) {
            if(city.getAreaCode().equals(cityCode))
                return true;
        }
        return false;
    }
}