Stringsql="select * from tIPBrand where sOrgNO = ? and nTag&1 = 0";
returnjdbcTemplate.queryForList(sql,orgNo);
Stringsql="select b.* from tIPBrand b, tIPBrandAuthorize ba where b.sOrgNO = ? and b.nTag&1 = 0 and b.sIPID = ba.sIPID and ba.nTag&1 = 0 and ba.sCustNO = ?";