Stringsql="select b.*, brand.sBrandName, ba.nTag nTag_Dtl, ba.nAuthorizeID from tIPBrand b left join tBrand brand on brand.sBrandID = b.sBrandID, tIPBrandAuthorize ba where b.sOrgNO = ? and b.nTag&1 = 0 and b.sIPID = ba.sIPID and ba.nTag&1 = 0 and ba.sCustNO = ?";
Stringsql="select b.*, brand.sBrandName, ba.nTag nTag_Dtl, ba.nAuthorizeID from tIPBrand b left join tBrand brand on brand.sBrandID = b.sBrandID, tIPBrandAuthorize ba where b.sOrgNO = ? and b.nTag&1 = 0 and b.sIPID = ba.sIPID and ba.sCustNO = ?";