作者 yangfu

分红详情修改

package service
import (
"fmt"
"github.com/linmadan/egglib-go/core/application"
"gitlab.fjmaimaimai.com/mmm-go/partnermg/pkg/application/factory"
"gitlab.fjmaimaimai.com/mmm-go/partnermg/pkg/application/order_payment/command"
... ... @@ -177,6 +178,7 @@ func (OrderPaymentService *OrderPaymentService) ListDividendOrders(listOrderPaym
}
type DividendOrderItem struct {
OrderId string `json:"id"` //订单编号
OrderNumber string `json:"orderNumber"` //订单号
OrderState int `json:"orderState"` //订单状态
StateOfPayment string `json:"stateOfPayment"` //支付状态
... ... @@ -192,6 +194,7 @@ func (OrderPaymentService *OrderPaymentService) ListDividendOrders(listOrderPaym
for i := range orders {
order := orders[i]
item := DividendOrderItem{
OrderId: fmt.Sprintf("%v", order.Id),
OrderNumber: order.OrderCode,
OrderState: order.OrderStatus,
StateOfPayment: "",
... ...