Commit 0e337a69 authored by Quxl's avatar Quxl

x

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