package com.winsun.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.winsun.bean.QueryBys;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

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

@Mapper
@Component
public interface QueryBysMapper extends BaseMapper<QueryBys> {

    @Select("select *  from `hhr_xyzx_yd_yrym_list` where  acc_nbr = #{idCard} or social_id=#{idCard}")
    List<Map<String,Object>> checkIsStockByStr(String idCard);
}
