+28
-27
@@ -34,30 +34,31 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
def curDate = DateUtils.formatDateByPattern(new Date()+1, "yyyyMMdd")
|
def curDate = DateUtils.formatDateByPattern(new Date()+1, "yyyyMMdd")
|
||||||
def new_dists = []//["350604","350605","410307","410308","450181"]
|
def new_dists = []//["350604","350605","410307","410308","450181"]
|
||||||
//按天导(每天一个文件夹)
|
//按天导(每天一个文件夹)
|
||||||
// exportBigdataDealFJW2(curDate, DateUtils.formatDateByPattern(DateUtils.getFirstDayOfMonth(new Date()+1,-2), "yyyy-MM-dd"), new_dists)
|
exportBigdataDealFJW2(curDate, DateUtils.formatDateByPattern(DateUtils.getFirstDayOfMonth(new Date()+1,-2), "yyyy-MM-dd"), new_dists)
|
||||||
|
|
||||||
if(curDate.toString().endsWith("10")){
|
if(curDate.toString().endsWith("10")){
|
||||||
// exportBigdataCommunityGJRH()//
|
exportBigdataCommunityGJRH()//
|
||||||
// exportBigdataBuildingFJW()//
|
exportBigdataBuildingFJW()//
|
||||||
// exportBigdataCommfeeGj()//
|
exportBigdataCommfeeGj()//
|
||||||
//
|
|
||||||
// exportBigdataCommbuildstruGJ()//
|
exportBigdataCommbuildstruGJ()//
|
||||||
// exportBigdataCommhousetypeGJ()//
|
exportBigdataCommhousetypeGJ()//
|
||||||
// exportBigdataCommbuildyearGj()//
|
exportBigdataCommbuildyearGj()//
|
||||||
// exportBigdataCommhouseuseGJ()//
|
exportBigdataCommhouseuseGJ()//
|
||||||
// exportBigdataPositionGJ()//
|
exportBigdataPositionGJ()//
|
||||||
// exportBigdataDistrictFJW()//
|
exportBigdataDistrictFJW()//
|
||||||
// exportBigdataAliasFJW()//
|
exportBigdataAliasFJW()//
|
||||||
//
|
|
||||||
// exportBigdataBuildprojFjw()
|
exportBigdataBuildprojFjw()
|
||||||
// exportBigdataCommlayoutpicFjw()
|
exportBigdataCommlayoutpicFjw()
|
||||||
// exportEvaluateRate()
|
exportEvaluateRate()
|
||||||
|
|
||||||
// //因为融合暂不切库,所以需要加传一张第三方均价表到融合中, 从1月10日开始传输
|
// //因为融合暂不切库,所以需要加传一张第三方均价表到融合中, 从1月10日开始传输
|
||||||
exportThirdPartyPrice2(lastMonth, new_dists)
|
def thirdPartyMonth = Integer.parseInt(DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -2, "yyyyMM"));
|
||||||
//
|
exportThirdPartyPrice2(thirdPartyMonth, new_dists)
|
||||||
//
|
|
||||||
// //1月10日 新增5张表,导92城,增量数据,2月10日导344城,其中252城所有历史数据,92城增量,3月后可能不用提供数据
|
|
||||||
|
//1月10日 新增5张表,导92城,增量数据,2月10日导344城,其中252城所有历史数据,92城增量,3月后可能不用提供数据
|
||||||
exportCommunityBasePrice(lastMonth)
|
exportCommunityBasePrice(lastMonth)
|
||||||
exportCommunityPdescribeGj(lastMonth)
|
exportCommunityPdescribeGj(lastMonth)
|
||||||
exportGuideStatistics(lastMonth)
|
exportGuideStatistics(lastMonth)
|
||||||
@@ -818,8 +819,8 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
|
|
||||||
def exportThirdPartyPrice2(price_date, new_dists) {
|
def exportThirdPartyPrice2(price_date, new_dists) {
|
||||||
|
|
||||||
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM") + "28";
|
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM") + "10";
|
||||||
def fileName = "/ccb_rh/FJW_000000_000000_BIGDATA_THIRD_PARTY_PRICE_GJ_ADD_${curDate}_0001.dat"
|
def fileName = "/ccb_rh/${curDate}/FJW_000000_000000_BIGDATA_THIRD_PARTY_PRICE_GJ_ADD_${curDate}_0001.dat"
|
||||||
if (CommonDatautils.isWindow()) {
|
if (CommonDatautils.isWindow()) {
|
||||||
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_BIGDATA_THIRD_PARTY_PRICE_GJ_ADD_${curDate}_0001.dat"
|
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_BIGDATA_THIRD_PARTY_PRICE_GJ_ADD_${curDate}_0001.dat"
|
||||||
}
|
}
|
||||||
@@ -933,7 +934,7 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
}
|
}
|
||||||
|
|
||||||
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
||||||
def fileName = "/ccb_rh/FJW_000000_000000_COMMUNITY_BASE_PRICE_GJNB_ADD_${curDate}_0001.dat"
|
def fileName = "/ccb_rh/${curDate}/FJW_000000_000000_COMMUNITY_BASE_PRICE_GJNB_ADD_${curDate}_0001.dat"
|
||||||
if(CommonDatautils.isWindow()){
|
if(CommonDatautils.isWindow()){
|
||||||
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_COMMUNITY_BASE_PRICE_GJNB_ADD_${curDate}_0001.dat"
|
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_COMMUNITY_BASE_PRICE_GJNB_ADD_${curDate}_0001.dat"
|
||||||
}
|
}
|
||||||
@@ -948,7 +949,7 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
def exportCommunityPdescribeGj(month){
|
def exportCommunityPdescribeGj(month){
|
||||||
|
|
||||||
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
||||||
def fileName = "/ccb_rh/FJW_000000_000000_COMMUNITY_P_DESCRIBE_GJ_ADD_${curDate}_0001.dat"
|
def fileName = "/ccb_rh/${curDate}/FJW_000000_000000_COMMUNITY_P_DESCRIBE_GJ_ADD_${curDate}_0001.dat"
|
||||||
if(CommonDatautils.isWindow()){
|
if(CommonDatautils.isWindow()){
|
||||||
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_COMMUNITY_P_DESCRIBE_GJ_ADD_${curDate}_0001.dat"
|
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_COMMUNITY_P_DESCRIBE_GJ_ADD_${curDate}_0001.dat"
|
||||||
}
|
}
|
||||||
@@ -1021,7 +1022,7 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
def exportGuideStatistics(time){
|
def exportGuideStatistics(time){
|
||||||
|
|
||||||
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
||||||
def fileName = "/ccb_rh/FJW_000000_000000_GUIDE_STATISTICS_ADD_${curDate}_0001.dat"
|
def fileName = "/ccb_rh/${curDate}/FJW_000000_000000_GUIDE_STATISTICS_ADD_${curDate}_0001.dat"
|
||||||
if(CommonDatautils.isWindow()){
|
if(CommonDatautils.isWindow()){
|
||||||
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_GUIDE_STATISTICS_ADD_${curDate}_0001.dat"
|
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_GUIDE_STATISTICS_ADD_${curDate}_0001.dat"
|
||||||
}
|
}
|
||||||
@@ -1062,7 +1063,7 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
def exportBigdataSupplierStatistics(time){
|
def exportBigdataSupplierStatistics(time){
|
||||||
|
|
||||||
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
||||||
def fileName = "/ccb_rh/FJW_000000_000000_BIGDATA_SUPPLIER_STATISTICS_ADD_${curDate}_0001.dat"
|
def fileName = "/ccb_rh/${curDate}/FJW_000000_000000_BIGDATA_SUPPLIER_STATISTICS_ADD_${curDate}_0001.dat"
|
||||||
if(CommonDatautils.isWindow()){
|
if(CommonDatautils.isWindow()){
|
||||||
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_BIGDATA_SUPPLIER_STATISTICS_ADD_${curDate}_0001.dat"
|
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_BIGDATA_SUPPLIER_STATISTICS_ADD_${curDate}_0001.dat"
|
||||||
}
|
}
|
||||||
@@ -1100,7 +1101,7 @@ class ExportDistrictRongHe extends BaseBatch{
|
|||||||
def exportBigdataModelingBase(time){
|
def exportBigdataModelingBase(time){
|
||||||
|
|
||||||
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"10"
|
||||||
def fileName = "/ccb_rh/FJW_000000_000000_BIGDATA_MODELING_BASE_ADD_${curDate}_0001.dat"
|
def fileName = "/ccb_rh/${curDate}/FJW_000000_000000_BIGDATA_MODELING_BASE_ADD_${curDate}_0001.dat"
|
||||||
if(CommonDatautils.isWindow()){
|
if(CommonDatautils.isWindow()){
|
||||||
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_BIGDATA_MODELING_BASE_ADD_${curDate}_0001.dat"
|
fileName = "D:\\数据\\建行\\房产估值\\数据文件\\txt\\ccb_rh\\${curDate}\\FJW_000000_000000_BIGDATA_MODELING_BASE_ADD_${curDate}_0001.dat"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user