hanqingsong 1 год назад
Родитель
Сommit
44addb94fd

+ 46 - 6
src/main/java/com/chinaitop/depot/LogRecodeFilter.java

@@ -1,25 +1,25 @@
1 1
 package com.chinaitop.depot;
2 2
 
3
-import java.util.Date;
4
-import java.util.List;
5
-import java.util.Map;
6
-import java.util.Set;
3
+import java.util.*;
7 4
 
8 5
 import javax.annotation.Resource;
9 6
 import javax.servlet.http.HttpServletRequest;
10 7
 
8
+import com.alibaba.fastjson.JSON;
9
+import com.chinaitop.depot.system.mapper.UserOperationPageLogMapper;
10
+import com.chinaitop.depot.system.mapper.UserOperationPageSetMapper;
11
+import com.chinaitop.depot.system.model.*;
11 12
 import org.apache.commons.lang.ObjectUtils;
12 13
 import org.slf4j.Logger;
13 14
 import org.slf4j.LoggerFactory;
14 15
 import org.springframework.stereotype.Component;
15 16
 
16
-import com.chinaitop.depot.system.model.UserOperationlog;
17
-import com.chinaitop.depot.system.model.UserOperationtype;
18 17
 import com.chinaitop.depot.system.service.UserOperationlogService;
19 18
 import com.chinaitop.depot.system.service.UserOperationtypeService;
20 19
 import com.netflix.zuul.ZuulFilter;
21 20
 import com.netflix.zuul.context.RequestContext;
22 21
 import com.netflix.zuul.exception.ZuulException;
22
+import org.springframework.transaction.annotation.Transactional;
23 23
 
24 24
 /**
25 25
  * Create by hf on 2018/11
@@ -35,6 +35,10 @@ public class LogRecodeFilter extends ZuulFilter {
35 35
 	
36 36
 	@Resource
37 37
 	private UserOperationlogService userOperationlogService;
38
+	@Resource
39
+	private UserOperationPageSetMapper userOperationPageSetMapper;
40
+	@Resource
41
+    private UserOperationPageLogMapper userOperationPageLogMapper;
38 42
 
39 43
 	@Override
40 44
 	public Object run() throws ZuulException {
@@ -69,6 +73,9 @@ public class LogRecodeFilter extends ZuulFilter {
69 73
             	}
70 74
             }
71 75
             //getIpAddr(request);
76
+
77
+			// 功能操作日志
78
+			this.savePageLog(request);
72 79
         } catch (Exception e) {
73 80
             logger.error("LogRecode IO异常", e);
74 81
         }
@@ -90,6 +97,38 @@ public class LogRecodeFilter extends ZuulFilter {
90 97
 	public String filterType() {
91 98
 		return "post";//代表会在请求被路由之后执行
92 99
 	}
100
+
101
+	/**
102
+	 * 列表操作日志
103
+	 */
104
+	@Transactional(rollbackFor = Exception.class)
105
+	public void savePageLog(HttpServletRequest request) {
106
+		// 获取接口方法
107
+		String interfaceMethod = request.getServletPath();
108
+		// 查询数据库获取接口方法-页面名称
109
+        UserOperationPageSet url = userOperationPageSetMapper.selectByPrimaryKey(interfaceMethod);
110
+        if (!org.springframework.util.ObjectUtils.isEmpty(url)) {
111
+            UserOperationPageLog pageLog = new UserOperationPageLog();
112
+            // 36位uuid
113
+            pageLog.setId(UUID.randomUUID().toString());
114
+
115
+            // url 获取页面名称
116
+            String viewName = url.getViewName();
117
+            pageLog.setViewName(viewName);
118
+            // 访问用户名称
119
+            String userInfo = request.getSession().getAttribute("userInfo").toString();
120
+            String realName = JSON.parseObject(userInfo, UserInfoLog.class).getRealName();
121
+            pageLog.setRealName(realName);
122
+            // 用户设备IP
123
+            String ip = getIpAddr(request);
124
+            pageLog.setUserIp(ip);
125
+            // 访问页面时间
126
+            pageLog.setVisitPageTime(new Date());
127
+
128
+            // 记录一条信息
129
+            userOperationPageLogMapper.insert(pageLog);
130
+        }
131
+	}
93 132
 	
94 133
 	/**
95 134
 	 * 获取IP地址
@@ -97,6 +136,7 @@ public class LogRecodeFilter extends ZuulFilter {
97 136
 	 * 使用Nginx等反向代理软件, 则不能通过request.getRemoteAddr()获取IP地址
98 137
 	 * 如果使用了多级反向代理的话,X-Forwarded-For的值并不止一个,而是一串IP地址,X-Forwarded-For中第一个非unknown的有效IP字符串,则为真实IP地址
99 138
 	 */
