StringsCustTypeID=jdbcTemplate.queryForString("select c.sCustTypeID from tCustomer c, tShop s where c.sCustNO = s.sCustNO and s.sShopNO = ?",shopNo);
StringsCustTypeID;
try{
sCustTypeID=jdbcTemplate.queryForString("select c.sCustTypeID from tCustomer c, tShop s where c.sCustNO = s.sCustNO and s.sShopNO = ?",shopNo);
}catch(Exceptione){
thrownewXException("未查到用户信息");
}
StringsqlCustBwList="select bw.sPromoPaperNO from tPromoCustBWList bw, tCustomer c, tShop s where bw.sShopNO = c.sCustTypeID and c.sCustNO = s.sCustNO and s.sShopNO = '"+shopNo+"'";