Commit 9ba42731 authored by Quxl's avatar Quxl

x

parent b511e8df
...@@ -210,7 +210,7 @@ public class BrandServiceImpl implements BrandService { ...@@ -210,7 +210,7 @@ public class BrandServiceImpl implements BrandService {
@Override @Override
public List<Map<String, Object>> queryAuthorizationIPList(String custNo, String orgNo) { public List<Map<String, Object>> queryAuthorizationIPList(String custNo, String orgNo) {
String sql = "select b.*, ba.nTag nTag_Dtl, ba.nAuthorizeID 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 = ?"; String sql = "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 = ?";
return jdbcTemplate.queryForList(sql, orgNo, custNo); return jdbcTemplate.queryForList(sql, orgNo, custNo);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment