package org.dromara.payment.worker.mapper;


import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.payment.worker.domain.UserWorker;
import org.dromara.payment.worker.domain.vo.UserWorkerVo;

import java.util.List;

/**
 * 自雇者Mapper接口
 *
 * @author LionLi
 * @date 2024-04-08
 */
public interface UserWorkerMapper extends BaseMapperPlus<UserWorker, UserWorkerVo> {
    /**
     * 根据身份证号查询自雇者信息
     * @param cardIds 身份证号列表
     * @param passage 结算通道
     * @param sydId 签约服务商id
     * @param merId 签约商户id
     * @return
     */
    List<UserWorkerVo> selectByCardId(@Param("cardIds") List<String> cardIds, @Param("passage") String passage,@Param("sydId") Long sydId,
                                      @Param("merId") Long merId,@Param("busType")Integer busType);
}
