package cn.pluss.platform.home.impl;

import cn.pluss.platform.entity.Fans;
import cn.pluss.platform.entity.MerchantOrder;
import cn.pluss.platform.home.HomeService;
import cn.pluss.platform.mapper.HomeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

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

@Service
public class HomeServiceImpl implements HomeService {

    @Autowired
    private HomeMapper homeMapper;
    @Override
    public Integer queryMerchantBaseInfoPageCount(Map map){
        return homeMapper.queryMerchantBaseInfoPageCount(map);
    }
    @Override
    public Integer queryMerchantFansCount(Map map) {
        return homeMapper.queryMerchantFansCount(map);
    }
    @Override
    public Integer queryTodayFanCount(Map<String, Object> fansMap) {
        // TODO Auto-generated method stub
        return homeMapper.queryTodayFanCount(fansMap);
    }
    @Override
    public Double getOrderFeeSum1(Map<String, Object> orderMap) {
        return homeMapper.getOrderFeeSum1(orderMap);
    }
    @Override
    public Integer queryMerchantOrderPageCount(Map map) {
        return homeMapper.queryMerchantOrderPageCount(map);
    }
    @Override
    public Integer manageQueryMerchantMenberPageCount(Map map) {
        return homeMapper.manageQueryMerchantMenberPageCount(map);
    }
    @Override
    public Double manageMerchantMenberSum(Map<String, Object> newMemberMap) {
        return homeMapper.manageMerchantMenberSum(newMemberMap);
    }
    @Override
    public List<Fans> queryFansList(Fans fans) {
        return homeMapper.queryFansList(fans);
    }
    @Override
    public Double getToDayTransSum1(Map<String, Object> orderMap) {
        return homeMapper.getToDayTransSum1(orderMap);
    }
    @Override
    public Double toDayTransZfbSum(Map<String, Object> orderMap) {
        return homeMapper.toDayTransZfbSum(orderMap);
    }
    @Override
    public Double toDayTransWxSum(Map<String, Object> orderMap) {
        return homeMapper.toDayTransWxSum(orderMap);
    }
    @Override
    public Double toDayTransYsfSum(Map<String, Object> orderMap) {
        return homeMapper.toDayTransYsfSum(orderMap);
    }
    @Override
    public Integer toDayTransZfbCount(Map<String, Object> orderMap) {
        return homeMapper.toDayTransZfbCount(orderMap);
    }
    @Override
    public Integer toDayTransWxCount(Map<String, Object> orderMap) {
        return homeMapper.toDayTransWxCount(orderMap);
    }
    @Override
    public Integer toDayTransYsfCount(Map<String, Object> orderMap) {
        return homeMapper.toDayTransYsfCount(orderMap);
    }
    @Override
    public List<MerchantOrder> queryMerchantOrderPage(Map map) {
        return homeMapper.queryMerchantOrderPage(map);
    }
    @Override
    public Double queryFansTodayCount(Fans fans) {
        return homeMapper.queryFansTodayCount(fans);
    }
    @Override
    public Integer queryMerchantMenberPageCount(Map map) {
        return homeMapper.queryMerchantMenberPageCount(map);
    }
    @Override
    public Double queryMerchantProfitSumPrice(Map<String, Object> merchantCodeMap) {
        return homeMapper.queryMerchantProfitSumPrice(merchantCodeMap);
    }
    @Override
    public Integer queryUserAppPageCount(Map<String, Object> appMap) {
        return homeMapper.queryUserAppPageCount(appMap);
    }
    @Override
    public Integer queryMerchantCount(Map<String, Object> merchantMap) {
        return homeMapper.queryMerchantCount(merchantMap);
    }
}
