package com.xingxi.web.controller.business.MerchantWxpay.service.impl;

import com.xingxi.web.controller.business.MerchantWxpay.domain.MerchantWxpayVo;
import com.xingxi.web.controller.business.MerchantWxpay.mapper.MerchantWxpayVoMapper;
import com.xingxi.web.controller.business.MerchantWxpay.service.IMerchantWxpayVoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 店铺微信支付信息Service业务层处理
 *
 * @author xingxi
 * @date 2025-03-06
 */
@Service
public class MerchantWxpayVoServiceImpl implements IMerchantWxpayVoService {
    @Resource
    private MerchantWxpayVoMapper merchantWxpayVoMapper;

    /**
     * 查询店铺微信支付信息
     *
     * @param mercId 商户ID
     * @return 店铺微信支付信息
     */
    @Override
    public MerchantWxpayVo selectMerchantWxpayVoByMercId(Long mercId) {
        return merchantWxpayVoMapper.selectMerchantWxpayVoByMercId(mercId);
    }
}
