public List<Product> getBestSellerListProduct(int soluong) {
logger.debug("getBestSeller start");
List<Product> Products = new ArrayList<Product>();
Session session = HibernateUtil.getSessionFactory().openSession();
try {
ProductDAO spDAO = new ProductDAOImpl();
List<Product> sps = spDAO.getListProduct();
String hql = "";
Query query = null;
int[] listFrequence = new int[sps.size()];
for (int i = 0; i < sps.size(); i++) {
hql = " SELECT ls.count FROM Billdetail ls WHERE ls.product=:idProduct";