package com.ssj.service.sys.fx.service.impl;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Service;

import com.ssj.bean.sys.fx.domain.MerchantSignOrder;
import com.ssj.dao.sys.fx.dao.FxQueryDao;
import com.ssj.dao.sys.fx.dao.MerchantSignOrderDao;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.sys.fx.service.MerchantSignOrderService;


@Service
public class MerchantSignOrderServiceImpl extends BaseServiceImpl<MerchantSignOrder, String> implements MerchantSignOrderService {

	private Logger logger = LoggerFactory.getLogger(this.getClass());
	
	@Autowired
	private MerchantSignOrderDao dao;
	
    @Autowired
    private FxQueryDao queryDao;
	
    @Override
    public PagingAndSortingRepository<MerchantSignOrder, String> getDao() {
        return dao;
    }

	@Override
	public Page<Map<String, Object>> findMerchantSignOrderByPage(Map<String, Object> params, Pageable initPage) {
		return queryDao.findMerchantSignOrderByPage(params, initPage);
	}

	@Override
	public List<MerchantSignOrder> findMerchantSignAll(String merchantId) {
		return dao.findMerchantSignAll(merchantId);
	}

    

}


