@@ -25,7 +25,7 @@ class RefundReturnModel extends \DAO\AbstractModel
* @var string
*/
protected$_tableName='han_refund_return';
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';
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,refund_type as refundType,return_type as returnType,goods_state as goodsState';
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";
...
...
@@ -212,8 +212,37 @@ class RefundReturnModel extends \DAO\AbstractModel