public PurchaseRecordBean insert(PurchaseRecordBean bean) { return (PurchaseRecordBean) dao.insert(bean); }
public List<Map<String, Object>> selectByProductId(String productId) { return this.jfomat(dao.selectByProductId(productId)); }
public List<Map<String, Object>> selectByDate(String date) { return this.jfomat(dao.selectByDate(date)); }
public List<Map<String, Object>> selectByType(String type) { return this.jfomat(dao.selectByType(type)); }
public List<Map<String, Object>> select() { return this.jfomat(dao.select()); }