package com.goafanti.order.service.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.goafanti.common.dao.TOrderRefundMapper;
import com.goafanti.core.mybatis.BaseMybatisDao;
import com.goafanti.core.mybatis.page.Pagination;
import com.goafanti.order.bo.OrderRefundBo;
import com.goafanti.order.service.OrderRefundService;

@Service
public class OrderRefundServiceImpl extends BaseMybatisDao<TOrderRefundMapper> implements OrderRefundService {
	



	@SuppressWarnings("unchecked")
	@Override
	public Pagination<OrderRefundBo> getRefundList(OrderRefundBo refund,
			Integer pageNo, Integer pageSize) {
		Map<String, Object> params = new HashMap<String, Object>();
		params.put("r", refund);
		Pagination<OrderRefundBo> data = (Pagination<OrderRefundBo>)findPage("getRefundList", "getRefundCount", params, pageNo, pageSize);
		return data;
	}
	

	
}
