|
|
@@ -238,7 +238,7 @@ class StatSaleClass extends BaseClass
|
|
|
}
|
|
|
$cg = floatval($cg);
|
|
|
|
|
|
- $lsCgWhere = ['mainId' => $mainId, 'status' => 4];
|
|
|
+ $lsCgWhere = ['mainId' => $mainId, 'status' => 4,'belongCost'=>1];
|
|
|
$lsCgWhere['payTime'] = ['between', [$currentStartTime, $currentEndTime]];
|
|
|
$lsCgList = PurchaseClass::getAllByCondition($lsCgWhere, null, '*');
|
|
|
$lsCgAmount = 0;
|