공통화 작업 및 워커 해더
This commit is contained in:
@@ -1215,10 +1215,8 @@ class ReceiptModel extends Model
|
||||
$builder->join('result b', 'b.rcpt_sq = a.rcpt_sq', 'inner');
|
||||
$builder->join('region_codes c', 'a.rcpt_dong = c.region_cd', 'left');
|
||||
$builder->join('departments d', 'b.dept_sq = d.dept_sq', 'left');
|
||||
|
||||
|
||||
$builder->where('a.rcpt_key', $id);
|
||||
|
||||
|
||||
return $builder->get()->getRowArray();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user