[後台] 修改判斷是否有3d
This commit is contained in:
parent
e6843ee6f7
commit
d9d0b520fc
@ -646,7 +646,7 @@ namespace Backend.Controllers
|
|||||||
{
|
{
|
||||||
var sqlString = @$"select v.id
|
var sqlString = @$"select v.id
|
||||||
from building b
|
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;";
|
where b.building_tag = @building_tag and (b.orgName_3D + b.saveName_3D) is not null;";
|
||||||
KeyValue = await backendRepository.GetAllAsync<KeyValue>(sqlString, new { building_tag = post.building_tag, system_type = system_setting_type });
|
KeyValue = await backendRepository.GetAllAsync<KeyValue>(sqlString, new { building_tag = post.building_tag, system_type = system_setting_type });
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user