package com.iailab.module.mcs.dao;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.iailab.framework.common.dao.BaseDao;
|
import com.iailab.module.mcs.dto.StModelRunlogDTO;
|
import com.iailab.module.mcs.entity.StModelRunlogEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.Date;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 运行日志表
|
*
|
* @author lirm ${email}
|
* @since 1.0.0 2023-06-21
|
*/
|
@Mapper
|
public interface StModelRunlogDao extends BaseDao<StModelRunlogEntity> {
|
|
List<StModelRunlogDTO> getLastFxLog();
|
|
List<StModelRunlogDTO> getLastJyLog();
|
|
List<StModelRunlogDTO> getLastLog(Map<String, Object> params);
|
|
void cleanRunlogTask(Map<String, Date> tMap);
|
|
IPage<StModelRunlogEntity> queryList(IPage<StModelRunlogEntity> page, @Param("params") Map<String, Object> params);
|
|
List<StModelRunlogDTO> listAll(Map<String, Object> params);
|
|
// @DataSource("slave1")
|
void migrationModelRunlog(List<StModelRunlogEntity> list);
|
}
|