Merge branch 'script_gj' into 'master'
更新时加上涨跌幅比较,防止价格相同,涨跌幅却不同 See merge request !1237
This commit is contained in:
+1
-1
@@ -284,7 +284,7 @@ class DistrictSellStatBatch extends BaseBatch {
|
|||||||
curPrice = 0
|
curPrice = 0
|
||||||
}
|
}
|
||||||
if(curPriceObj){
|
if(curPriceObj){
|
||||||
if(curPrice!=curPriceObj.avg_price){
|
if(curPrice!=curPriceObj.avg_price || mom!=curPriceObj.mom){
|
||||||
def data = new BasicDBObject()
|
def data = new BasicDBObject()
|
||||||
data.put("m_date", new Date())
|
data.put("m_date", new Date())
|
||||||
// data.put("commid", dist._id.toString())
|
// data.put("commid", dist._id.toString())
|
||||||
|
|||||||
Reference in New Issue
Block a user