商品列表
This commit is contained in:
parent
93d9b27ee1
commit
8533ebdc60
@ -21,6 +21,7 @@ class SupplyChain extends BaseModel
|
||||
|
||||
// 设置当前模型的数据库连接
|
||||
protected $connection = 'nongke';
|
||||
protected $table = 'fa_supply_chain';
|
||||
|
||||
/**
|
||||
* @return string
|
||||
|
@ -22,7 +22,7 @@ class SupplyChainLinkMerchant extends BaseModel
|
||||
|
||||
// 设置当前模型的数据库连接
|
||||
protected $connection = 'nongke';
|
||||
|
||||
protected $table = 'fa_supply_chain_link_merchant';
|
||||
/**
|
||||
* @return string
|
||||
* @author xaboy
|
||||
|
@ -160,6 +160,8 @@ class SpuRepository extends BaseRepository
|
||||
|
||||
// 只获取当前供应链内商户的商品
|
||||
$query->whereIn('S.mer_id', $MerListId);
|
||||
//获取自提
|
||||
$query->whereLike('delivery_way',"%1%");
|
||||
}
|
||||
|
||||
$productMake = app()->make(ProductRepository::class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user