139
+	@SuppressWarnings("all")
100 140
 	public static String getIpAddr(HttpServletRequest request) {
101 141
 
102 142
 		String ip = request.getHeader("x-forwarded-for");

+ 22 - 0
src/main/java/com/chinaitop/depot/system/mapper/UserOperationPageLogMapper.java

@@ -0,0 +1,22 @@
1
+package com.chinaitop.depot.system.mapper;
2
+
3
+import com.chinaitop.depot.system.model.UserOperationPageLog;
4
+import com.chinaitop.depot.system.model.UserOperationPageLogExample;
5
+import java.util.List;
6
+import org.apache.ibatis.annotations.Param;
7
+
8
+public interface UserOperationPageLogMapper {
9
+    int countByExample(UserOperationPageLogExample example);
10
+
11
+    int deleteByExample(UserOperationPageLogExample example);
12
+
13
+    int insert(UserOperationPageLog record);
14
+
15
+    int insertSelective(UserOperationPageLog record);
16
+
17
+    List<UserOperationPageLog> selectByExample(UserOperationPageLogExample example);
18
+
19
+    int updateByExampleSelective(@Param("record") UserOperationPageLog record, @Param("example") UserOperationPageLogExample example);
20
+
21
+    int updateByExample(@Param("record") UserOperationPageLog record, @Param("example") UserOperationPageLogExample example);
22
+}

+ 175 - 0
src/main/java/com/chinaitop/depot/system/mapper/UserOperationPageLogMapper.xml

@@ -0,0 +1,175 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3
+<mapper namespace="com.chinaitop.depot.system.mapper.UserOperationPageLogMapper" >
4
+  <resultMap id="BaseResultMap" type="com.chinaitop.depot.system.model.UserOperationPageLog" >
5
+    <result column="id" property="id" jdbcType="VARCHAR" />
6
+    <result column="view_name" property="viewName" jdbcType="VARCHAR" />
7
+    <result column="real_name" property="realName" jdbcType="VARCHAR" />
8
+    <result column="user_ip" property="userIp" jdbcType="VARCHAR" />
9
+    <result column="visit_page_time" property="visitPageTime" jdbcType="TIMESTAMP" />
10
+  </resultMap>
11
+  <sql id="Example_Where_Clause" >
12
+    <where >
13
+      <foreach collection="oredCriteria" item="criteria" separator="or" >
14
+        <if test="criteria.valid" >
15
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
16
+            <foreach collection="criteria.criteria" item="criterion" >
17
+              <choose >
18
+                <when test="criterion.noValue" >
19
+                  and ${criterion.condition}
20
+                </when>
21
+                <when test="criterion.singleValue" >
22
+                  and ${criterion.condition} #{criterion.value}
23
+                </when>
24
+                <when test="criterion.betweenValue" >
25
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
26
+                </when>
27
+                <when test="criterion.listValue" >
28
+                  and ${criterion.condition}
29
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
30
+                    #{listItem}
31
+                  </foreach>
32
+                </when>
33
+              </choose>
34
+            </foreach>
35
+          </trim>
36
+        </if>
37
+      </foreach>
38
+    </where>
39
+  </sql>
40
+  <sql id="Update_By_Example_Where_Clause" >
41
+    <where >
42
+      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
43
+        <if test="criteria.valid" >
44
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
45
+            <foreach collection="criteria.criteria" item="criterion" >
46
+              <choose >
47
+                <when test="criterion.noValue" >
48
+                  and ${criterion.condition}
49
+                </when>
50
+                <when test="criterion.singleValue" >
51
+                  and ${criterion.condition} #{criterion.value}
52
+                </when>
53
+                <when test="criterion.betweenValue" >
54
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
55
+                </when>
56
+                <when test="criterion.listValue" >
57
+                  and ${criterion.condition}
58
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
59
+                    #{listItem}
60
+                  </foreach>
61
+                </when>
62
+              </choose>
63
+            </foreach>
64
+          </trim>
65
+        </if>
66
+      </foreach>
67
+    </where>
68
+  </sql>
69
+  <sql id="Base_Column_List" >
70
+    id, view_name, real_name, user_ip, visit_page_time
71
+  </sql>
72
+  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.system.model.UserOperationPageLogExample" >
73
+    select
74
+    <if test="distinct" >
75
+      distinct
76
+    </if>
77
+    <include refid="Base_Column_List" />
78
+    from user_operation_page_log
79
+    <if test="_parameter != null" >
80
+      <include refid="Example_Where_Clause" />
81
+    </if>
82
+    <if test="orderByClause != null" >
83
+      order by ${orderByClause}
84
+    </if>
85
+  </select>
86
+  <delete id="deleteByExample" parameterType="com.chinaitop.depot.system.model.UserOperationPageLogExample" >
87
+    delete from user_operation_page_log
88
+    <if test="_parameter != null" >
89
+      <include refid="Example_Where_Clause" />
90
+    </if>
91
+  </delete>
92
+  <insert id="insert" parameterType="com.chinaitop.depot.system.model.UserOperationPageLog" >
93
+    insert into user_operation_page_log (id, view_name, real_name, 
94
+      user_ip, visit_page_time)
95
+    values (#{id,jdbcType=VARCHAR}, #{viewName,jdbcType=VARCHAR}, #{realName,jdbcType=VARCHAR}, 
96
+      #{userIp,jdbcType=VARCHAR}, #{visitPageTime,jdbcType=TIMESTAMP})
97
+  </insert>
98
+  <insert id="insertSelective" parameterType="com.chinaitop.depot.system.model.UserOperationPageLog" >
99
+    insert into user_operation_page_log
100
+    <trim prefix="(" suffix=")" suffixOverrides="," >
101
+      <if test="id != null" >
102
+        id,
103
+      </if>
104
+      <if test="viewName != null" >
105
+        view_name,
106
+      </if>
107
+      <if test="realName != null" >
108
+        real_name,
109
+      </if>
110
+      <if test="userIp != null" >
111
+        user_ip,
112
+      </if>
113
+      <if test="visitPageTime != null" >
114
+        visit_page_time,
115
+      </if>
116
+    </trim>
117
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
118
+      <if test="id != null" >
119
+        #{id,jdbcType=VARCHAR},
120
+      </if>
121
+      <if test="viewName != null" >
122
+        #{viewName,jdbcType=VARCHAR},
123
+      </if>
124
+      <if test="realName != null" >
125
+        #{realName,jdbcType=VARCHAR},
126
+      </if>
127
+      <if test="userIp != null" >
128
+        #{userIp,jdbcType=VARCHAR},
129
+      </if>
130
+      <if test="visitPageTime != null" >
131
+        #{visitPageTime,jdbcType=TIMESTAMP},
132
+      </if>
133
+    </trim>
134
+  </insert>
135
+  <select id="countByExample" parameterType="com.chinaitop.depot.system.model.UserOperationPageLogExample" resultType="java.lang.Integer" >
136
+    select count(*) from user_operation_page_log
137
+    <if test="_parameter != null" >
138
+      <include refid="Example_Where_Clause" />
139
+    </if>
140
+  </select>
141
+  <update id="updateByExampleSelective" parameterType="map" >
142
+    update user_operation_page_log
143
+    <set >
144
+      <if test="record.id != null" >
145
+        id = #{record.id,jdbcType=VARCHAR},
146
+      </if>
147
+      <if test="record.viewName != null" >
148
+        view_name = #{record.viewName,jdbcType=VARCHAR},
149
+      </if>
150
+      <if test="record.realName != null" >
151
+        real_name = #{record.realName,jdbcType=VARCHAR},
152
+      </if>
153
+      <if test="record.userIp != null" >
154
+        user_ip = #{record.userIp,jdbcType=VARCHAR},
155
+      </if>
156
+      <if test="record.visitPageTime != null" >
157
+        visit_page_time = #{record.visitPageTime,jdbcType=TIMESTAMP},
158
+      </if>
159
+    </set>
160
+    <if test="_parameter != null" >
161
+      <include refid="Update_By_Example_Where_Clause" />
162
+    </if>
163
+  </update>
164
+  <update id="updateByExample" parameterType="map" >
165
+    update user_operation_page_log
166
+    set id = #{record.id,jdbcType=VARCHAR},
167
+      view_name = #{record.viewName,jdbcType=VARCHAR},
168
+      real_name = #{record.realName,jdbcType=VARCHAR},
169
+      user_ip = #{record.userIp,jdbcType=VARCHAR},
170
+      visit_page_time = #{record.visitPageTime,jdbcType=TIMESTAMP}
171
+    <if test="_parameter != null" >
172
+      <include refid="Update_By_Example_Where_Clause" />
173
+    </if>
174
+  </update>
175
+</mapper>

+ 30 - 0
src/main/java/com/chinaitop/depot/system/mapper/UserOperationPageSetMapper.java

@@ -0,0 +1,30 @@
1
+package com.chinaitop.depot.system.mapper;
2
+
3
+import com.chinaitop.depot.system.model.UserOperationPageSet;
4
+import com.chinaitop.depot.system.model.UserOperationPageSetExample;
5
+import java.util.List;
6
+import org.apache.ibatis.annotations.Param;
7
+
8
+public interface UserOperationPageSetMapper {
9
+    int countByExample(UserOperationPageSetExample example);
10
+
11
+    int deleteByExample(UserOperationPageSetExample example);
12
+
13
+    int deleteByPrimaryKey(String operationUrl);
14
+
15
+    int insert(UserOperationPageSet record);
16
+
17
+    int insertSelective(UserOperationPageSet record);
18
+
19
+    List<UserOperationPageSet> selectByExample(UserOperationPageSetExample example);
20
+
21
+    UserOperationPageSet selectByPrimaryKey(String operationUrl);
22
+
23
+    int updateByExampleSelective(@Param("record") UserOperationPageSet record, @Param("example") UserOperationPageSetExample example);
24
+
25
+    int updateByExample(@Param("record") UserOperationPageSet record, @Param("example") UserOperationPageSetExample example);
26
+
27
+    int updateByPrimaryKeySelective(UserOperationPageSet record);
28
+
29
+    int updateByPrimaryKey(UserOperationPageSet record);
30
+}

+ 164 - 0
src/main/java/com/chinaitop/depot/system/mapper/UserOperationPageSetMapper.xml

@@ -0,0 +1,164 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3
+<mapper namespace="com.chinaitop.depot.system.mapper.UserOperationPageSetMapper" >
4
+  <resultMap id="BaseResultMap" type="com.chinaitop.depot.system.model.UserOperationPageSet" >
5
+    <id column="operation_url" property="operationUrl" jdbcType="VARCHAR" />
6
+    <result column="view_name" property="viewName" jdbcType="VARCHAR" />
7
+  </resultMap>
8
+  <sql id="Example_Where_Clause" >
9
+    <where >
10
+      <foreach collection="oredCriteria" item="criteria" separator="or" >
11
+        <if test="criteria.valid" >
12
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
13
+            <foreach collection="criteria.criteria" item="criterion" >
14
+              <choose >
15
+                <when test="criterion.noValue" >
16
+                  and ${criterion.condition}
17
+                </when>
18
+                <when test="criterion.singleValue" >
19
+                  and ${criterion.condition} #{criterion.value}
20
+                </when>
21
+                <when test="criterion.betweenValue" >
22
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
23
+                </when>
24
+                <when test="criterion.listValue" >
25
+                  and ${criterion.condition}
26
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
27
+                    #{listItem}
28
+                  </foreach>
29
+                </when>
30
+              </choose>
31
+            </foreach>
32
+          </trim>
33
+        </if>
34
+      </foreach>
35
+    </where>
36
+  </sql>
37
+  <sql id="Update_By_Example_Where_Clause" >
38
+    <where >
39
+      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
40
+        <if test="criteria.valid" >
41
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
42
+            <foreach collection="criteria.criteria" item="criterion" >
43
+              <choose >
44
+                <when test="criterion.noValue" >
45
+                  and ${criterion.condition}
46
+                </when>
47
+                <when test="criterion.singleValue" >
48
+                  and ${criterion.condition} #{criterion.value}
49
+                </when>
50
+                <when test="criterion.betweenValue" >
51
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
52
+                </when>
53
+                <when test="criterion.listValue" >
54
+                  and ${criterion.condition}
55
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
56
+                    #{listItem}
57
+                  </foreach>
58
+                </when>
59
+              </choose>
60
+            </foreach>
61
+          </trim>
62
+        </if>
63
+      </foreach>
64
+    </where>
65
+  </sql>
66
+  <sql id="Base_Column_List" >
67
+    operation_url, view_name
68
+  </sql>
69
+  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.system.model.UserOperationPageSetExample" >
70
+    select
71
+    <if test="distinct" >
72
+      distinct
73
+    </if>
74
+    <include refid="Base_Column_List" />
75
+    from user_operation_page_set
76
+    <if test="_parameter != null" >
77
+      <include refid="Example_Where_Clause" />
78
+    </if>
79
+    <if test="orderByClause != null" >
80
+      order by ${orderByClause}
81
+    </if>
82
+  </select>
83
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
84
+    select 
85
+    <include refid="Base_Column_List" />
86
+    from user_operation_page_set
87
+    where operation_url = #{operationUrl,jdbcType=VARCHAR}
88
+  </select>
89
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
90
+    delete from user_operation_page_set
91
+    where operation_url = #{operationUrl,jdbcType=VARCHAR}
92
+  </delete>
93
+  <delete id="deleteByExample" parameterType="com.chinaitop.depot.system.model.UserOperationPageSetExample" >
94
+    delete from user_operation_page_set
95
+    <if test="_parameter != null" >
96
+      <include refid="Example_Where_Clause" />
97
+    </if>
98
+  </delete>
99
+  <insert id="insert" parameterType="com.chinaitop.depot.system.model.UserOperationPageSet" >
100
+    insert into user_operation_page_set (operation_url, view_name)
101
+    values (#{operationUrl,jdbcType=VARCHAR}, #{viewName,jdbcType=VARCHAR})
102
+  </insert>
103
+  <insert id="insertSelective" parameterType="com.chinaitop.depot.system.model.UserOperationPageSet" >
104
+    insert into user_operation_page_set
105
+    <trim prefix="(" suffix=")" suffixOverrides="," >
106
+      <if test="operationUrl != null" >
107
+        operation_url,
108
+      </if>
109
+      <if test="viewName != null" >
110
+        view_name,
111
+      </if>
112
+    </trim>
113
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
114
+      <if test="operationUrl != null" >
115
+        #{operationUrl,jdbcType=VARCHAR},
116
+      </if>
117
+      <if test="viewName != null" >
118
+        #{viewName,jdbcType=VARCHAR},
119
+      </if>
120
+    </trim>
121
+  </insert>
122
+  <select id="countByExample" parameterType="com.chinaitop.depot.system.model.UserOperationPageSetExample" resultType="java.lang.Integer" >
123
+    select count(*) from user_operation_page_set
124
+    <if test="_parameter != null" >
125
+      <include refid="Example_Where_Clause" />
126
+    </if>
127
+  </select>
128
+  <update id="updateByExampleSelective" parameterType="map" >
129
+    update user_operation_page_set
130
+    <set >
131
+      <if test="record.operationUrl != null" >
132
+        operation_url = #{record.operationUrl,jdbcType=VARCHAR},
133
+      </if>
134
+      <if test="record.viewName != null" >
135
+        view_name = #{record.viewName,jdbcType=VARCHAR},
136
+      </if>
137
+    </set>
138
+    <if test="_parameter != null" >
139
+      <include refid="Update_By_Example_Where_Clause" />
140
+    </if>
141
+  </update>
142
+  <update id="updateByExample" parameterType="map" >
143
+    update user_operation_page_set
144
+    set operation_url = #{record.operationUrl,jdbcType=VARCHAR},
145
+      view_name = #{record.viewName,jdbcType=VARCHAR}
146
+    <if test="_parameter != null" >
147
+      <include refid="Update_By_Example_Where_Clause" />
148
+    </if>
149
+  </update>
150
+  <update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.system.model.UserOperationPageSet" >
151
+    update user_operation_page_set
152
+    <set >
153
+      <if test="viewName != null" >
154
+        view_name = #{viewName,jdbcType=VARCHAR},
155
+      </if>
156
+    </set>
157
+    where operation_url = #{operationUrl,jdbcType=VARCHAR}
158
+  </update>
159
+  <update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.system.model.UserOperationPageSet" >
160
+    update user_operation_page_set
161
+    set view_name = #{viewName,jdbcType=VARCHAR}
162
+    where operation_url = #{operationUrl,jdbcType=VARCHAR}
163
+  </update>
164
+</mapper>

+ 19 - 0
src/main/java/com/chinaitop/depot/system/model/UserInfoLog.java

@@ -0,0 +1,19 @@
1
+package com.chinaitop.depot.system.model;
2
+
3
+/**
4
+ * @author qingsong.han
5
+ * @description:
6
+ * @create 2024-11-01 17:40
7
+ */
8
+public class UserInfoLog {
9
+
10
+    private String realName;
11
+
12
+    public String getRealName() {
13
+        return realName;
14
+    }
15
+
16
+    public void setRealName(String realName) {
17
+        this.realName = realName;
18
+    }
19
+}

+ 95 - 0
src/main/java/com/chinaitop/depot/system/model/UserOperationPageLog.java

@@ -0,0 +1,95 @@
1
+package com.chinaitop.depot.system.model;
2
+
3
+import java.util.Date;
4
+
5
+public class UserOperationPageLog {
6
+    private String id;
7
+
8
+    private String viewName;
9
+
10
+    private String realName;
11
+
12
+    private String userIp;
13
+
14
+    private Date visitPageTime;
15
+
16
+    /**
17
+     * null
18
+     * @return id null
19
+     */
20
+    public String getId() {
21
+        return id;
22
+    }
23
+
24
+    /**
25
+     * null
26
+     * @param id null
27
+     */
28
+    public void setId(String id) {
29
+        this.id = id == null ? null : id.trim();
30
+    }
31
+
32
+    /**
33
+     * null
34
+     * @return view_name null
35
+     */
36
+    public String getViewName() {
37
+        return viewName;
38
+    }
39
+
40
+    /**
41
+     * null
42
+     * @param viewName null
43
+     */
44
+    public void setViewName(String viewName) {
45
+        this.viewName = viewName == null ? null : viewName.trim();
46
+    }
47
+
48
+    /**
49
+     * null
50
+     * @return real_name null
51
+     */
52
+    public String getRealName() {
53
+        return realName;
54
+    }
55
+
56
+    /**
57
+     * null
58
+     * @param realName null
59
+     */
60
+    public void setRealName(String realName) {
61
+        this.realName = realName == null ? null : realName.trim();
62
+    }
63
+
64
+    /**
65
+     * null
66
+     * @return user_ip null
67
+     */
68
+    public String getUserIp() {
69
+        return userIp;
70
+    }
71
+
72
+    /**
73
+     * null
74
+     * @param userIp null
75
+     */
76
+    public void setUserIp(String userIp) {
77
+        this.userIp = userIp == null ? null : userIp.trim();
78
+    }
79
+
80
+    /**
81
+     * null
82
+     * @return visit_page_time null
83
+     */
84
+    public Date getVisitPageTime() {
85
+        return visitPageTime;
86
+    }
87
+
88
+    /**
89
+     * null
90
+     * @param visitPageTime null
91
+     */
92
+    public void setVisitPageTime(Date visitPageTime) {
93
+        this.visitPageTime = visitPageTime;
94
+    }
95
+}

+ 559 - 0
src/main/java/com/chinaitop/depot/system/model/UserOperationPageLogExample.java

@@ -0,0 +1,559 @@
1
+package com.chinaitop.depot.system.model;
2
+
3
+import java.util.ArrayList;
4
+import java.util.Date;
5
+import java.util.List;
6
+
7
+public class UserOperationPageLogExample {
8
+    /**
9
+     * user_operation_page_log
10
+     */
11
+    protected String orderByClause;
12
+
13
+    /**
14
+     * user_operation_page_log
15
+     */
16
+    protected boolean distinct;
17
+
18
+    /**
19
+     * user_operation_page_log
20
+     */
21
+    protected List<Criteria> oredCriteria;
22
+
23
+    public UserOperationPageLogExample() {
24
+        oredCriteria = new ArrayList<Criteria>();
25
+    }
26
+
27
+    public void setOrderByClause(String orderByClause) {
28
+        this.orderByClause = orderByClause;
29
+    }
30
+
31
+    public String getOrderByClause() {
32
+        return orderByClause;
33
+    }
34
+
35
+    public void setDistinct(boolean distinct) {
36
+        this.distinct = distinct;
37
+    }
38
+
39
+    public boolean isDistinct() {
40
+        return distinct;
41
+    }
42
+
43
+    public List<Criteria> getOredCriteria() {
44
+        return oredCriteria;
45
+    }
46
+
47
+    public void or(Criteria criteria) {
48
+        oredCriteria.add(criteria);
49
+    }
50
+
51
+    public Criteria or() {
52
+        Criteria criteria = createCriteriaInternal();
53
+        oredCriteria.add(criteria);
54
+        return criteria;
55
+    }
56
+
57
+    public Criteria createCriteria() {
58
+        Criteria criteria = createCriteriaInternal();
59
+        if (oredCriteria.size() == 0) {
60
+            oredCriteria.add(criteria);
61
+        }
62
+        return criteria;
63
+    }
64
+
65
+    protected Criteria createCriteriaInternal() {
66
+        Criteria criteria = new Criteria();
67
+        return criteria;
68
+    }
69
+
70
+    public void clear() {
71
+        oredCriteria.clear();
72
+        orderByClause = null;
73
+        distinct = false;
74
+    }
75
+
76
+    /**
77
+     * user_operation_page_log 2024-11-04
78
+     */
79
+    protected abstract static class GeneratedCriteria {
80
+        protected List<Criterion> criteria;
81
+
82
+        protected GeneratedCriteria() {
83
+            super();
84
+            criteria = new ArrayList<Criterion>();
85
+        }
86
+
87
+        public boolean isValid() {
88
+            return criteria.size() > 0;
89
+        }
90
+
91
+        public List<Criterion> getAllCriteria() {
92
+            return criteria;
93
+        }
94
+
95
+        public List<Criterion> getCriteria() {
96
+            return criteria;
97
+        }
98
+
99
+        protected void addCriterion(String condition) {
100
+            if (condition == null) {
101
+                throw new RuntimeException("Value for condition cannot be null");
102
+            }
103
+            criteria.add(new Criterion(condition));
104
+        }
105
+
106
+        protected void addCriterion(String condition, Object value, String property) {
107
+            if (value == null) {
108
+                throw new RuntimeException("Value for " + property + " cannot be null");
109
+            }
110
+            criteria.add(new Criterion(condition, value));
111
+        }
112
+
113
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
114
+            if (value1 == null || value2 == null) {
115
+                throw new RuntimeException("Between values for " + property + " cannot be null");
116
+            }
117
+            criteria.add(new Criterion(condition, value1, value2));
118
+        }
119
+
120
+        public Criteria andIdIsNull() {
121
+            addCriterion("id is null");
122
+            return (Criteria) this;
123
+        }
124
+
125
+        public Criteria andIdIsNotNull() {
126
+            addCriterion("id is not null");
127
+            return (Criteria) this;
128
+        }
129
+
130
+        public Criteria andIdEqualTo(String value) {
131
+            addCriterion("id =", value, "id");
132
+            return (Criteria) this;
133
+        }
134
+
135
+        public Criteria andIdNotEqualTo(String value) {
136
+            addCriterion("id <>", value, "id");
137
+            return (Criteria) this;
138
+        }
139
+
140
+        public Criteria andIdGreaterThan(String value) {
141
+            addCriterion("id >", value, "id");
142
+            return (Criteria) this;
143
+        }
144
+
145
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
146
+            addCriterion("id >=", value, "id");
147
+            return (Criteria) this;
148
+        }
149
+
150
+        public Criteria andIdLessThan(String value) {
151
+            addCriterion("id <", value, "id");
152
+            return (Criteria) this;
153
+        }
154
+
155
+        public Criteria andIdLessThanOrEqualTo(String value) {
156
+            addCriterion("id <=", value, "id");
157
+            return (Criteria) this;
158
+        }
159
+
160
+        public Criteria andIdLike(String value) {
161
+            addCriterion("id like", value, "id");
162
+            return (Criteria) this;
163
+        }
164
+
165
+        public Criteria andIdNotLike(String value) {
166
+            addCriterion("id not like", value, "id");
167
+            return (Criteria) this;
168
+        }
169
+
170
+        public Criteria andIdIn(List<String> values) {
171
+            addCriterion("id in", values, "id");
172
+            return (Criteria) this;
173
+        }
174
+
175
+        public Criteria andIdNotIn(List<String> values) {
176
+            addCriterion("id not in", values, "id");
177
+            return (Criteria) this;
178
+        }
179
+
180
+        public Criteria andIdBetween(String value1, String value2) {
181
+            addCriterion("id between", value1, value2, "id");
182
+            return (Criteria) this;
183
+        }
184
+
185
+        public Criteria andIdNotBetween(String value1, String value2) {
186
+            addCriterion("id not between", value1, value2, "id");
187
+            return (Criteria) this;
188
+        }
189
+
190
+        public Criteria andViewNameIsNull() {
191
+            addCriterion("view_name is null");
192
+            return (Criteria) this;
193
+        }
194
+
195
+        public Criteria andViewNameIsNotNull() {
196
+            addCriterion("view_name is not null");
197
+            return (Criteria) this;
198
+        }
199
+
200
+        public Criteria andViewNameEqualTo(String value) {
201
+            addCriterion("view_name =", value, "viewName");
202
+            return (Criteria) this;
203
+        }
204
+
205
+        public Criteria andViewNameNotEqualTo(String value) {
206
+            addCriterion("view_name <>", value, "viewName");
207
+            return (Criteria) this;
208
+        }
209
+
210
+        public Criteria andViewNameGreaterThan(String value) {
211
+            addCriterion("view_name >", value, "viewName");
212
+            return (Criteria) this;
213
+        }
214
+
215
+        public Criteria andViewNameGreaterThanOrEqualTo(String value) {
216
+            addCriterion("view_name >=", value, "viewName");
217
+            return (Criteria) this;
218
+        }
219
+
220
+        public Criteria andViewNameLessThan(String value) {
221
+            addCriterion("view_name <", value, "viewName");
222
+            return (Criteria) this;
223
+        }
224
+
225
+        public Criteria andViewNameLessThanOrEqualTo(String value) {
226
+            addCriterion("view_name <=", value, "viewName");
227
+            return (Criteria) this;
228
+        }
229
+
230
+        public Criteria andViewNameLike(String value) {
231
+            addCriterion("view_name like", value, "viewName");
232
+            return (Criteria) this;
233
+        }
234
+
235
+        public Criteria andViewNameNotLike(String value) {
236
+            addCriterion("view_name not like", value, "viewName");
237
+            return (Criteria) this;
238
+        }
239
+
240
+        public Criteria andViewNameIn(List<String> values) {
241
+            addCriterion("view_name in", values, "viewName");
242
+            return (Criteria) this;
243
+        }
244
+
245
+        public Criteria andViewNameNotIn(List<String> values) {
246
+            addCriterion("view_name not in", values, "viewName");
247
+            return (Criteria) this;
248
+        }
249
+
250
+        public Criteria andViewNameBetween(String value1, String value2) {
251
+            addCriterion("view_name between", value1, value2, "viewName");
252
+            return (Criteria) this;
253
+        }
254
+
255
+        public Criteria andViewNameNotBetween(String value1, String value2) {
256
+            addCriterion("view_name not between", value1, value2, "viewName");
257
+            return (Criteria) this;
258
+        }
259
+
260
+        public Criteria andRealNameIsNull() {
261
+            addCriterion("real_name is null");
262
+            return (Criteria) this;
263
+        }
264
+
265
+        public Criteria andRealNameIsNotNull() {
266
+            addCriterion("real_name is not null");
267
+            return (Criteria) this;
268
+        }
269
+
270
+        public Criteria andRealNameEqualTo(String value) {
271
+            addCriterion("real_name =", value, "realName");
272
+            return (Criteria) this;
273
+        }
274
+
275
+        public Criteria andRealNameNotEqualTo(String value) {
276
+            addCriterion("real_name <>", value, "realName");
277
+            return (Criteria) this;
278
+        }
279
+
280
+        public Criteria andRealNameGreaterThan(String value) {
281
+            addCriterion("real_name >", value, "realName");
282
+            return (Criteria) this;
283
+        }
284
+
285
+        public Criteria andRealNameGreaterThanOrEqualTo(String value) {
286
+            addCriterion("real_name >=", value, "realName");
287
+            return (Criteria) this;
288
+        }
289
+
290
+        public Criteria andRealNameLessThan(String value) {
291
+            addCriterion("real_name <", value, "realName");
292
+            return (Criteria) this;
293
+        }
294
+
295
+        public Criteria andRealNameLessThanOrEqualTo(String value) {
296
+            addCriterion("real_name <=", value, "realName");
297
+            return (Criteria) this;
298
+        }
299
+
300
+        public Criteria andRealNameLike(String value) {
301
+            addCriterion("real_name like", value, "realName");
302
+            return (Criteria) this;
303
+        }
304
+
305
+        public Criteria andRealNameNotLike(String value) {
306
+            addCriterion("real_name not like", value, "realName");
307
+            return (Criteria) this;
308
+        }
309
+
310
+        public Criteria andRealNameIn(List<String> values) {
311
+            addCriterion("real_name in", values, "realName");
312
+            return (Criteria) this;
313
+        }
314
+
315
+        public Criteria andRealNameNotIn(List<String> values) {
316
+            addCriterion("real_name not in", values, "realName");
317
+            return (Criteria) this;
318
+        }
319
+
320
+        public Criteria andRealNameBetween(String value1, String value2) {
321
+            addCriterion("real_name between", value1, value2, "realName");
322
+            return (Criteria) this;
323
+        }
324
+
325
+        public Criteria andRealNameNotBetween(String value1, String value2) {
326
+            addCriterion("real_name not between", value1, value2, "realName");
327
+            return (Criteria) this;
328
+        }
329
+
330
+        public Criteria andUserIpIsNull() {
331
+            addCriterion("user_ip is null");
332
+            return (Criteria) this;
333
+        }
334
+
335
+        public Criteria andUserIpIsNotNull() {
336
+            addCriterion("user_ip is not null");
337
+            return (Criteria) this;
338
+        }
339
+
340
+        public Criteria andUserIpEqualTo(String value) {
341
+            addCriterion("user_ip =", value, "userIp");
342
+            return (Criteria) this;
343
+        }
344
+
345
+        public Criteria andUserIpNotEqualTo(String value) {
346
+            addCriterion("user_ip <>", value, "userIp");
347
+            return (Criteria) this;
348
+        }
349
+
350
+        public Criteria andUserIpGreaterThan(String value) {
351
+            addCriterion("user_ip >", value, "userIp");
352
+            return (Criteria) this;
353
+        }
354
+
355
+        public Criteria andUserIpGreaterThanOrEqualTo(String value) {
356
+            addCriterion("user_ip >=", value, "userIp");
357
+            return (Criteria) this;
358
+        }
359
+
360
+        public Criteria andUserIpLessThan(String value) {
361
+            addCriterion("user_ip <", value, "userIp");
362
+            return (Criteria) this;
363
+        }
364
+
365
+        public Criteria andUserIpLessThanOrEqualTo(String value) {
366
+            addCriterion("user_ip <=", value, "userIp");
367
+            return (Criteria) this;
368
+        }
369
+
370
+        public Criteria andUserIpLike(String value) {
371
+            addCriterion("user_ip like", value, "userIp");
372
+            return (Criteria) this;
373
+        }
374
+
375
+        public Criteria andUserIpNotLike(String value) {
376
+            addCriterion("user_ip not like", value, "userIp");
377
+            return (Criteria) this;
378
+        }
379
+
380
+        public Criteria andUserIpIn(List<String> values) {
381
+            addCriterion("user_ip in", values, "userIp");
382
+            return (Criteria) this;
383
+        }
384
+
385
+        public Criteria andUserIpNotIn(List<String> values) {
386
+            addCriterion("user_ip not in", values, "userIp");
387
+            return (Criteria) this;
388
+        }
389
+
390
+        public Criteria andUserIpBetween(String value1, String value2) {
391
+            addCriterion("user_ip between", value1, value2, "userIp");
392
+            return (Criteria) this;
393
+        }
394
+
395
+        public Criteria andUserIpNotBetween(String value1, String value2) {
396
+            addCriterion("user_ip not between", value1, value2, "userIp");
397
+            return (Criteria) this;
398
+        }
399
+
400
+        public Criteria andVisitPageTimeIsNull() {
401
+            addCriterion("visit_page_time is null");
402
+            return (Criteria) this;
403
+        }
404
+
405
+        public Criteria andVisitPageTimeIsNotNull() {
406
+            addCriterion("visit_page_time is not null");
407
+            return (Criteria) this;
408
+        }
409
+
410
+        public Criteria andVisitPageTimeEqualTo(Date value) {
411
+            addCriterion("visit_page_time =", value, "visitPageTime");
412
+            return (Criteria) this;
413
+        }
414
+
415
+        public Criteria andVisitPageTimeNotEqualTo(Date value) {
416
+            addCriterion("visit_page_time <>", value, "visitPageTime");
417
+            return (Criteria) this;
418
+        }
419
+
420
+        public Criteria andVisitPageTimeGreaterThan(Date value) {
421
+            addCriterion("visit_page_time >", value, "visitPageTime");
422
+            return (Criteria) this;
423
+        }
424
+
425
+        public Criteria andVisitPageTimeGreaterThanOrEqualTo(Date value) {
426
+            addCriterion("visit_page_time >=", value, "visitPageTime");
427
+            return (Criteria) this;
428
+        }
429
+
430
+        public Criteria andVisitPageTimeLessThan(Date value) {
431
+            addCriterion("visit_page_time <", value, "visitPageTime");
432
+            return (Criteria) this;
433
+        }
434
+
435
+        public Criteria andVisitPageTimeLessThanOrEqualTo(Date value) {
436
+            addCriterion("visit_page_time <=", value, "visitPageTime");
437
+            return (Criteria) this;
438
+        }
439
+
440
+        public Criteria andVisitPageTimeIn(List<Date> values) {
441
+            addCriterion("visit_page_time in", values, "visitPageTime");
442
+            return (Criteria) this;
443
+        }
444
+
445
+        public Criteria andVisitPageTimeNotIn(List<Date> values) {
446
+            addCriterion("visit_page_time not in", values, "visitPageTime");
447
+            return (Criteria) this;
448
+        }
449
+
450
+        public Criteria andVisitPageTimeBetween(Date value1, Date value2) {
451
+            addCriterion("visit_page_time between", value1, value2, "visitPageTime");
452
+            return (Criteria) this;
453
+        }
454
+
455
+        public Criteria andVisitPageTimeNotBetween(Date value1, Date value2) {
456
+            addCriterion("visit_page_time not between", value1, value2, "visitPageTime");
457
+            return (Criteria) this;
458
+        }
459
+    }
460
+
461
+    /**
462
+     * user_operation_page_log
463
+     */
464
+    public static class Criteria extends GeneratedCriteria {
465
+
466
+        protected Criteria() {
467
+            super();
468
+        }
469
+    }
470
+
471
+    /**
472
+     * user_operation_page_log 2024-11-04
473
+     */
474
+    public static class Criterion {
475
+        private String condition;
476
+
477
+        private Object value;
478
+
479
+        private Object secondValue;
480
+
481
+        private boolean noValue;
482
+
483
+        private boolean singleValue;
484
+
485
+        private boolean betweenValue;
486
+
487
+        private boolean listValue;
488
+
489
+        private String typeHandler;
490
+
491
+        public String getCondition() {
492
+            return condition;
493
+        }
494
+
495
+        public Object getValue() {
496
+            return value;
497
+        }
498
+
499
+        public Object getSecondValue() {
500
+            return secondValue;
501
+        }
502
+
503
+        public boolean isNoValue() {
504
+            return noValue;
505
+        }
506
+
507
+        public boolean isSingleValue() {
508
+            return singleValue;
509
+        }
510
+
511
+        public boolean isBetweenValue() {
512
+            return betweenValue;
513
+        }
514
+
515
+        public boolean isListValue() {
516
+            return listValue;
517
+        }
518
+
519
+        public String getTypeHandler() {
520
+            return typeHandler;
521
+        }
522
+
523
+        protected Criterion(String condition) {
524
+            super();
525
+            this.condition = condition;
526
+            this.typeHandler = null;
527
+            this.noValue = true;
528
+        }
529
+
530
+        protected Criterion(String condition, Object value, String typeHandler) {
531
+            super();
532
+            this.condition = condition;
533
+            this.value = value;
534
+            this.typeHandler = typeHandler;
535
+            if (value instanceof List<?>) {
536
+                this.listValue = true;
537
+            } else {
538
+                this.singleValue = true;
539
+            }
540
+        }
541
+
542
+        protected Criterion(String condition, Object value) {
543
+            this(condition, value, null);
544
+        }
545
+
546
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
547
+            super();
548
+            this.condition = condition;
549
+            this.value = value;
550
+            this.secondValue = secondValue;
551
+            this.typeHandler = typeHandler;
552
+            this.betweenValue = true;
553
+        }
554
+
555
+        protected Criterion(String condition, Object value, Object secondValue) {
556
+            this(condition, value, secondValue, null);
557
+        }
558
+    }
559
+}

