update
This commit is contained in:
+3
-1
@@ -266,8 +266,10 @@ class CcbCommonUtils {
|
|||||||
rows << map
|
rows << map
|
||||||
});
|
});
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
|
sqlInstance = Sql.newInstance("jdbc:oracle:thin:@192.168.0.100:31521:orcl",
|
||||||
|
"GOOJIA", "GOOJIA", "oracle.jdbc.driver.OracleDriver")
|
||||||
findAllDistrictsByOracle(cityid)
|
findAllDistrictsByOracle(cityid)
|
||||||
e.printStackTrace()
|
println "错误:"+e.getMessage()
|
||||||
}
|
}
|
||||||
|
|
||||||
return rows
|
return rows
|
||||||
|
|||||||
+2
-2
@@ -43,8 +43,8 @@ class BigdataCommunityGJRHBatch extends BaseBatch {
|
|||||||
@Override
|
@Override
|
||||||
public void process(Object args) {
|
public void process(Object args) {
|
||||||
|
|
||||||
//"厦门","北京"
|
//"厦门","北京","上海",
|
||||||
def citys = ["上海","广州","深圳","重庆","郑州","长沙","西安","成都","东莞","佛山","杭州","合肥","南京","青岛","沈阳","苏州","天津","武汉"]//CcbCommonUtils.citys;
|
def citys = ["广州","深圳","重庆","郑州","长沙","西安","成都","东莞","佛山","杭州","合肥","南京","青岛","沈阳","苏州","天津","武汉"]//CcbCommonUtils.citys;
|
||||||
def rows = []
|
def rows = []
|
||||||
|
|
||||||
// addBigdataDistrictFJW()
|
// addBigdataDistrictFJW()
|
||||||
|
|||||||
Reference in New Issue
Block a user