package org.jeecg.modules.demo.linkwechatbankcarddetection.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.demo.linkwechatbankcarddetection.entity.LinkWechatBankCardDetection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 微信银行卡号检测
 * @Author: jeecg-boot
 * @Date:   2023-07-03
 * @Version: V1.0
 */
@Mapper
public interface LinkWechatBankCardDetectionMapper extends BaseMapper<LinkWechatBankCardDetection> {

    @Select("select sum(error_count) from link_wechat_bank_card_detection where is_ignore = 2 and is_revise = 1 and msg_biz = #{msgBiz} limit 1")
    Integer getSumStatistics(String msgBiz);
}
