[後端] 修改api 判斷
This commit is contained in:
parent
6bcaaef80f
commit
af876d7e77
@ -275,7 +275,7 @@ namespace Backend.Services.Implement
|
|||||||
//}
|
//}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
foreach(var n in conPoint)
|
foreach (var n in conPoint)
|
||||||
{
|
{
|
||||||
if (n.name.Split('/').Length == 9)
|
if (n.name.Split('/').Length == 9)
|
||||||
{
|
{
|
||||||
|
@ -570,7 +570,7 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
join variable v1 on v1.system_value = b.device_system_tag and v1.deleted = 0 and v1.system_type = 'device_system_category_layer2'
|
join variable v1 on v1.system_value = b.device_system_tag and v1.deleted = 0 and v1.system_type = 'device_system_category_layer2'
|
||||||
join variable v2 on v2.system_value = b.device_name_tag and v2.deleted = 0 and v2.system_type = 'device_system_category_layer3'
|
join variable v2 on v2.system_value = b.device_name_tag and v2.deleted = 0 and v2.system_type = 'device_system_category_layer3'
|
||||||
where a.deleted = 0 and b.deleted = 0 and v2.deleted = 0 and v1.deleted = 0
|
where a.deleted = 0 and b.deleted = 0 and v2.deleted = 0 and v1.deleted = 0
|
||||||
and a.unit is not null and b.device_number in @Device_number
|
and a.unit is not null and b.device_number in @Device_number and a.is_link = 1
|
||||||
order by c.priority,b.priority;"
|
order by c.priority,b.priority;"
|
||||||
, new { Device_number = postDevice.select_data.Select(a => a.device_number).ToList() }
|
, new { Device_number = postDevice.select_data.Select(a => a.device_number).ToList() }
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user