dbmsv3 init...1
This commit is contained in:
parent
4a6016bed7
commit
055f6f6731
@ -33,7 +33,6 @@ class ServerController extends EquipmentController
|
||||
case 'create_form':
|
||||
case 'modify_form':
|
||||
case 'index':
|
||||
case 'index':
|
||||
case 'view':
|
||||
$this->service = $this->getService();
|
||||
$this->control = $this->getService()->getControlDatas();
|
||||
|
||||
@ -95,11 +95,13 @@ class SearchController extends AdminController
|
||||
->join('serverpartinfo sp', 'sp.clientinfo_uid = c.uid', 'left')
|
||||
->groupStart()
|
||||
->like('c.name', $keyword, 'both', null, true) // escape=true
|
||||
->orLike('s.code', $keyword, 'both', null, true)
|
||||
->orLike('s.title', $keyword, 'both', null, true)
|
||||
->orLike('sp.title', $keyword, 'both', null, true)
|
||||
->groupEnd();
|
||||
// SQL 확인용 (실제 운영에서는 주석 처리)
|
||||
// echo $builder->getCompiledSelect(); exit;
|
||||
// echo $builder->getCompiledSelect();
|
||||
// exit;
|
||||
$results = $builder->get()->getResultArray();
|
||||
// dd($results);
|
||||
$uids = [];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user