update
This commit is contained in:
+35
-35
@@ -42,45 +42,45 @@ class ExportOracleAllDataTest {
|
|||||||
def lastMonthStr = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyy-MM"), -1, "yyyy-MM")
|
def lastMonthStr = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyy-MM"), -1, "yyyy-MM")
|
||||||
def new_dists = []
|
def new_dists = []
|
||||||
|
|
||||||
// exportBigdataForsale(new_dists) //2022-07-19
|
exportBigdataForsale(new_dists) //2022-07-19
|
||||||
|
|
||||||
|
//不会变 10.25
|
||||||
|
exportEvaluationRateData()
|
||||||
|
exportBigdataPoiData()//
|
||||||
|
exportBigdataDistrictData()//
|
||||||
|
|
||||||
|
exportGuidedPrice()//随人工改变//
|
||||||
|
exportCommunityGuidedPrice(lastMonth.toString()+"28")//随政策//
|
||||||
|
|
||||||
|
//处理小区情况
|
||||||
|
exportBigdataCommunity()//
|
||||||
|
exportCommunityStaging()//没cityid
|
||||||
|
exportCommunityBuileType()//
|
||||||
|
|
||||||
|
exportThirdPartyPrice2(new_dists)//
|
||||||
|
exportBigdataDeal( new_dists) //2022-07-01
|
||||||
//
|
//
|
||||||
// //不会变 10.25
|
// //第三方网站权重表
|
||||||
// exportEvaluationRateData()
|
exportWebsiteRate();
|
||||||
// exportBigdataPoiData()//
|
|
||||||
// exportBigdataDistrictData()//
|
|
||||||
//
|
//
|
||||||
// exportGuidedPrice()//随人工改变//
|
// //计算结果相关
|
||||||
// exportCommunityGuidedPrice(lastMonth.toString()+"28")//随政策//
|
exportAvmEvaluationGJNB()//
|
||||||
|
exportAVMEvaluationItemGJNB()//
|
||||||
|
|
||||||
|
exportCityPrice()//
|
||||||
|
exportRegionPrice()//
|
||||||
|
|
||||||
|
exportCommunityBasePriceGj()//
|
||||||
|
exportCommunityBasePrice()//
|
||||||
|
|
||||||
|
exportCommunityPdescribeGj()//
|
||||||
|
exportCommCaseDetailGj()//
|
||||||
//
|
//
|
||||||
// //处理小区情况
|
def curDate = curMonth.toString()+"28"
|
||||||
// exportBigdataCommunity()//
|
|
||||||
// exportCommunityStaging()//没cityid
|
|
||||||
// exportCommunityBuileType()//
|
|
||||||
//
|
|
||||||
// exportThirdPartyPrice2(new_dists)//
|
|
||||||
// exportBigdataDeal( new_dists) //2022-07-01
|
|
||||||
////
|
|
||||||
//// //第三方网站权重表
|
|
||||||
// exportWebsiteRate();
|
|
||||||
////
|
|
||||||
//// //计算结果相关
|
|
||||||
// exportAvmEvaluationGJNB()//
|
|
||||||
// exportAVMEvaluationItemGJNB()//
|
|
||||||
//
|
|
||||||
// exportCityPrice()//
|
|
||||||
// exportRegionPrice()//
|
|
||||||
//
|
|
||||||
// exportCommunityBasePriceGj()//
|
|
||||||
// exportCommunityBasePrice()//
|
|
||||||
//
|
|
||||||
// exportCommunityPdescribeGj()//
|
|
||||||
// exportCommCaseDetailGj()//
|
|
||||||
//
|
|
||||||
// def curDate = curMonth.toString()+"28"
|
|
||||||
// // ok文件
|
// // ok文件
|
||||||
exportInOk()
|
exportInOk()
|
||||||
// SSHHelperTest jschCommand = new SSHHelperTest();
|
SSHHelperTest jschCommand = new SSHHelperTest();
|
||||||
// System.out.println(jschCommand.executeCommand("sh /home/ccb_evaluation/output/eval_package.sh ${curDate}"));
|
System.out.println(jschCommand.executeCommand("sh /home/ccb_evaluation/output/eval_package.sh ${curDate}"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1207,7 +1207,7 @@ class ExportOracleAllDataTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def exportInOk(){
|
def exportInOk(){
|
||||||
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"15"
|
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"28"
|
||||||
Vector files = CcbFtpTestUtils.listFileNames(null, curDate)
|
Vector files = CcbFtpTestUtils.listFileNames(null, curDate)
|
||||||
Iterator fileVec = files.iterator()
|
Iterator fileVec = files.iterator()
|
||||||
def fileRows = []
|
def fileRows = []
|
||||||
|
|||||||
+32
-32
@@ -32,37 +32,37 @@ class ExportOracleDataTest {
|
|||||||
def lastMonthStr = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyy-MM"), -1, "yyyy-MM")
|
def lastMonthStr = DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyy-MM"), -1, "yyyy-MM")
|
||||||
def new_dists = []
|
def new_dists = []
|
||||||
//不会变 10.25
|
//不会变 10.25
|
||||||
// exportEvaluationRateData()
|
exportEvaluationRateData()
|
||||||
// exportBigdataPoiData()//
|
exportBigdataPoiData()//
|
||||||
// exportBigdataDistrictData()//
|
exportBigdataDistrictData()//
|
||||||
//
|
|
||||||
// exportGuidedPrice()//随人工改变//
|
exportGuidedPrice()//随人工改变//
|
||||||
// exportCommunityGuidedPrice(lastMonth.toString()+"28")//随政策//
|
exportCommunityGuidedPrice(lastMonth.toString()+"28")//随政策//
|
||||||
//
|
|
||||||
// //处理小区情况
|
//处理小区情况
|
||||||
// exportBigdataCommunity()//
|
exportBigdataCommunity()//
|
||||||
// exportCommunityStaging()//没cityid
|
exportCommunityStaging()//没cityid
|
||||||
// exportCommunityBuileType()//
|
exportCommunityBuileType()//
|
||||||
//
|
|
||||||
// exportThirdPartyPrice2(lastMonth, new_dists)//
|
exportThirdPartyPrice2(lastMonth, new_dists)//
|
||||||
// exportBigdataForsale(lastMonthStr +"-19", new_dists) //2022-07-19
|
exportBigdataForsale(lastMonthStr +"-19", new_dists) //2022-07-19
|
||||||
// exportBigdataDeal(lastMonthStr + "-01", new_dists) //2022-07-01
|
exportBigdataDeal(lastMonthStr + "-01", new_dists) //2022-07-01
|
||||||
//
|
|
||||||
// //第三方网站权重表
|
//第三方网站权重表
|
||||||
// exportWebsiteRate();
|
exportWebsiteRate();
|
||||||
//
|
|
||||||
// //计算结果相关
|
//计算结果相关
|
||||||
// exportAvmEvaluationGJNB(curMonth)//无城市区分
|
exportAvmEvaluationGJNB(curMonth)//无城市区分
|
||||||
// exportAVMEvaluationItemGJNB(curMonth)//无城市区分
|
exportAVMEvaluationItemGJNB(curMonth)//无城市区分
|
||||||
//
|
|
||||||
// exportCityPrice(curMonth)//无城市区分
|
exportCityPrice(curMonth)//无城市区分
|
||||||
// exportRegionPrice(curMonth)//无城市区分
|
exportRegionPrice(curMonth)//无城市区分
|
||||||
//
|
|
||||||
// exportCommunityBasePriceGj(curMonth)//已合下面的合并 //无城市区分
|
exportCommunityBasePriceGj(curMonth)//已合下面的合并 //无城市区分
|
||||||
// exportCommunityBasePrice(curMonth)//无城市区分
|
exportCommunityBasePrice(curMonth)//无城市区分
|
||||||
//
|
|
||||||
// exportCommunityPdescribeGj(curMonth)//无城市区分
|
exportCommunityPdescribeGj(curMonth)//无城市区分
|
||||||
// exportCommCaseDetailGj(curMonth)//无城市区分
|
exportCommCaseDetailGj(curMonth)//无城市区分
|
||||||
|
|
||||||
def curDate = curMonth.toString()+"28"
|
def curDate = curMonth.toString()+"28"
|
||||||
// ok文件
|
// ok文件
|
||||||
@@ -1156,7 +1156,7 @@ class ExportOracleDataTest {
|
|||||||
ChannelSftp.LsEntry file = fileVec.next()
|
ChannelSftp.LsEntry file = fileVec.next()
|
||||||
|
|
||||||
if(org.apache.commons.lang.StringUtils.isNotBlank(file.getFilename()) && file.getFilename().endsWith(".dat")){
|
if(org.apache.commons.lang.StringUtils.isNotBlank(file.getFilename()) && file.getFilename().endsWith(".dat")){
|
||||||
fileRows << file.getFilename() +" "+CcbFtpTestUtils.getFileLength(file.getFilename(), curDate)
|
fileRows << file.getFilename() +" "+CcbFtpTestUtils.getFileLength(null, file.getFilename(), curDate)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
def fileName = "/ccb_evaluation/${curDate}.ok"
|
def fileName = "/ccb_evaluation/${curDate}.ok"
|
||||||
|
|||||||
Reference in New Issue
Block a user