update
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ class DevProcess {
|
|||||||
def task = new DevProcess();
|
def task = new DevProcess();
|
||||||
// task.run()
|
// task.run()
|
||||||
// task.parseCityAndDist()
|
// task.parseCityAndDist()
|
||||||
// task.devSplitRoad()
|
task.devSplitRoad()
|
||||||
// task.devNameSplitRoad()
|
// task.devNameSplitRoad()
|
||||||
// task.addFlag()
|
// task.addFlag()
|
||||||
// task.matchDev()
|
// task.matchDev()
|
||||||
|
|||||||
+2
-2
@@ -67,7 +67,7 @@ class MinglujiData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def matchCommunity(city){
|
def matchCommunity(city){
|
||||||
ExcelUtils.multiThreadingModify("D:\\数据\\数据建设\\名录集\\${city}-5.xlsx",{d->
|
ExcelUtils.modify("D:\\数据\\数据建设\\名录集\\${city}-没配居委1.xlsx",{d->
|
||||||
if(d['A'] && d['B'] && d['L'] && !d['Q']){
|
if(d['A'] && d['B'] && d['L'] && !d['Q']){
|
||||||
def list = findCommunityByName(d['A'], d['B'], d['L'])
|
def list = findCommunityByName(d['A'], d['B'], d['L'])
|
||||||
if(!list){
|
if(!list){
|
||||||
@@ -183,7 +183,7 @@ class MinglujiData {
|
|||||||
def q = new BasicDBObject()
|
def q = new BasicDBObject()
|
||||||
q.put("province_name", province+"省")
|
q.put("province_name", province+"省")
|
||||||
q.put("city_name", city+"市")
|
q.put("city_name", city+"市")
|
||||||
q.put("name", new BasicDBObject('$regex', Pattern.compile(name+'.*$', Pattern.CASE_INSENSITIVE)))
|
q.put("name", new BasicDBObject('$regex', Pattern.compile('^'+name+'.*$', Pattern.CASE_INSENSITIVE)))
|
||||||
def dbcursor = community_100_CONN.find(q)
|
def dbcursor = community_100_CONN.find(q)
|
||||||
def list = []
|
def list = []
|
||||||
for(def d : dbcursor){
|
for(def d : dbcursor){
|
||||||
|
|||||||
Reference in New Issue
Block a user