Merge branch 'script_gj' into 'master'

update

See merge request !1236
This commit is contained in:
2026-02-12 11:52:06 +08:00
@@ -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)