全部城市
This commit is contained in:
+8
-6
@@ -29,18 +29,20 @@ class RegionStandardBatch extends BaseBatch{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
void process(Object args) {
|
void process(Object args) {
|
||||||
// seaweedRegionStandard()
|
seaweedRegionStandard()
|
||||||
poiRegionStandard()
|
// poiRegionStandard()
|
||||||
}
|
}
|
||||||
|
|
||||||
def seaweedRegionStandard(){
|
def seaweedRegionStandard(){
|
||||||
seaweedRegionStandardByCat("shop")
|
seaweedRegionStandardByCat("district")
|
||||||
}
|
}
|
||||||
def poiRegionStandard(){
|
def poiRegionStandard(){
|
||||||
//"三明","龙岩","南平","漳州","福州","厦门","泉州","莆田","宁德",
|
def runCitys = ["重庆","三明","龙岩","南平","漳州","福州","厦门","泉州","莆田","宁德"]
|
||||||
def citys = ["重庆"]//CommonDatautils.findAllCity()
|
def citys = CommonDatautils.findAllCity()
|
||||||
for(def city : citys){
|
for(def city : citys){
|
||||||
|
if(runCitys.contains(city)){
|
||||||
|
continue
|
||||||
|
}
|
||||||
def data = fullCityMap.get(city)
|
def data = fullCityMap.get(city)
|
||||||
def fullCityName = null
|
def fullCityName = null
|
||||||
if(data){
|
if(data){
|
||||||
|
|||||||
Reference in New Issue
Block a user