From d9d0b520fcfb9570a6d214be04a19778395bbcec Mon Sep 17 00:00:00 2001 From: dev02 Date: Wed, 26 Oct 2022 09:59:36 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=BE=8C=E5=8F=B0]=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=88=A4=E6=96=B7=E6=98=AF=E5=90=A6=E6=9C=893d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Backend/Controllers/BuildMenuController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Backend/Controllers/BuildMenuController.cs b/Backend/Controllers/BuildMenuController.cs index 2abdac1..6c02e75 100644 --- a/Backend/Controllers/BuildMenuController.cs +++ b/Backend/Controllers/BuildMenuController.cs @@ -646,7 +646,7 @@ namespace Backend.Controllers { var sqlString = @$"select v.id from building b - join variable v on v.system_type = @system_type and system_key = N'是否有3D' and v.deleted = 0 + join variable v on v.system_type = @system_type and system_key = N'是否有3D' and system_value = 'Y' and v.deleted = 0 where b.building_tag = @building_tag and (b.orgName_3D + b.saveName_3D) is not null;"; KeyValue = await backendRepository.GetAllAsync(sqlString, new { building_tag = post.building_tag, system_type = system_setting_type });