package com.jeequan.jeepay.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jeequan.jeepay.db.entity.MchDivisionReceiver;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 商户分账接收者账号绑定关系表 Mapper 接口
 * </p>
 *
 * @author [mybatis plus generator]
 * @since 2021-08-19
 */
public interface MchDivisionReceiverMapper extends BaseMapper<MchDivisionReceiver> {

    /** 查询： 商户应用下 是否包含可自动分账用户。 **/
    Long countByAutoDivisionFlag(@Param("mchNo") String mchNo, @Param("appId") String appId, @Param("ifCode") String ifCode);

}
