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 });