All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.shoulder.batch.repository.BatchRecordDetailPersistentService Maven / Gradle / Ivy

package org.shoulder.batch.repository;

import org.shoulder.batch.enums.ProcessStatusEnum;
import org.shoulder.batch.model.BatchRecordDetail;

import java.util.List;

/**
 * 批处理记录持久化接口
 *
 * @author lym
 */
public interface BatchRecordDetailPersistentService {

    /**
     * 批量新增处理详情
     *
     * @param batchRecordDetailList 要插入的记录
     */
    void batchSave(String recordId, List batchRecordDetailList);

    /**
     * 查询所有的批量处理记录
     *
     * @param recordId   记录标识
     * @param resultList 结果状态
     * @return 所有的批量处理记录
     */
    List findAllByResult(String recordId, List resultList);

    /**
     * 查询所有的批量处理记录
     *
     * @param recordId   记录标识
     * @return 所有的批量处理记录
     */
    List findAllByResult(String recordId);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy