|
@@ -2,6 +2,7 @@ package ownermonitor
|
|
|
|
|
|
import (
|
|
|
"fmt"
|
|
|
+ "strings"
|
|
|
"time"
|
|
|
|
|
|
"app.yhyue.com/moapp/jybase/redis"
|
|
@@ -82,7 +83,9 @@ func Match(msl *Mysql, mgoMain, mgoLog *MongodbSim, ui *UserInfo, sl *SortList,
|
|
|
result[buyer].Infos = append(result[buyer].Infos, v.Info)
|
|
|
}
|
|
|
omis := []*OwnerMonitor{}
|
|
|
- for _, v := range result {
|
|
|
+ matchBuyers := []string{}
|
|
|
+ for k, v := range result {
|
|
|
+ matchBuyers = append(matchBuyers, k)
|
|
|
omis = append(omis, v)
|
|
|
}
|
|
|
uis := []*UserInfo{ui}
|
|
@@ -115,7 +118,7 @@ func Match(msl *Mysql, mgoMain, mgoLog *MongodbSim, ui *UserInfo, sl *SortList,
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
- logger.Info(userId, "业主监控匹配上", len(result), "个")
|
|
|
+ logger.Info(userId, "业主监控匹配上", len(result), "个", strings.Join(matchBuyers, ","))
|
|
|
}
|
|
|
|
|
|
//
|