|
|
$info = SystemStoreStock::alias('a')->join("StoreProduct b", "a.product_id=b.id", "left")->where('a.bar_code', $where['bar_code'])->field('a.price,a.unique,a.in_stock,a.is_consumer,a.product_id,b.store_name,b.image,a.bar_code')->find();
|
|
$info = SystemStoreStock::alias('a')->join("StoreProduct b", "a.product_id=b.id", "left")->where('a.bar_code', $where['bar_code'])->field('a.price,a.unique,a.in_stock,a.is_consumer,a.product_id,b.store_name,b.image,a.bar_code')->find();
|
|
|
$store_product = StoreProductAttrValue::where('type', 0)->where('bar_code', $where['bar_code'])->find();
|
|
$store_product = StoreProductAttrValue::where('type', 0)->where('bar_code', $where['bar_code'])->find();
|