Commit f60c490e authored by Quxl's avatar Quxl

x

parent f8409bea
......@@ -150,7 +150,7 @@ public class BrandServiceImpl implements BrandService {
jdbcTemplate.setDialect(new SqlServerDialect());
String sql = "SELECT IPID = a.sIPID, AgentContractNO = a.sAgentContractNO,OrgName = o.sOrgDesc,BrandID = a.sBrandID, BrandName = b.sBrandName,IPBrandTypeID = a.sIPBrandTypeID,"
+ " IPBrandType = a.sIPBrandType, LogoUrl = a.sLogoUrl,Introduce = a.sIntroduce,Describe = a.sDescribe,Memo = a.sMemo"
+ " IPBrandType = a.sIPBrandType, LogoUrl = a.sLogoUrl,Introduce = a.sIntroduce,Describe = a.sDescribe,Memo = a.sMemo, ba.nTag nTag_dtl, ba.sReason "
+ " FROM tIPBrand a left jion tIPBrandAuthorize ba on ba.sIPID = a.sIPID and ba.sCustNO = ? join tOrg o on a.sOrgNO = o.sOrgNO join tBrand b on a.sBrandID = b.sBrandID "
+ " WHERE a.sIPID = ? and a.sOrgNO = ? and a.nTag=2 ";
Map<String,Object> map = jdbcTemplate.queryForMap(sql,custNo,ipId,orgNO);
......
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