mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
【程序目录】优化订单列表全部订单
This commit is contained in:
parent
84cc36a0b1
commit
28f71af94f
@ -92,6 +92,9 @@ class StoreOrderDao extends BaseDao
|
||||
case -4://已删除
|
||||
$query->where('is_del', 1);
|
||||
break;
|
||||
case 9://全部用户未删除的订单
|
||||
$query->where('is_del', 0);
|
||||
break;
|
||||
}
|
||||
})->when(isset($where['paid']) && $where['paid'] !== '', function ($query) use ($where) {
|
||||
if (in_array($where['paid'], [0, 1])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user