public List<SpecialDiscount> getSpecialDiscount(String name, String type, String loginName) { return specialDiscountDao.getSpecialDiscount(name, type, loginName); }
public void add(SpecialDiscount specialDiscount) { specialDiscountDao.save(specialDiscount); }
public void update(SpecialDiscount specialDiscount, int normalId) { specialDiscountDao.update(specialDiscount, normalId); }
public int getCount() { int count = specialDiscountDao.getCount(); return count; }
public List<SpecialDiscount> getSpecialDiscounts() { return specialDiscountDao.getSpecialDiscounts(); }
public List<SpecialDiscount> getSpecialDiscountsByPage(int pageSize, int pageNow) { return specialDiscountDao.queryByPage(pageSize, pageNow); }