Commit 22516f83 authored by hangjun83's avatar hangjun83

队列更新

parent 69f51008
......@@ -57,6 +57,7 @@ class RhawnRawRepositoryEloquent extends BaseRepository implements RhawnRawRepos
public function getRawProductsThroughtCode($rawCode)
{
$raw = RhawnRaw::query()
->join('products', 'products.c_id','raw.c_id')
->join('chemicals', 'chemicals.c_id','raw.c_id');
if(!is_array($rawCode)){
$raw->where('r_code',$rawCode);
......
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