package com.xhpc.general.mapper;

import com.xhpc.general.domain.EtTokenEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * program: ruoyi
 * User: HongYun
 * Date:2021-09-10 14
 */
public interface XhpcEtTokenMapper {


    List<EtTokenEntity> selectBy(@Param(value = "operatorId") String operatorId,@Param(value = "operatorId3irdpty") String operatorId3irdpty);

    int deleteBy(@Param(value = "id") Integer id);

    int checkExistsBy(@Param(value = "operatorId") String operatorId,@Param(value = "operatorId3irdpty") String operatorId3irdpty,@Param(value = "secretTokenType") String secretTokenType);

    int insertBy(@Param(value = "operatorId") String operatorId,@Param(value = "operatorId3irdpty") String operatorId3irdpty,@Param(value = "secretTokenType") String secretTokenType,
                 @Param(value = "dataSecret") String dataSecret,@Param(value = "dataSecretiv") String dataSecretiv,@Param(value ="operatorSecret" ) String operatorSecret,
                 @Param(value = "sigSecret") String sigSecret,@Param(value = "encrypt") Boolean encrypt,@Param(value = "urlPrefix") String urlPrefix);
}
