|
@@ -123,7 +123,7 @@ func (this *CustomerOperation) CList(searchCode string, isCliam int64, entUserId
|
|
customerMap[qutil.ObjToString(value["name"])] = value["customer_id"]
|
|
customerMap[qutil.ObjToString(value["name"])] = value["customer_id"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- clist, ok := MQFW.Find(fc, query, `{"date":-1}`, `{"name":1,"date":1}`, false, 0, countLimit)
|
|
|
|
|
|
+ clist, ok := MQFW.Find(fc, query, `{"date":-1}`, `{"name":1,"date":1,"unread":1,"updatetime":1}`, false, 0, countLimit)
|
|
if ok && clist != nil && len(*clist) > 0 {
|
|
if ok && clist != nil && len(*clist) > 0 {
|
|
count = len(*clist)
|
|
count = len(*clist)
|
|
for _, v := range *clist {
|
|
for _, v := range *clist {
|