...
|
...
|
@@ -212,7 +212,12 @@ func List(header *protocol.RequestHeader, request *protocol.OrderListRequest) (r |
|
|
total, orders, _ = OrderResponsitory.Find(utils.ObjectJsonToMap(queryOption))
|
|
|
if len(orders) != 0 {
|
|
|
for i := range orders {
|
|
|
rsp.List = append(rsp.List, DomainOrderToOrderListItem(orders[i]))
|
|
|
item := DomainOrderToOrderListItem(orders[i])
|
|
|
// 高管查看都是标记已读
|
|
|
if orders[i].PartnerId != header.UserId {
|
|
|
item.IsRead = 1
|
|
|
}
|
|
|
rsp.List = append(rsp.List, item)
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|