You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bld_name']}') and ( ( (1) and (bu_type1 = '2' and bu_type2 = '1') ) or ( (1)' at line 5