...
|
...
|
@@ -71,6 +71,7 @@ func (service OrderInfoService) PageListOrderBase(listOrderQuery query.ListOrder |
|
|
}
|
|
|
|
|
|
orderDataReturn := make([]map[string]interface{}, 0)
|
|
|
|
|
|
for i := range orders {
|
|
|
partnerData := &domain.PartnerInfo{}
|
|
|
partnerData, err = PartnerInfoRepository.FindOne(domain.PartnerFindOneQuery{
|
...
|
...
|
@@ -79,7 +80,9 @@ func (service OrderInfoService) PageListOrderBase(listOrderQuery query.ListOrder |
|
|
if err != nil {
|
|
|
logs.Error("获取合伙(id=%d)失败%s", orders[i].PartnerId, err)
|
|
|
}
|
|
|
listIndex := listOrderQuery.Offset + (1 + i)
|
|
|
m := map[string]interface{}{
|
|
|
"index": listIndex,
|
|
|
"createTime": orders[i].CreateTime.Local().Format("2006-01-02 15:04:05"),
|
|
|
"updateTime": orders[i].UpdateTime.Local().Format("2006-01-02 15:04:05"),
|
|
|
"buyer": orders[i].Buyer.BuyerName,
|
...
|
...
|
|