package com.friday.custody.service.basicService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.friday.custody.entity.PullDataFailureLogEntity;
import com.friday.custody.utils.R;

import java.util.Map;

/**
 * 
 *
 * @author lyb
 * @email k0051582@gmail.com
 * @date 2022-01-13 17:45:19
 */
public interface PullDataFailureLogService extends IService<PullDataFailureLogEntity> {

    /**
     * 保存拉取失败日志
     * @param admin
     * @param prdtInfoMap
     * @return
     */
    boolean saveErrorData(String admin, Map<String, Object> prdtInfoMap);

    R tranferAndSaveDataBatch(PullDataFailureLogEntity pullDataFailureLog);

}

