cloudroam
2025-03-13 d2f062b46a96a2083864d529aff28628eea26b58
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
38
39
40
41
package com.jsh.erp.datasource.mappers;
 
import com.jsh.erp.datasource.entities.Log;
import com.jsh.erp.datasource.entities.LogExample;
import com.jsh.erp.datasource.vo.LogVo4List;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface LogMapperEx {
 
    List<LogVo4List> selectByConditionLog(
            @Param("operation") String operation,
            @Param("userInfo") String userInfo,
            @Param("clientIp") String clientIp,
            @Param("tenantLoginName") String tenantLoginName,
            @Param("tenantType") String tenantType,
            @Param("beginTime") String beginTime,
            @Param("endTime") String endTime,
            @Param("content") String content,
            @Param("offset") Integer offset,
            @Param("rows") Integer rows);
 
    Long countsByLog(
            @Param("operation") String operation,
            @Param("userInfo") String userInfo,
            @Param("clientIp") String clientIp,
            @Param("tenantLoginName") String tenantLoginName,
            @Param("tenantType") String tenantType,
            @Param("beginTime") String beginTime,
            @Param("endTime") String endTime,
            @Param("content") String content);
 
    Long getCountByIpAndDate(
            @Param("userId") Long userId,
            @Param("moduleName") String moduleName,
            @Param("clientIp") String clientIp,
            @Param("createTime") String createTime);
 
    int insertLogWithUserId(Log log);
}