第三方选择优先匹配类型,后更新时间
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ class ThirdDataToGatherBatch extends BaseBatch{
|
|||||||
q.put("s_date", SHORT_DATE);
|
q.put("s_date", SHORT_DATE);
|
||||||
def ret = []
|
def ret = []
|
||||||
try{
|
try{
|
||||||
def dbcursor = dataProcessColl.find(q).sort(new BasicDBObject("m_date", -1).append("type",1))
|
def dbcursor = dataProcessColl.find(q).sort(new BasicDBObject("type",1).append("m_date", -1))
|
||||||
|
|
||||||
if(dbcursor){
|
if(dbcursor){
|
||||||
for(def dbo : dbcursor){
|
for(def dbo : dbcursor){
|
||||||
|
|||||||
Reference in New Issue
Block a user