@@ -26,6 +26,7 @@ class RefundReturnModel extends \DAO\AbstractModel {
public$refundDetailField='is_platform_in as isPlatformIn,seller_state as sellerState,platform_state as platformState,refund_id as refundId,order_id as orderId,store_id as storeId,order_goods_id as orderGoodsId';
private$sumField="order_id as orderId,buyer_id as buyerId,store_id as storeId,goods_num as goodsNum,refund_amount as refundAmount,is_suc_refund as isSucRefund,gmt_update as gmtUpdate";
private$sumRefundAmount=" sum(refund_amount) as sumRefundAmont";
/**
* 主键
*
...
...
@@ -47,6 +48,18 @@ class RefundReturnModel extends \DAO\AbstractModel {