This commit is contained in:
2025-08-11 16:33:47 +08:00
parent bc1b16e0d6
commit 0fd2efd5d9
@@ -94,22 +94,22 @@ class DevProcess {
def aiDevTown(){
ExcelUtils.multiThreadingModify("D:\\数据\\数据建设\\开发区\\河北省开发区-ai结果.xlsx", { d ->
// def res = FangjiaClientUtils.aiResult("河北省哪些乡镇街道完全隶属于"+d['E']+",有则以逗号隔开方式输出,无则输出无,其它信息不输出")
// def message = res.data.replaceAll("\n", "")
// d['F'] = res.code
// d['G'] = message
// println d['E'] +" "+res.code + " "+message
def q = new BasicDBObject("name", d['E']).append("type","乡镇街道")
def dbcursor = DEV_MAPPING_CONN.find(q)
if(dbcursor.count()>0){
def list = []
for(def db : dbcursor){
list << db.township
}
d['H']= list.join(",")
}
def res = FangjiaClientUtils.aiResult("河北省哪些乡镇街道完全隶属于"+d['E']+",有则以逗号隔开方式输出,无则输出无,其它信息不输出")
def message = res.data.replaceAll("\n", "")
d['F'] = res.code
d['G'] = message
println d['E'] +" "+res.code + " "+message
// def q = new BasicDBObject("name", d['E']).append("type","乡镇街道")
// def dbcursor = DEV_MAPPING_CONN.find(q)
// if(dbcursor.count()>0){
// def list = []
// for(def db : dbcursor){
// list << db.township
// }
//
// d['H']= list.join(",")
// }
//
})
}