package com.xhpc.card.mapper;

import com.xhpc.card.domain.CardClientUser;
import com.xhpc.common.core.web.domain.AjaxResult;
import com.xhpc.common.domain.XhpcRateModel;
import org.apache.ibatis.annotations.Param;

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

/**
 * @author yuyang
 * @date 2022/3/21 9:59
 */
public interface IXhpcCardClientUserMapper {

    List<Map<String, Object>> selectXhpcCardClientUserList(@Param("userName") String userName, @Param("usersLevel")Integer usersLevel, @Param("operatorId")Long operatorId,@Param("tenantId") String tenantId,@Param("status")Integer status,@Param("logOperatorId")Long logOperatorId);


    /**
     * 添加费率模型
     */
    int insertXhpcCardClientUser(CardClientUser cardClientUser);

    /**
     * 添加费率模型
     */
    int updateXhpcCardClientUser(CardClientUser cardClientUser);

    /**
     * 获取运营商接口
     * @param tenantId
     * @return
     */
    List<Map<String, Object>> getoperatorList(String tenantId);

    /**
     * 列表
     * @param usersID   用户Id
     * @return
     */
    Map<String, Object> getXhpcCardClientUserById(@Param("type")Integer type,@Param("usersID") Integer usersID,@Param("usersName")String usersName);

}
