mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-02 16:00:40 +00:00
【程序目录】自动收货查询订单错误修复
This commit is contained in:
parent
3e5f2a612e
commit
3d80665397
@ -83,7 +83,7 @@ class StoreOrderStoreOrderStatusDao extends BaseDao
|
||||
*/
|
||||
public function getTakeOrderIds(array $where, int $limit = 0)
|
||||
{
|
||||
return $this->search($where)->whereIn('refund_type', [0, 3])->field([$this->alias . '.*'])
|
||||
return $this->search($where)->whereIn('refund_type', [0, 3])->where('pid', '<>', -1)->field([$this->alias . '.*'])
|
||||
->when($limit != 0, function ($query) use ($limit) {
|
||||
$query->limit($limit);
|
||||
})->select()->toArray();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user