Merge branch 'master' of https://gitea.mjm-staging.developers-homelab.net/BIMS/BIMS
This commit is contained in:
		
						commit
						bb309d8613
					
				@ -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