mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-14 09:18:41 +00:00
Remove find
This commit is contained in:
parent
cade8587b7
commit
77974666de
|
|
@ -117,22 +117,4 @@ class EditorDocMapper extends DataMapperAbstract
|
||||||
return $objId;
|
return $objId;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Find.
|
|
||||||
*
|
|
||||||
* @param array $columns Columns to select
|
|
||||||
*
|
|
||||||
* @return Builder
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
||||||
*/
|
|
||||||
public static function find(...$columns) : Builder
|
|
||||||
{
|
|
||||||
return parent::find(...$columns)->from('account_permission')
|
|
||||||
->where('account_permission.account_permission_for', '=', 'editor')
|
|
||||||
->where('account_permission.account_permission_id1', '=', 1)
|
|
||||||
->where('news.news_id', '=', new Column('account_permission.account_permission_id2'))
|
|
||||||
->where('account_permission.account_permission_r', '=', 1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user