package com.ruoyi.web.modules.pay.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.pay.domain.BizShopWechatPay;
import com.ruoyi.web.modules.pay.dto.ShopWechatPayPlatformQuery;
import com.ruoyi.web.modules.pay.vo.ShopWechatPayPlatformVO;

public interface BizShopWechatPayMapper
{
    BizShopWechatPay selectByShopId(@Param("shopId") Long shopId);

    BizShopWechatPay selectById(@Param("id") Long id);

    List<ShopWechatPayPlatformVO> selectPlatformList(ShopWechatPayPlatformQuery query);

    ShopWechatPayPlatformVO selectPlatformById(@Param("id") Long id);

    int countByApplyStatus(@Param("applyStatus") String applyStatus);

    int insert(BizShopWechatPay row);

    int updateByShopId(BizShopWechatPay row);

    int updateAuditStatus(BizShopWechatPay row);
}
