Commit 0e337a69 authored by Quxl's avatar Quxl

x

parent d5a3f18b
...@@ -210,8 +210,8 @@ public class BrandServiceImpl implements BrandService { ...@@ -210,8 +210,8 @@ 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 * from tIPBrand where sOrgNO = ? and nTag&1 = 0"; String sql = "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 = ?";
return jdbcTemplate.queryForList(sql, orgNo); return jdbcTemplate.queryForList(sql, orgNo, custNo);
} }
@Override @Override
......
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