update
This commit is contained in:
+22
-15
@@ -53,17 +53,17 @@ class ExportAllPgData {
|
|||||||
|
|
||||||
|
|
||||||
//计算结果相关
|
//计算结果相关
|
||||||
exportAvmEvaluationGJNB()
|
// exportAvmEvaluationGJNB()
|
||||||
exportAVMEvaluationItemGJNB()
|
// exportAVMEvaluationItemGJNB()
|
||||||
|
//
|
||||||
exportCityPrice()
|
// exportCityPrice()
|
||||||
exportRegionPrice()
|
// exportRegionPrice()
|
||||||
|
|
||||||
exportCommunityBasePrice()
|
exportCommunityBasePrice()
|
||||||
// exportCommunityBasePrice1(curMonth)
|
// exportCommunityBasePrice1(curMonth)
|
||||||
|
|
||||||
exportCommunityPdescribeGj()
|
// exportCommunityPdescribeGj()
|
||||||
exportCommCaseDetailGj()
|
// exportCommCaseDetailGj()
|
||||||
//
|
//
|
||||||
exportInOk()
|
exportInOk()
|
||||||
//
|
//
|
||||||
@@ -795,6 +795,13 @@ class ExportAllPgData {
|
|||||||
|
|
||||||
def exportCommunityBasePrice(){
|
def exportCommunityBasePrice(){
|
||||||
|
|
||||||
|
def fileName = linux_prefix + "MODEL_000000_000000_COMMUNITY_BASE_PRICE_GJNB_ADD_${curDate}_0001.dat"
|
||||||
|
def fileName1 = linux_prefix + "MODEL_000000_000000_COMMUNITY_BASE_PRICE_GJ_ADD_${curDate}_0001.dat"
|
||||||
|
if(CommonDatautils.isWindow()){
|
||||||
|
fileName = win_prefix + "MODEL_000000_000000_COMMUNITY_BASE_PRICE_GJNB_ADD_${curDate}_0001.dat"
|
||||||
|
fileName1 = win_prefix + "MODEL_000000_000000_COMMUNITY_BASE_PRICE_GJ_ADD_${curDate}_0001.dat"
|
||||||
|
}
|
||||||
|
|
||||||
def allRows = []
|
def allRows = []
|
||||||
for(def city : citys) {
|
for(def city : citys) {
|
||||||
def cityCode = cityCodeMap.get(city)
|
def cityCode = cityCodeMap.get(city)
|
||||||
@@ -821,18 +828,18 @@ class ExportAllPgData {
|
|||||||
data << r.data_udt_tm
|
data << r.data_udt_tm
|
||||||
data << r.gujia_src_co
|
data << r.gujia_src_co
|
||||||
allRows << data
|
allRows << data
|
||||||
|
if(allRows.size()%200000==0){
|
||||||
|
createFileToFtp("COMMUNITY_BASE_PRICE_GJNB",allRows, fileName, curDate, true)
|
||||||
|
createFileToFtp("COMMUNITY_BASE_PRICE_GJ",allRows, fileName1, curDate, true)
|
||||||
|
allRows.clear()
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
def fileName = linux_prefix + "MODEL_000000_000000_COMMUNITY_BASE_PRICE_GJNB_ADD_${curDate}_0001.dat"
|
if(allRows.size()>0){
|
||||||
def fileName1 = linux_prefix + "MODEL_000000_000000_COMMUNITY_BASE_PRICE_GJ_ADD_${curDate}_0001.dat"
|
createFileToFtp("COMMUNITY_BASE_PRICE_GJNB",allRows, fileName, curDate, true)
|
||||||
if(CommonDatautils.isWindow()){
|
createFileToFtp("COMMUNITY_BASE_PRICE_GJ",allRows, fileName1, curDate, true)
|
||||||
fileName = win_prefix + "MODEL_000000_000000_COMMUNITY_BASE_PRICE_GJNB_ADD_${curDate}_0001.dat"
|
|
||||||
fileName1 = win_prefix + "MODEL_000000_000000_COMMUNITY_BASE_PRICE_GJ_ADD_${curDate}_0001.dat"
|
|
||||||
}
|
}
|
||||||
createFileToFtp("COMMUNITY_BASE_PRICE_GJNB",allRows, fileName, curDate, false)
|
|
||||||
createFileToFtp("COMMUNITY_BASE_PRICE_GJ",allRows, fileName1, curDate, false)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user