tod
This commit is contained in:
parent
a907fb675e
commit
0e4b9824f7
@ -27,9 +27,10 @@ class WorkstationModel extends BaseModel {
|
||||
CASE
|
||||
WHEN workstation.Enable = 1 THEN 'Enabled'
|
||||
ELSE 'Disabled'
|
||||
END AS EnableText")
|
||||
END AS EnableText, valueset.VValue as TypeName")
|
||||
->join('workstation wst1', 'workstation.LinkTo=wst1.WorkstationID', 'left')
|
||||
->join('department', 'department.DepartmentID=workstation.DepartmentID', 'left')
|
||||
->join('valueset', 'valueset.VID=workstation.Type', 'left')
|
||||
->where('workstation.WorkstationID', $WorkstationID)
|
||||
->findAll();
|
||||
return $rows;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user