package com.xhpc.card.service;

import com.xhpc.card.domain.CardClientUser;
import com.xhpc.common.api.dto.XhpcChargingStationDto;
import com.xhpc.common.core.web.domain.AjaxResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @author yuyang
 * @date 2022/3/21 9:45
 */
public interface IXhpcCardClientUserService {


    /**
     * 列表
     * @param userName   用户名称
     * @param usersLevel 用户级别
     * @param operatorId 运营商id
     * @param tenantId   租户id
     * @return
     */
    List<Map<String, Object>> selectXhpcCardClientUserList(String userName, Integer usersLevel,Long operatorId,String tenantId);

    /**
     * 添加
     * @param cardClientUser
     * @return
     */
    AjaxResult addOrUpdateXhpcCardClientUser(CardClientUser cardClientUser);

    /**
     * 获取运营商接口
     * @param tenantId   租户id
     * @return
     */
    AjaxResult getoperatorList(String tenantId);

    /**
     * 详情
     * @param usersID   用户Id
     * @return
     */
    Map<String, Object> getXhpcCardClientUserById(Integer usersID);

    /**
     * 获取运营商接口
     * @return
     */
    AjaxResult getXhpcCardClientUserStatus(Integer usersID,Integer status);
}
