| Línea 95... |
Línea 95... |
| 95 |
|
95 |
|
| 96 |
$select = $queryMapper->getSql()->select();
|
96 |
$select = $queryMapper->getSql()->select();
|
| 97 |
$select->columns(['uuid', 'content','status']);
|
97 |
$select->columns(['uuid', 'content','status']);
|
| 98 |
$select->from(['test' => CompanySelfEvaluationTestMapper::_TABLE]);
|
98 |
$select->from(['test' => CompanySelfEvaluationTestMapper::_TABLE]);
|
| 99 |
$select->join(['form' => CompanySelfEvaluationFormMapper::_TABLE], 'test.form_id = form.id', ['name','language']);
|
- |
|
| - |
|
99 |
$select->join(['form' => CompanySelfEvaluationFormMapper::_TABLE], 'test.form_id = form.id', ['name','language']);
|
| Línea 100... |
Línea 100... |
| 100 |
$select->join(['user' => UserMapper::_TABLE], 'test.user_id = user.id', ['first_name','last_name']);
|
100 |
|
| Línea 101... |
Línea 101... |
| 101 |
|
101 |
|
| 102 |
$select->where->equalTo('form.status', CompanySelfEvaluationForm::STATUS_ACTIVE);
|
102 |
$select->where->equalTo('form.status', CompanySelfEvaluationForm::STATUS_ACTIVE);
|