package com.clx.performance.dao;


import com.clx.performance.mapper.ThirdPartRequestLogMapper;
import com.clx.performance.model.ThirdPartRequestLog;
import com.msl.common.dao.BaseDao;

import java.util.List;

public interface ThirdPartRequestLogDao extends BaseDao<ThirdPartRequestLogMapper, ThirdPartRequestLog, Integer> {

    /**
     * 查询发送请求失败的数据
     *
     * @param time
     * @return
     */
    List<ThirdPartRequestLog> listThirdPartRequestLogError(String time);

    /**
     * 修改重试次数
     *
     * @param logId
     * @param retryTimes
     */
    void updateLogRetryTimes(Integer logId, Integer retryTimes);
}
