salesmanNO1=jdbcTemplate.queryForString("SELECT SalesmanNO = sValue1 FROM tSystemCtrl WHERE sCode = 'DefSalesman'");
}catch(EmptyResultDataAccessExceptione){
e.printStackTrace();
}
}
List<Map<String,Object>>addrNameList=jdbcTemplate.queryForList("select sRegionNO, sRegionDesc from tRegion where sRegionNO = ? or sRegionNO = ? or sRegionNO = ?",provinceId,cityId,districtId);
List<Map<String,Object>>addrNameList=jdbcTemplate.queryForList("select sRegionNO, sRegionDesc from tRegion where sRegionNO = ? or sRegionNO = ? or sRegionNO = ?",provinceId,cityId,districtId);
List<Map<String,Object>>addrList=jdbcTemplate.queryForList("select * from tCustAddress where sCustNO = ? and sShopNO = ? and nTag&5 = 4",custNo,shopNo);
Integercount=jdbcTemplate.queryForInt("select count(*) from tShopkeeperShop where sShopNO = ? and sSalesmanNO = ?",shopNo,salesmanNO1);
List<Map<String,Object>>addrList=jdbcTemplate.queryForList("select * from tCustAddress where sCustNO = ? and sShopNO = ? and nTag&5 = 4",custNo,shopNo);