...
* При остальных типах получение происходит следующим запросом в ЦОД:
Блок кода | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Select distinct prvd.GUID Prvd, lpu.GUIDLPU Lpu from hlt_DocPRVD prvd with (NOLOCK) inner join oms_PRVS prvs with (NOLOCK) on prvd.rf_PRVSID = prvs.PRVSID inner join oms_Department dep with (NOLOCK) on rf_DepartmentID = DepartmentID inner join oms_Lpu lpu with (NOLOCK) on lpu.LpuID = dep.rf_LPUID where prvs.C_PRVS = '{0}' |
...