package com.ga.core.mapper.settle;

import com.ga.core.vo.settle.BatchJobLogVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BatchJobLogMapper {
    int insert(BatchJobLogVO vo);
    int update(BatchJobLogVO vo);
    BatchJobLogVO selectById(@Param("jobId") Long jobId);
    BatchJobLogVO selectLatest(@Param("jobName") String jobName);
    List<BatchJobLogVO> selectList(@Param("jobName") String jobName,
                                   @Param("settleMonth") String settleMonth);
    int isRunning(@Param("jobName") String jobName);
}
