mirror of
https://github.com/Karaka-Management/oms-ProjectManagement.git
synced 2026-02-12 05:48:40 +00:00
Remove find
This commit is contained in:
parent
e02a6520e7
commit
85b9516a0d
|
|
@ -155,23 +155,4 @@ class ProjectMapper 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', '=', 'calendar_project')
|
|
||||||
->where('account_permission.account_permission_id1', '=', 1)
|
|
||||||
->where('calendar_project.calendar_project_id', '=', new Column('account_permission.account_permission_id2'))
|
|
||||||
->where('account_permission.account_permission_r', '=', 1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user