update
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ class ThardParthAnalyBatch extends BaseBatch{
|
|||||||
|
|
||||||
def findMatchSuccessDistCount(sDate){
|
def findMatchSuccessDistCount(sDate){
|
||||||
def q = new BasicDBObject().append("s_date", sDate).append("avg_price", new BasicDBObject('$gt', 0)).append("status", 4)
|
def q = new BasicDBObject().append("s_date", sDate).append("avg_price", new BasicDBObject('$gt', 0)).append("status", 4)
|
||||||
def dbcursor = thirdPartyColl.count(q)
|
def dbcursor = thirdPartyColl.find(q)
|
||||||
def set = new HashSet()
|
def set = new HashSet()
|
||||||
for (def d : dbcursor) {
|
for (def d : dbcursor) {
|
||||||
set << d.city+"##"+d.region+"##"+d.name
|
set << d.city+"##"+d.region+"##"+d.name
|
||||||
|
|||||||
Reference in New Issue
Block a user