作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

物流单号

@@ -66,7 +66,8 @@ class Goods extends Model @@ -66,7 +66,8 @@ class Goods extends Model
66 ->join('sto_goodstype t','t.id = g.goodstype_id') 66 ->join('sto_goodstype t','t.id = g.goodstype_id')
67 ->join('sto_store s','s.id = g.store_id') 67 ->join('sto_store s','s.id = g.store_id')
68 ->where($where) 68 ->where($where)
69 - ->find(false); 69 + ->fetchSql()
  70 + ->find();
70 dump($data);exit; 71 dump($data);exit;
71 $storeModel = new Store(); 72 $storeModel = new Store();
72 $store = $storeModel->findData(['id'=>$data['store_id']]); 73 $store = $storeModel->findData(['id'=>$data['store_id']]);