diff --git a/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/DistrictSellStatBatch.groovy b/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/DistrictSellStatBatch.groovy index 084ff8148..bb872b04f 100644 --- a/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/DistrictSellStatBatch.groovy +++ b/projects/fangjia-script/src/main/groovy/com/fangjia/script/fuzhou/DistrictSellStatBatch.groovy @@ -295,17 +295,17 @@ class DistrictSellStatBatch extends BaseBatch { data.put("credit", weekendPriceObj.credit) def q = new BasicDBObject() - if(curPriceObj.commid){ - q.put("date", curMonth) - q.put("commid", dist._id.toString()) - }else{ +// if(curPriceObj.commid){ +// q.put("date", curMonth) +// q.put("commid", dist._id.toString()) +// }else{ q.put("date", curMonth) q.put("city", dist.city) q.put("region", dist.region) q.put("district_name", dist.name) data.put("commid", dist._id.toString()) - } +// } DISTRICT_SELL_STAT.update(q , new BasicDBObject('$set', data),true,false)