333333
This commit is contained in:
parent
33b64c6955
commit
c482d518e0
@ -41,7 +41,7 @@ class UserLevel extends Base
|
||||
$goodsType = 3;
|
||||
$sm = Model('common/SysSummary');
|
||||
$sysData= $sm->getInfo('toPaySlow');
|
||||
$helpSaleInfo = Db::name('orders')->where(compact('userId','goodsType'))->sum('goodsMoney');
|
||||
$helpSaleInfo = Db::name('orders')->where(compact('userId','goodsType'))->where('payable', '>',0)->sum('payable');
|
||||
$helpSaleNum = 0;
|
||||
if (!empty($helpSaleInfo)) {
|
||||
$helpSaleNum = $helpSaleInfo['helpSaleNum'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user