跟进维护
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
* @version:
|
||||
* @Author: kangkang
|
||||
* @Date: 2020-10-16 14:44:02
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2020-11-28 17:05:56
|
||||
* @LastEditors: “wanyongkang” “937888580@qq.com”
|
||||
* @LastEditTime: 2023-08-10 19:04:59
|
||||
*/
|
||||
|
||||
namespace app\manager\model;
|
||||
@@ -62,7 +62,7 @@ class ProductOrder extends Model
|
||||
*/
|
||||
public function getRefund($where = '', $where2 = [])
|
||||
{
|
||||
return $this->field('sum(PaymentAmount) as money')
|
||||
return $this->field('sum(RefundAmount) as money')
|
||||
->where(['OrderState' => ['in', ProductOrderEnum::$Refunds]])
|
||||
->where($where)
|
||||
->where($where2)
|
||||
|
||||
Reference in New Issue
Block a user