diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/xiamen/GaoDePoiDataProcess.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/xiamen/GaoDePoiDataProcess.groovy index 4a7adf2b1..081873448 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/xiamen/GaoDePoiDataProcess.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/gj/xiamen/GaoDePoiDataProcess.groovy @@ -29,7 +29,7 @@ import java.util.concurrent.atomic.AtomicLong @BatchOwner(Watcher.GaoJuan) class GaoDePoiDataProcess extends BaseBatch{ - public static ExecutorService fixedThreadPool = Executors.newFixedThreadPool(5) + public static ExecutorService fixedThreadPool = Executors.newFixedThreadPool(20) static main(args) { runBatch(new GaoDePoiDataProcess(), args) @@ -37,8 +37,9 @@ class GaoDePoiDataProcess extends BaseBatch{ @Override void process(Object args) { - //三明市,宁德市,泉州市,厦门市,福州市,漳州市,南平市,龙岩市,莆田市,重庆市 - def citys = ["三明市","漳州市","厦门市","福州市"] + //"三明市","漳州市","厦门市","福州市" + //三明市,"宁德市","泉州市","厦门市","福州市","漳州市","南平市","龙岩市","莆田市","重庆市" + def citys = ["福州市","重庆市"] for(def city : citys){ def results = CommonDatautils.findAmapDetailBySql(city) println results.size() @@ -128,6 +129,7 @@ class GaoDePoiDataProcess extends BaseBatch{ println fjw_city+" "+map.region+" 无法格式化 "+map.location + " "+gaodeMap } map.fjw_region = fjw_region + map.spell_name = com.fangjia.core.util.DataUtil.hanyuQuanpin(map.name, " ") return map }