Commit 3fc18fbc authored by Quxl's avatar Quxl

x

parent e67bfcc7
......@@ -151,7 +151,7 @@ public class BrandServiceImpl implements BrandService {
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, ba.nTag nTag_dtl, ba.sReason, "
+ "case when ba.nTag&1 = 1 then 1 when ba.nTag&2 = 0 then 2 when ba.nTag&2 = 2 then 3 else 0 end status, "
+ "case when ba.nTag&1 = 1 then 1 when ba.nTag&2 = 0 then 2 when ba.nTag&2 = 2 then 3 else 0 end status, "
+ "case when ba.nTag&1 = 1 then '已否决' when ba.nTag&2 = 0 then '未审核' when ba.nTag&2 = 3 then '已审核' else '审核中' end statusDesc "
+ " FROM tIPBrand a left join 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 ";
......
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