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