+ 39 - 0
src/main/java/com/chinaitop/depot/system/model/UserOperationPageSet.java

@@ -0,0 +1,39 @@
1
+package com.chinaitop.depot.system.model;
2
+
3
+public class UserOperationPageSet {
4
+    private String operationUrl;
5
+
6
+    private String viewName;
7
+
8
+    /**
9
+     * null
10
+     * @return operation_url null
11
+     */
12
+    public String getOperationUrl() {
13
+        return operationUrl;
14
+    }
15
+
16
+    /**
17
+     * null
18
+     * @param operationUrl null
19
+     */
20
+    public void setOperationUrl(String operationUrl) {
21
+        this.operationUrl = operationUrl == null ? null : operationUrl.trim();
22
+    }
23
+
24
+    /**
25
+     * null
26
+     * @return view_name null
27
+     */
28
+    public String getViewName() {
29
+        return viewName;
30
+    }
31
+
32
+    /**
33
+     * null
34
+     * @param viewName null
35
+     */
36
+    public void setViewName(String viewName) {
37
+        this.viewName = viewName == null ? null : viewName.trim();
38
+    }
39
+}

+ 358 - 0
src/main/java/com/chinaitop/depot/system/model/UserOperationPageSetExample.java

@@ -0,0 +1,358 @@
1
+package com.chinaitop.depot.system.model;
2
+
3
+import java.util.ArrayList;
4
+import java.util.List;
5
+
6
+public class UserOperationPageSetExample {
7
+    /**
8
+     * user_operation_page_set
9
+     */
10
+    protected String orderByClause;
11
+
12
+    /**
13
+     * user_operation_page_set
14
+     */
15
+    protected boolean distinct;
16
+
17
+    /**
18
+     * user_operation_page_set
19
+     */
20
+    protected List<Criteria> oredCriteria;
21
+
22
+    public UserOperationPageSetExample() {
23
+        oredCriteria = new ArrayList<Criteria>();
24
+    }
25
+
26
+    public void setOrderByClause(String orderByClause) {
27
+        this.orderByClause = orderByClause;
28
+    }
29
+
30
+    public String getOrderByClause() {
31
+        return orderByClause;
32
+    }
33
+
34
+    public void setDistinct(boolean distinct) {
35
+        this.distinct = distinct;
36
+    }
37
+
38
+    public boolean isDistinct() {
39
+        return distinct;
40
+    }
41
+
42
+    public List<Criteria> getOredCriteria() {
43
+        return oredCriteria;
44
+    }
45
+
46
+    public void or(Criteria criteria) {
47
+        oredCriteria.add(criteria);
48
+    }
49
+
50
+    public Criteria or() {
51
+        Criteria criteria = createCriteriaInternal();
52
+        oredCriteria.add(criteria);
53
+        return criteria;
54
+    }
55
+
56
+    public Criteria createCriteria() {
57
+        Criteria criteria = createCriteriaInternal();
58
+        if (oredCriteria.size() == 0) {
59
+            oredCriteria.add(criteria);
60
+        }
61
+        return criteria;
62
+    }
63
+
64
+    protected Criteria createCriteriaInternal() {
65
+        Criteria criteria = new Criteria();
66
+        return criteria;
67
+    }
68
+
69
+    public void clear() {
70
+        oredCriteria.clear();
71
+        orderByClause = null;
72
+        distinct = false;
73
+    }
74
+
75
+    /**
76
+     * user_operation_page_set 2024-11-04
77
+     */
78
+    protected abstract static class GeneratedCriteria {
79
+        protected List<Criterion> criteria;
80
+
81
+        protected GeneratedCriteria() {
82
+            super();
83
+            criteria = new ArrayList<Criterion>();
84
+        }
85
+
86
+        public boolean isValid() {
87
+            return criteria.size() > 0;
88
+        }
89
+
90
+        public List<Criterion> getAllCriteria() {
91
+            return criteria;
92
+        }
93
+
94
+        public List<Criterion> getCriteria() {
95
+            return criteria;
96
+        }
97
+
98
+        protected void addCriterion(String condition) {
99
+            if (condition == null) {
100
+                throw new RuntimeException("Value for condition cannot be null");
101
+            }
102
+            criteria.add(new Criterion(condition));
103
+        }
104
+
105
+        protected void addCriterion(String condition, Object value, String property) {
106
+            if (value == null) {
107
+                throw new RuntimeException("Value for " + property + " cannot be null");
108
+            }
109
+            criteria.add(new Criterion(condition, value));
110
+        }
111
+
112
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
113
+            if (value1 == null || value2 == null) {
114
+                throw new RuntimeException("Between values for " + property + " cannot be null");
115
+            }
116
+            criteria.add(new Criterion(condition, value1, value2));
117
+        }
118
+
119
+        public Criteria andOperationUrlIsNull() {
120
+            addCriterion("operation_url is null");
121
+            return (Criteria) this;
122
+        }
123
+
124
+        public Criteria andOperationUrlIsNotNull() {
125
+            addCriterion("operation_url is not null");
126
+            return (Criteria) this;
127
+        }
128
+
129
+        public Criteria andOperationUrlEqualTo(String value) {
130
+            addCriterion("operation_url =", value, "operationUrl");
131
+            return (Criteria) this;
132
+        }
133
+
134
+        public Criteria andOperationUrlNotEqualTo(String value) {
135
+            addCriterion("operation_url <>", value, "operationUrl");
136
+            return (Criteria) this;
137
+        }
138
+
139
+        public Criteria andOperationUrlGreaterThan(String value) {
140
+            addCriterion("operation_url >", value, "operationUrl");
141
+            return (Criteria) this;
142
+        }
143
+
144
+        public Criteria andOperationUrlGreaterThanOrEqualTo(String value) {
145
+            addCriterion("operation_url >=", value, "operationUrl");
146
+            return (Criteria) this;
147
+        }
148
+
149
+        public Criteria andOperationUrlLessThan(String value) {
150
+            addCriterion("operation_url <", value, "operationUrl");
151
+            return (Criteria) this;
152
+        }
153
+
154
+        public Criteria andOperationUrlLessThanOrEqualTo(String value) {
155
+            addCriterion("operation_url <=", value, "operationUrl");
156
+            return (Criteria) this;
157
+        }
158
+
159
+        public Criteria andOperationUrlLike(String value) {
160
+            addCriterion("operation_url like", value, "operationUrl");
161
+            return (Criteria) this;
162
+        }
163
+
164
+        public Criteria andOperationUrlNotLike(String value) {
165
+            addCriterion("operation_url not like", value, "operationUrl");
166
+            return (Criteria) this;
167
+        }
168
+
169
+        public Criteria andOperationUrlIn(List<String> values) {
170
+            addCriterion("operation_url in", values, "operationUrl");
171
+            return (Criteria) this;
172
+        }
173
+
174
+        public Criteria andOperationUrlNotIn(List<String> values) {
175
+            addCriterion("operation_url not in", values, "operationUrl");
176
+            return (Criteria) this;
177
+        }
178
+
179
+        public Criteria andOperationUrlBetween(String value1, String value2) {
180
+            addCriterion("operation_url between", value1, value2, "operationUrl");
181
+            return (Criteria) this;
182
+        }
183
+
184
+        public Criteria andOperationUrlNotBetween(String value1, String value2) {
185
+            addCriterion("operation_url not between", value1, value2, "operationUrl");
186
+            return (Criteria) this;
187
+        }
188
+
189
+        public Criteria andViewNameIsNull() {
190
+            addCriterion("view_name is null");
191
+            return (Criteria) this;
192
+        }
193
+
194
+        public Criteria andViewNameIsNotNull() {
195
+            addCriterion("view_name is not null");
196
+            return (Criteria) this;
197
+        }
198
+
199
+        public Criteria andViewNameEqualTo(String value) {
200
+            addCriterion("view_name =", value, "viewName");
201
+            return (Criteria) this;
202
+        }
203
+
204
+        public Criteria andViewNameNotEqualTo(String value) {
205
+            addCriterion("view_name <>", value, "viewName");
206
+            return (Criteria) this;
207
+        }
208
+
209
+        public Criteria andViewNameGreaterThan(String value) {
210
+            addCriterion("view_name >", value, "viewName");
211
+            return (Criteria) this;
212
+        }
213
+
214
+        public Criteria andViewNameGreaterThanOrEqualTo(String value) {
215
+            addCriterion("view_name >=", value, "viewName");
216
+            return (Criteria) this;
217
+        }
218
+
219
+        public Criteria andViewNameLessThan(String value) {
220
+            addCriterion("view_name <", value, "viewName");
221
+            return (Criteria) this;
222
+        }
223
+
224
+        public Criteria andViewNameLessThanOrEqualTo(String value) {
225
+            addCriterion("view_name <=", value, "viewName");
226
+            return (Criteria) this;
227
+        }
228
+
229
+        public Criteria andViewNameLike(String value) {
230
+            addCriterion("view_name like", value, "viewName");
231
+            return (Criteria) this;
232
+        }
233
+
234
+        public Criteria andViewNameNotLike(String value) {
235
+            addCriterion("view_name not like", value, "viewName");
236
+            return (Criteria) this;
237
+        }
238
+
239
+        public Criteria andViewNameIn(List<String> values) {
240
+            addCriterion("view_name in", values, "viewName");
241
+            return (Criteria) this;
242
+        }
243
+
244
+        public Criteria andViewNameNotIn(List<String> values) {
245
+            addCriterion("view_name not in", values, "viewName");
246
+            return (Criteria) this;
247
+        }
248
+
249
+        public Criteria andViewNameBetween(String value1, String value2) {
250
+            addCriterion("view_name between", value1, value2, "viewName");
251
+            return (Criteria) this;
252
+        }
253
+
254
+        public Criteria andViewNameNotBetween(String value1, String value2) {
255
+            addCriterion("view_name not between", value1, value2, "viewName");
256
+            return (Criteria) this;
257
+        }
258
+    }
259
+
260
+    /**
261
+     * user_operation_page_set
262
+     */
263
+    public static class Criteria extends GeneratedCriteria {
264
+
265
+        protected Criteria() {
266
+            super();
267
+        }
268
+    }
269
+
270
+    /**
271
+     * user_operation_page_set 2024-11-04
272
+     */
273
+    public static class Criterion {
274
+        private String condition;
275
+
276
+        private Object value;
277
+
278
+        private Object secondValue;
279
+
280
+        private boolean noValue;
281
+
282
+        private boolean singleValue;
283
+
284
+        private boolean betweenValue;
285
+
286
+        private boolean listValue;
287
+
288
+        private String typeHandler;
289
+
290
+        public String getCondition() {
291
+            return condition;
292
+        }
293
+
294
+        public Object getValue() {
295
+            return value;
296
+        }
297
+
298
+        public Object getSecondValue() {
299
+            return secondValue;
300
+        }
301
+
302
+        public boolean isNoValue() {
303
+            return noValue;
304
+        }
305
+
306
+        public boolean isSingleValue() {
307
+            return singleValue;
308
+        }
309
+
310
+        public boolean isBetweenValue() {
311
+            return betweenValue;
312
+        }
313
+
314
+        public boolean isListValue() {
315
+            return listValue;
316
+        }
317
+
318
+        public String getTypeHandler() {
319
+            return typeHandler;
320
+        }
321
+
322
+        protected Criterion(String condition) {
323
+            super();
324
+            this.condition = condition;
325
+            this.typeHandler = null;
326
+            this.noValue = true;
327
+        }
328
+
329
+        protected Criterion(String condition, Object value, String typeHandler) {
330
+            super();
331
+            this.condition = condition;
332
+            this.value = value;
333
+            this.typeHandler = typeHandler;
334
+            if (value instanceof List<?>) {
335
+                this.listValue = true;
336
+            } else {
337
+                this.singleValue = true;
338
+            }
339
+        }
340
+
341
+        protected Criterion(String condition, Object value) {
342
+            this(condition, value, null);
343
+        }
344
+
345
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
346
+            super();
347
+            this.condition = condition;
348
+            this.value = value;
349
+            this.secondValue = secondValue;
350
+            this.typeHandler = typeHandler;
351
+            this.betweenValue = true;
352
+        }
353
+
354
+        protected Criterion(String condition, Object value, Object secondValue) {
355
+            this(condition, value, secondValue, null);
356
+        }
357
+    }
358
+}