Browse Source

订单快捷按钮

master
lanzu_qinsheng 5 years ago
parent
commit
397a61e3a9
  1. 2
      app/Models/ImsCjdcOrderMain.php

2
app/Models/ImsCjdcOrderMain.php

@ -118,11 +118,13 @@ class ImsCjdcOrderMain extends Model
if ($marketId) {
$count = self::where('state', $state)
->where('type', 1)
->where('created_at','>=',time()-(7*86400))
->where('market_id',$marketId)
->count();
}else{
$count = self::where('state', $state)
->where('type', 1)
->where('created_at','>=',time()-(7*86400))
->count();
}
return $count;

Loading…
Cancel
Save