第三方时间
This commit is contained in:
+3
-3
@@ -73,12 +73,12 @@ class ExportOracleAllDataTest {
|
|||||||
// exportCommunityBasePriceGj()//
|
// exportCommunityBasePriceGj()//
|
||||||
// exportCommunityBasePrice()//
|
// exportCommunityBasePrice()//
|
||||||
//
|
//
|
||||||
exportCommunityPdescribeGj()//
|
// exportCommunityPdescribeGj()//
|
||||||
// exportCommCaseDetailGj()//
|
// exportCommCaseDetailGj()//
|
||||||
//
|
//
|
||||||
// def curDate = curMonth.toString()+"28"
|
// 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")+"28"
|
def curDate = DateUtils.formatDateByPattern(new Date(), "yyyyMM")+"15"
|
||||||
Vector files = CcbFtpTestUtils.listFileNames(null, curDate)
|
Vector files = CcbFtpTestUtils.listFileNames(null, curDate)
|
||||||
Iterator fileVec = files.iterator()
|
Iterator fileVec = files.iterator()
|
||||||
def fileRows = []
|
def fileRows = []
|
||||||
|
|||||||
+21
-1
@@ -29,7 +29,9 @@ class FjwPricePkCcbPrice {
|
|||||||
// task.updatePrice()
|
// task.updatePrice()
|
||||||
// task.addFjwPrice()
|
// task.addFjwPrice()
|
||||||
// task.addCcbPrice()
|
// task.addCcbPrice()
|
||||||
task.addMarketPrice()
|
|
||||||
|
task.addCcbPriceFromGuided()
|
||||||
|
// task.addMarketPrice()
|
||||||
}
|
}
|
||||||
|
|
||||||
def addMarketPrice(){
|
def addMarketPrice(){
|
||||||
@@ -66,6 +68,24 @@ class FjwPricePkCcbPrice {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def addCcbPriceFromGuided(){
|
||||||
|
def cityCodeDataMap = CcbCommonUtils.findCityCodeValue()
|
||||||
|
ExcelUtils.multiThreadingModify("D:\\数据\\建行\\二期\\人工指导价2.xls",{d->
|
||||||
|
if(d['B'] && !d['O']){
|
||||||
|
def cityId = d['D']
|
||||||
|
def dist = CommonDatautils.findDistrictById(d['B'])
|
||||||
|
if(dist){
|
||||||
|
def map = getCommunityBasePriceGjByCommid(cityId, dist._id.toString(), 202211)
|
||||||
|
if(map){
|
||||||
|
d['O'] = map.avg_price
|
||||||
|
d['P'] = map.calc_type
|
||||||
|
d['Q'] = map.credit
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def updatePrice(){
|
def updatePrice(){
|
||||||
def index = 0
|
def index = 0
|
||||||
|
|||||||
+3
-3
@@ -22,9 +22,9 @@ import java.util.concurrent.ConcurrentHashMap
|
|||||||
@BatchOwner(Watcher.GaoJuan)
|
@BatchOwner(Watcher.GaoJuan)
|
||||||
class ThirdPartyPriceBatch extends BaseBatch {
|
class ThirdPartyPriceBatch extends BaseBatch {
|
||||||
|
|
||||||
def sDate= 202210//Integer.parseInt(DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -1, "yyyyMM"));
|
def sDate= 202211//Integer.parseInt(DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -1, "yyyyMM"));
|
||||||
def startDate = 202208
|
def startDate = 202209
|
||||||
def endDate = 202210
|
def endDate = 202211
|
||||||
// def curDate = Integer.parseInt(DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -6, "yyyyMM"));
|
// def curDate = Integer.parseInt(DateUtils.addMonth(DateUtils.formatDateByPattern(new Date(), "yyyyMM"), -6, "yyyyMM"));
|
||||||
|
|
||||||
static final DBCollection AVERAGE_STATISTICS = MongoUtils.getCollectionByName("fangjia", "average_statistics", "192.168.0.43")
|
static final DBCollection AVERAGE_STATISTICS = MongoUtils.getCollectionByName("fangjia", "average_statistics", "192.168.0.43")
|
||||||
|
|||||||
Reference in New Issue
Block a user