houzhongjian
2024-07-23 a6de490948278991e47952e90671ddba4555e9a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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);
}