Commit 5a794d42 authored by hangjun83's avatar hangjun83

openapi 1.1

parent d84ad0a1
...@@ -51,7 +51,7 @@ class RhawnRawRepositoryEloquent extends BaseRepository implements RhawnRawRepos ...@@ -51,7 +51,7 @@ class RhawnRawRepositoryEloquent extends BaseRepository implements RhawnRawRepos
public function getRawProducts($where) public function getRawProducts($where)
{ {
$raw = RhawnRaw::query() $raw = $this
->join('products', 'products.c_id','raw.c_id') ->join('products', 'products.c_id','raw.c_id')
->join('chemicals', 'chemicals.c_id','raw.c_id'); ->join('chemicals', 'chemicals.c_id','raw.c_id');
foreach($where as $key => $w){ foreach($where as $key => $w){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment