tao.mo

common-dao | 修改 | 操作日志类型调整

mt
2025年1月13日18:22:43
...@@ -2,6 +2,7 @@ package com.fedex.connect.common.dao.log; ...@@ -2,6 +2,7 @@ package com.fedex.connect.common.dao.log;
2 2
3 import com.fedex.connect.common.model.log.Operation; 3 import com.fedex.connect.common.model.log.Operation;
4 import com.fedex.connect.common.model.log.OperationExample; 4 import com.fedex.connect.common.model.log.OperationExample;
5 +import com.fedex.connect.common.model.log.OperationWithBLOBs;
5 import java.util.List; 6 import java.util.List;
6 import org.apache.ibatis.annotations.Param; 7 import org.apache.ibatis.annotations.Param;
7 8
...@@ -12,25 +13,25 @@ public interface OperationMapper { ...@@ -12,25 +13,25 @@ public interface OperationMapper {
12 13
13 int deleteByPrimaryKey(Long id); 14 int deleteByPrimaryKey(Long id);
14 15
15 - int insert(Operation record); 16 + int insert(OperationWithBLOBs record);
16 17
17 - int insertSelective(Operation record); 18 + int insertSelective(OperationWithBLOBs record);
18 19
19 - List<Operation> selectByExampleWithBLOBs(OperationExample example); 20 + List<OperationWithBLOBs> selectByExampleWithBLOBs(OperationExample example);
20 21
21 List<Operation> selectByExample(OperationExample example); 22 List<Operation> selectByExample(OperationExample example);
22 23
23 - Operation selectByPrimaryKey(Long id); 24 + OperationWithBLOBs selectByPrimaryKey(Long id);
24 25
25 - int updateByExampleSelective(@Param("record") Operation record, @Param("example") OperationExample example); 26 + int updateByExampleSelective(@Param("record") OperationWithBLOBs record, @Param("example") OperationExample example);
26 27
27 - int updateByExampleWithBLOBs(@Param("record") Operation record, @Param("example") OperationExample example); 28 + int updateByExampleWithBLOBs(@Param("record") OperationWithBLOBs record, @Param("example") OperationExample example);
28 29
29 int updateByExample(@Param("record") Operation record, @Param("example") OperationExample example); 30 int updateByExample(@Param("record") Operation record, @Param("example") OperationExample example);
30 31
31 - int updateByPrimaryKeySelective(Operation record); 32 + int updateByPrimaryKeySelective(OperationWithBLOBs record);
32 33
33 - int updateByPrimaryKeyWithBLOBs(Operation record); 34 + int updateByPrimaryKeyWithBLOBs(OperationWithBLOBs record);
34 35
35 int updateByPrimaryKey(Operation record); 36 int updateByPrimaryKey(Operation record);
36 } 37 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -9,9 +9,6 @@ ...@@ -9,9 +9,6 @@
9 <result column="MODULE" jdbcType="VARCHAR" property="module" /> 9 <result column="MODULE" jdbcType="VARCHAR" property="module" />
10 <result column="DESCRIBE" jdbcType="VARCHAR" property="describe" /> 10 <result column="DESCRIBE" jdbcType="VARCHAR" property="describe" />
11 <result column="URL" jdbcType="VARCHAR" property="url" /> 11 <result column="URL" jdbcType="VARCHAR" property="url" />
12 - <result column="REQUEST_PARAMETERS" jdbcType="VARCHAR" property="requestParameters" />
13 - <result column="RESULT" jdbcType="VARCHAR" property="result" />
14 - <result column="STATUS" jdbcType="NUMERIC" property="status" />
15 <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" /> 12 <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
16 <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" /> 13 <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" />
17 <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" /> 14 <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" />
...@@ -22,8 +19,10 @@ ...@@ -22,8 +19,10 @@
22 <result column="RESPONSE_TIME" jdbcType="TIMESTAMP" property="responseTime" /> 19 <result column="RESPONSE_TIME" jdbcType="TIMESTAMP" property="responseTime" />
23 <result column="EXCEUTE_CONSUME" jdbcType="NUMERIC" property="exceuteConsume" /> 20 <result column="EXCEUTE_CONSUME" jdbcType="NUMERIC" property="exceuteConsume" />
24 </resultMap> 21 </resultMap>
25 - <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.Operation"> 22 + <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.OperationWithBLOBs">
26 <result column="REMARK" jdbcType="CLOB" property="remark" /> 23 <result column="REMARK" jdbcType="CLOB" property="remark" />
24 + <result column="REQUEST_PARAMETERS" jdbcType="CLOB" property="requestParameters" />
25 + <result column="RESULT" jdbcType="CLOB" property="result" />
27 </resultMap> 26 </resultMap>
28 <sql id="Example_Where_Clause"> 27 <sql id="Example_Where_Clause">
29 <where> 28 <where>
...@@ -84,12 +83,12 @@ ...@@ -84,12 +83,12 @@
84 </where> 83 </where>
85 </sql> 84 </sql>
86 <sql id="Base_Column_List"> 85 <sql id="Base_Column_List">
87 - ID, USER_ID, LOGIN_NAME, USER_NAME, MODULE, DESCRIBE, URL, REQUEST_PARAMETERS, RESULT, 86 + ID, USER_ID, LOGIN_NAME, USER_NAME, MODULE, DESCRIBE, URL, CREATE_TIME, CREATE_USER_ID,
88 - STATUS, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, 87 + CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME,
89 - MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME, EXCEUTE_CONSUME 88 + EXCEUTE_CONSUME
90 </sql> 89 </sql>
91 <sql id="Blob_Column_List"> 90 <sql id="Blob_Column_List">
92 - REMARK 91 + REMARK, REQUEST_PARAMETERS, RESULT
93 </sql> 92 </sql>
94 <select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.log.OperationExample" resultMap="ResultMapWithBLOBs"> 93 <select id="selectByExampleWithBLOBs" parameterType="com.fedex.connect.common.model.log.OperationExample" resultMap="ResultMapWithBLOBs">
95 select 94 select
...@@ -143,26 +142,26 @@ ...@@ -143,26 +142,26 @@
143 <include refid="Example_Where_Clause" /> 142 <include refid="Example_Where_Clause" />
144 </if> 143 </if>
145 </delete> 144 </delete>
146 - <insert id="insert" parameterType="com.fedex.connect.common.model.log.Operation"> 145 + <insert id="insert" parameterType="com.fedex.connect.common.model.log.OperationWithBLOBs">
147 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> 146 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
148 SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL 147 SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
149 </selectKey> 148 </selectKey>
150 insert into ICLEARIMP.T_LOG_OPERATION (ID, USER_ID, LOGIN_NAME, 149 insert into ICLEARIMP.T_LOG_OPERATION (ID, USER_ID, LOGIN_NAME,
151 USER_NAME, MODULE, DESCRIBE, 150 USER_NAME, MODULE, DESCRIBE,
152 - URL, REQUEST_PARAMETERS, RESULT, 151 + URL, CREATE_TIME, CREATE_USER_ID,
153 - STATUS, CREATE_TIME, CREATE_USER_ID,
154 CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, 152 CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
155 MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME, 153 MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME,
156 - EXCEUTE_CONSUME, REMARK) 154 + EXCEUTE_CONSUME, REMARK, REQUEST_PARAMETERS,
155 + RESULT)
157 values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{loginName,jdbcType=VARCHAR}, 156 values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{loginName,jdbcType=VARCHAR},
158 #{userName,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR}, 157 #{userName,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR},
159 - #{url,jdbcType=VARCHAR}, #{requestParameters,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}, 158 + #{url,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC},
160 - #{status,jdbcType=NUMERIC}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC},
161 #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, 159 #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC},
162 #{modifyUserName,jdbcType=VARCHAR}, #{requestTime,jdbcType=TIMESTAMP}, #{responseTime,jdbcType=TIMESTAMP}, 160 #{modifyUserName,jdbcType=VARCHAR}, #{requestTime,jdbcType=TIMESTAMP}, #{responseTime,jdbcType=TIMESTAMP},
163 - #{exceuteConsume,jdbcType=NUMERIC}, #{remark,jdbcType=CLOB}) 161 + #{exceuteConsume,jdbcType=NUMERIC}, #{remark,jdbcType=CLOB}, #{requestParameters,jdbcType=CLOB},
162 + #{result,jdbcType=CLOB})
164 </insert> 163 </insert>
165 - <insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.Operation"> 164 + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.OperationWithBLOBs">
166 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> 165 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
167 SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL 166 SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
168 </selectKey> 167 </selectKey>
...@@ -187,15 +186,6 @@ ...@@ -187,15 +186,6 @@
187 <if test="url != null"> 186 <if test="url != null">
188 URL, 187 URL,
189 </if> 188 </if>
190 - <if test="requestParameters != null">
191 - REQUEST_PARAMETERS,
192 - </if>
193 - <if test="result != null">
194 - RESULT,
195 - </if>
196 - <if test="status != null">
197 - STATUS,
198 - </if>
199 <if test="createTime != null"> 189 <if test="createTime != null">
200 CREATE_TIME, 190 CREATE_TIME,
201 </if> 191 </if>
...@@ -226,6 +216,12 @@ ...@@ -226,6 +216,12 @@
226 <if test="remark != null"> 216 <if test="remark != null">
227 REMARK, 217 REMARK,
228 </if> 218 </if>
219 + <if test="requestParameters != null">
220 + REQUEST_PARAMETERS,
221 + </if>
222 + <if test="result != null">
223 + RESULT,
224 + </if>
229 </trim> 225 </trim>
230 <trim prefix="values (" suffix=")" suffixOverrides=","> 226 <trim prefix="values (" suffix=")" suffixOverrides=",">
231 #{id,jdbcType=NUMERIC}, 227 #{id,jdbcType=NUMERIC},
...@@ -247,15 +243,6 @@ ...@@ -247,15 +243,6 @@
247 <if test="url != null"> 243 <if test="url != null">
248 #{url,jdbcType=VARCHAR}, 244 #{url,jdbcType=VARCHAR},
249 </if> 245 </if>
250 - <if test="requestParameters != null">
251 - #{requestParameters,jdbcType=VARCHAR},
252 - </if>
253 - <if test="result != null">
254 - #{result,jdbcType=VARCHAR},
255 - </if>
256 - <if test="status != null">
257 - #{status,jdbcType=NUMERIC},
258 - </if>
259 <if test="createTime != null"> 246 <if test="createTime != null">
260 #{createTime,jdbcType=TIMESTAMP}, 247 #{createTime,jdbcType=TIMESTAMP},
261 </if> 248 </if>
...@@ -286,6 +273,12 @@ ...@@ -286,6 +273,12 @@
286 <if test="remark != null"> 273 <if test="remark != null">
287 #{remark,jdbcType=CLOB}, 274 #{remark,jdbcType=CLOB},
288 </if> 275 </if>
276 + <if test="requestParameters != null">
277 + #{requestParameters,jdbcType=CLOB},
278 + </if>
279 + <if test="result != null">
280 + #{result,jdbcType=CLOB},
281 + </if>
289 </trim> 282 </trim>
290 </insert> 283 </insert>
291 <select id="countByExample" parameterType="com.fedex.connect.common.model.log.OperationExample" resultType="java.lang.Long"> 284 <select id="countByExample" parameterType="com.fedex.connect.common.model.log.OperationExample" resultType="java.lang.Long">
...@@ -318,15 +311,6 @@ ...@@ -318,15 +311,6 @@
318 <if test="record.url != null"> 311 <if test="record.url != null">
319 URL = #{record.url,jdbcType=VARCHAR}, 312 URL = #{record.url,jdbcType=VARCHAR},
320 </if> 313 </if>
321 - <if test="record.requestParameters != null">
322 - REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
323 - </if>
324 - <if test="record.result != null">
325 - RESULT = #{record.result,jdbcType=VARCHAR},
326 - </if>
327 - <if test="record.status != null">
328 - STATUS = #{record.status,jdbcType=NUMERIC},
329 - </if>
330 <if test="record.createTime != null"> 314 <if test="record.createTime != null">
331 CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, 315 CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
332 </if> 316 </if>
...@@ -357,6 +341,12 @@ ...@@ -357,6 +341,12 @@
357 <if test="record.remark != null"> 341 <if test="record.remark != null">
358 REMARK = #{record.remark,jdbcType=CLOB}, 342 REMARK = #{record.remark,jdbcType=CLOB},
359 </if> 343 </if>
344 + <if test="record.requestParameters != null">
345 + REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=CLOB},
346 + </if>
347 + <if test="record.result != null">
348 + RESULT = #{record.result,jdbcType=CLOB},
349 + </if>
360 </set> 350 </set>
361 <if test="_parameter != null"> 351 <if test="_parameter != null">
362 <include refid="Update_By_Example_Where_Clause" /> 352 <include refid="Update_By_Example_Where_Clause" />
...@@ -371,9 +361,6 @@ ...@@ -371,9 +361,6 @@
371 MODULE = #{record.module,jdbcType=VARCHAR}, 361 MODULE = #{record.module,jdbcType=VARCHAR},
372 DESCRIBE = #{record.describe,jdbcType=VARCHAR}, 362 DESCRIBE = #{record.describe,jdbcType=VARCHAR},
373 URL = #{record.url,jdbcType=VARCHAR}, 363 URL = #{record.url,jdbcType=VARCHAR},
374 - REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
375 - RESULT = #{record.result,jdbcType=VARCHAR},
376 - STATUS = #{record.status,jdbcType=NUMERIC},
377 CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, 364 CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
378 CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC}, 365 CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
379 CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, 366 CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
...@@ -383,7 +370,9 @@ ...@@ -383,7 +370,9 @@
383 REQUEST_TIME = #{record.requestTime,jdbcType=TIMESTAMP}, 370 REQUEST_TIME = #{record.requestTime,jdbcType=TIMESTAMP},
384 RESPONSE_TIME = #{record.responseTime,jdbcType=TIMESTAMP}, 371 RESPONSE_TIME = #{record.responseTime,jdbcType=TIMESTAMP},
385 EXCEUTE_CONSUME = #{record.exceuteConsume,jdbcType=NUMERIC}, 372 EXCEUTE_CONSUME = #{record.exceuteConsume,jdbcType=NUMERIC},
386 - REMARK = #{record.remark,jdbcType=CLOB} 373 + REMARK = #{record.remark,jdbcType=CLOB},
374 + REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=CLOB},
375 + RESULT = #{record.result,jdbcType=CLOB}
387 <if test="_parameter != null"> 376 <if test="_parameter != null">
388 <include refid="Update_By_Example_Where_Clause" /> 377 <include refid="Update_By_Example_Where_Clause" />
389 </if> 378 </if>
...@@ -397,9 +386,6 @@ ...@@ -397,9 +386,6 @@
397 MODULE = #{record.module,jdbcType=VARCHAR}, 386 MODULE = #{record.module,jdbcType=VARCHAR},
398 DESCRIBE = #{record.describe,jdbcType=VARCHAR}, 387 DESCRIBE = #{record.describe,jdbcType=VARCHAR},
399 URL = #{record.url,jdbcType=VARCHAR}, 388 URL = #{record.url,jdbcType=VARCHAR},
400 - REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
401 - RESULT = #{record.result,jdbcType=VARCHAR},
402 - STATUS = #{record.status,jdbcType=NUMERIC},
403 CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, 389 CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
404 CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC}, 390 CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
405 CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, 391 CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
...@@ -413,7 +399,7 @@ ...@@ -413,7 +399,7 @@
413 <include refid="Update_By_Example_Where_Clause" /> 399 <include refid="Update_By_Example_Where_Clause" />
414 </if> 400 </if>
415 </update> 401 </update>
416 - <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.log.Operation"> 402 + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.log.OperationWithBLOBs">
417 update ICLEARIMP.T_LOG_OPERATION 403 update ICLEARIMP.T_LOG_OPERATION
418 <set> 404 <set>
419 <if test="userId != null"> 405 <if test="userId != null">
...@@ -434,15 +420,6 @@ ...@@ -434,15 +420,6 @@
434 <if test="url != null"> 420 <if test="url != null">
435 URL = #{url,jdbcType=VARCHAR}, 421 URL = #{url,jdbcType=VARCHAR},
436 </if> 422 </if>
437 - <if test="requestParameters != null">
438 - REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
439 - </if>
440 - <if test="result != null">
441 - RESULT = #{result,jdbcType=VARCHAR},
442 - </if>
443 - <if test="status != null">
444 - STATUS = #{status,jdbcType=NUMERIC},
445 - </if>
446 <if test="createTime != null"> 423 <if test="createTime != null">
447 CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, 424 CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
448 </if> 425 </if>
...@@ -473,10 +450,16 @@ ...@@ -473,10 +450,16 @@
473 <if test="remark != null"> 450 <if test="remark != null">
474 REMARK = #{remark,jdbcType=CLOB}, 451 REMARK = #{remark,jdbcType=CLOB},
475 </if> 452 </if>
453 + <if test="requestParameters != null">
454 + REQUEST_PARAMETERS = #{requestParameters,jdbcType=CLOB},
455 + </if>
456 + <if test="result != null">
457 + RESULT = #{result,jdbcType=CLOB},
458 + </if>
476 </set> 459 </set>
477 where ID = #{id,jdbcType=NUMERIC} 460 where ID = #{id,jdbcType=NUMERIC}
478 </update> 461 </update>
479 - <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.log.Operation"> 462 + <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.fedex.connect.common.model.log.OperationWithBLOBs">
480 update ICLEARIMP.T_LOG_OPERATION 463 update ICLEARIMP.T_LOG_OPERATION
481 set USER_ID = #{userId,jdbcType=NUMERIC}, 464 set USER_ID = #{userId,jdbcType=NUMERIC},
482 LOGIN_NAME = #{loginName,jdbcType=VARCHAR}, 465 LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
...@@ -484,9 +467,6 @@ ...@@ -484,9 +467,6 @@
484 MODULE = #{module,jdbcType=VARCHAR}, 467 MODULE = #{module,jdbcType=VARCHAR},
485 DESCRIBE = #{describe,jdbcType=VARCHAR}, 468 DESCRIBE = #{describe,jdbcType=VARCHAR},
486 URL = #{url,jdbcType=VARCHAR}, 469 URL = #{url,jdbcType=VARCHAR},
487 - REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
488 - RESULT = #{result,jdbcType=VARCHAR},
489 - STATUS = #{status,jdbcType=NUMERIC},
490 CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, 470 CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
491 CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC}, 471 CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
492 CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, 472 CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
...@@ -496,7 +476,9 @@ ...@@ -496,7 +476,9 @@
496 REQUEST_TIME = #{requestTime,jdbcType=TIMESTAMP}, 476 REQUEST_TIME = #{requestTime,jdbcType=TIMESTAMP},
497 RESPONSE_TIME = #{responseTime,jdbcType=TIMESTAMP}, 477 RESPONSE_TIME = #{responseTime,jdbcType=TIMESTAMP},
498 EXCEUTE_CONSUME = #{exceuteConsume,jdbcType=NUMERIC}, 478 EXCEUTE_CONSUME = #{exceuteConsume,jdbcType=NUMERIC},
499 - REMARK = #{remark,jdbcType=CLOB} 479 + REMARK = #{remark,jdbcType=CLOB},
480 + REQUEST_PARAMETERS = #{requestParameters,jdbcType=CLOB},
481 + RESULT = #{result,jdbcType=CLOB}
500 where ID = #{id,jdbcType=NUMERIC} 482 where ID = #{id,jdbcType=NUMERIC}
501 </update> 483 </update>
502 <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.log.Operation"> 484 <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.log.Operation">
...@@ -507,9 +489,6 @@ ...@@ -507,9 +489,6 @@
507 MODULE = #{module,jdbcType=VARCHAR}, 489 MODULE = #{module,jdbcType=VARCHAR},
508 DESCRIBE = #{describe,jdbcType=VARCHAR}, 490 DESCRIBE = #{describe,jdbcType=VARCHAR},
509 URL = #{url,jdbcType=VARCHAR}, 491 URL = #{url,jdbcType=VARCHAR},
510 - REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
511 - RESULT = #{result,jdbcType=VARCHAR},
512 - STATUS = #{status,jdbcType=NUMERIC},
513 CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, 492 CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
514 CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC}, 493 CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
515 CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, 494 CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
......
...@@ -44,21 +44,6 @@ public class Operation implements Serializable { ...@@ -44,21 +44,6 @@ public class Operation implements Serializable {
44 private String url; 44 private String url;
45 45
46 /** 46 /**
47 - * 请求参数
48 - */
49 - private String requestParameters;
50 -
51 - /**
52 - * 操作结果
53 - */
54 - private String result;
55 -
56 - /**
57 - * 状态(0:展示、1:不展示)
58 - */
59 - private Long status;
60 -
61 - /**
62 * 创建时间 47 * 创建时间
63 */ 48 */
64 private Date createTime; 49 private Date createTime;
...@@ -103,11 +88,6 @@ public class Operation implements Serializable { ...@@ -103,11 +88,6 @@ public class Operation implements Serializable {
103 */ 88 */
104 private Long exceuteConsume; 89 private Long exceuteConsume;
105 90
106 - /**
107 - * 备注
108 - */
109 - private String remark;
110 -
111 private static final long serialVersionUID = 1L; 91 private static final long serialVersionUID = 1L;
112 92
113 public Long getId() { 93 public Long getId() {
...@@ -166,30 +146,6 @@ public class Operation implements Serializable { ...@@ -166,30 +146,6 @@ public class Operation implements Serializable {
166 this.url = url == null ? null : url.trim(); 146 this.url = url == null ? null : url.trim();
167 } 147 }
168 148
169 - public String getRequestParameters() {
170 - return requestParameters;
171 - }
172 -
173 - public void setRequestParameters(String requestParameters) {
174 - this.requestParameters = requestParameters == null ? null : requestParameters.trim();
175 - }
176 -
177 - public String getResult() {
178 - return result;
179 - }
180 -
181 - public void setResult(String result) {
182 - this.result = result == null ? null : result.trim();
183 - }
184 -
185 - public Long getStatus() {
186 - return status;
187 - }
188 -
189 - public void setStatus(Long status) {
190 - this.status = status;
191 - }
192 -
193 public Date getCreateTime() { 149 public Date getCreateTime() {
194 return createTime; 150 return createTime;
195 } 151 }
...@@ -262,14 +218,6 @@ public class Operation implements Serializable { ...@@ -262,14 +218,6 @@ public class Operation implements Serializable {
262 this.exceuteConsume = exceuteConsume; 218 this.exceuteConsume = exceuteConsume;
263 } 219 }
264 220
265 - public String getRemark() {
266 - return remark;
267 - }
268 -
269 - public void setRemark(String remark) {
270 - this.remark = remark == null ? null : remark.trim();
271 - }
272 -
273 @Override 221 @Override
274 public String toString() { 222 public String toString() {
275 StringBuilder sb = new StringBuilder(); 223 StringBuilder sb = new StringBuilder();
...@@ -283,9 +231,6 @@ public class Operation implements Serializable { ...@@ -283,9 +231,6 @@ public class Operation implements Serializable {
283 sb.append(", module=").append(module); 231 sb.append(", module=").append(module);
284 sb.append(", describe=").append(describe); 232 sb.append(", describe=").append(describe);
285 sb.append(", url=").append(url); 233 sb.append(", url=").append(url);
286 - sb.append(", requestParameters=").append(requestParameters);
287 - sb.append(", result=").append(result);
288 - sb.append(", status=").append(status);
289 sb.append(", createTime=").append(createTime); 234 sb.append(", createTime=").append(createTime);
290 sb.append(", createUserId=").append(createUserId); 235 sb.append(", createUserId=").append(createUserId);
291 sb.append(", createUserName=").append(createUserName); 236 sb.append(", createUserName=").append(createUserName);
...@@ -295,7 +240,6 @@ public class Operation implements Serializable { ...@@ -295,7 +240,6 @@ public class Operation implements Serializable {
295 sb.append(", requestTime=").append(requestTime); 240 sb.append(", requestTime=").append(requestTime);
296 sb.append(", responseTime=").append(responseTime); 241 sb.append(", responseTime=").append(responseTime);
297 sb.append(", exceuteConsume=").append(exceuteConsume); 242 sb.append(", exceuteConsume=").append(exceuteConsume);
298 - sb.append(", remark=").append(remark);
299 sb.append(", serialVersionUID=").append(serialVersionUID); 243 sb.append(", serialVersionUID=").append(serialVersionUID);
300 sb.append("]"); 244 sb.append("]");
301 return sb.toString(); 245 return sb.toString();
......
...@@ -595,206 +595,6 @@ public class OperationExample { ...@@ -595,206 +595,6 @@ public class OperationExample {
595 return (Criteria) this; 595 return (Criteria) this;
596 } 596 }
597 597
598 - public Criteria andRequestParametersIsNull() {
599 - addCriterion("REQUEST_PARAMETERS is null");
600 - return (Criteria) this;
601 - }
602 -
603 - public Criteria andRequestParametersIsNotNull() {
604 - addCriterion("REQUEST_PARAMETERS is not null");
605 - return (Criteria) this;
606 - }
607 -
608 - public Criteria andRequestParametersEqualTo(String value) {
609 - addCriterion("REQUEST_PARAMETERS =", value, "requestParameters");
610 - return (Criteria) this;
611 - }
612 -
613 - public Criteria andRequestParametersNotEqualTo(String value) {
614 - addCriterion("REQUEST_PARAMETERS <>", value, "requestParameters");
615 - return (Criteria) this;
616 - }
617 -
618 - public Criteria andRequestParametersGreaterThan(String value) {
619 - addCriterion("REQUEST_PARAMETERS >", value, "requestParameters");
620 - return (Criteria) this;
621 - }
622 -
623 - public Criteria andRequestParametersGreaterThanOrEqualTo(String value) {
624 - addCriterion("REQUEST_PARAMETERS >=", value, "requestParameters");
625 - return (Criteria) this;
626 - }
627 -
628 - public Criteria andRequestParametersLessThan(String value) {
629 - addCriterion("REQUEST_PARAMETERS <", value, "requestParameters");
630 - return (Criteria) this;
631 - }
632 -
633 - public Criteria andRequestParametersLessThanOrEqualTo(String value) {
634 - addCriterion("REQUEST_PARAMETERS <=", value, "requestParameters");
635 - return (Criteria) this;
636 - }
637 -
638 - public Criteria andRequestParametersLike(String value) {
639 - addCriterion("REQUEST_PARAMETERS like", value, "requestParameters");
640 - return (Criteria) this;
641 - }
642 -
643 - public Criteria andRequestParametersNotLike(String value) {
644 - addCriterion("REQUEST_PARAMETERS not like", value, "requestParameters");
645 - return (Criteria) this;
646 - }
647 -
648 - public Criteria andRequestParametersIn(List<String> values) {
649 - addCriterion("REQUEST_PARAMETERS in", values, "requestParameters");
650 - return (Criteria) this;
651 - }
652 -
653 - public Criteria andRequestParametersNotIn(List<String> values) {
654 - addCriterion("REQUEST_PARAMETERS not in", values, "requestParameters");
655 - return (Criteria) this;
656 - }
657 -
658 - public Criteria andRequestParametersBetween(String value1, String value2) {
659 - addCriterion("REQUEST_PARAMETERS between", value1, value2, "requestParameters");
660 - return (Criteria) this;
661 - }
662 -
663 - public Criteria andRequestParametersNotBetween(String value1, String value2) {
664 - addCriterion("REQUEST_PARAMETERS not between", value1, value2, "requestParameters");
665 - return (Criteria) this;
666 - }
667 -
668 - public Criteria andResultIsNull() {
669 - addCriterion("RESULT is null");
670 - return (Criteria) this;
671 - }
672 -
673 - public Criteria andResultIsNotNull() {
674 - addCriterion("RESULT is not null");
675 - return (Criteria) this;
676 - }
677 -
678 - public Criteria andResultEqualTo(String value) {
679 - addCriterion("RESULT =", value, "result");
680 - return (Criteria) this;
681 - }
682 -
683 - public Criteria andResultNotEqualTo(String value) {
684 - addCriterion("RESULT <>", value, "result");
685 - return (Criteria) this;
686 - }
687 -
688 - public Criteria andResultGreaterThan(String value) {
689 - addCriterion("RESULT >", value, "result");
690 - return (Criteria) this;
691 - }
692 -
693 - public Criteria andResultGreaterThanOrEqualTo(String value) {
694 - addCriterion("RESULT >=", value, "result");
695 - return (Criteria) this;
696 - }
697 -
698 - public Criteria andResultLessThan(String value) {
699 - addCriterion("RESULT <", value, "result");
700 - return (Criteria) this;
701 - }
702 -
703 - public Criteria andResultLessThanOrEqualTo(String value) {
704 - addCriterion("RESULT <=", value, "result");
705 - return (Criteria) this;
706 - }
707 -
708 - public Criteria andResultLike(String value) {
709 - addCriterion("RESULT like", value, "result");
710 - return (Criteria) this;
711 - }
712 -
713 - public Criteria andResultNotLike(String value) {
714 - addCriterion("RESULT not like", value, "result");
715 - return (Criteria) this;
716 - }
717 -
718 - public Criteria andResultIn(List<String> values) {
719 - addCriterion("RESULT in", values, "result");
720 - return (Criteria) this;
721 - }
722 -
723 - public Criteria andResultNotIn(List<String> values) {
724 - addCriterion("RESULT not in", values, "result");
725 - return (Criteria) this;
726 - }
727 -
728 - public Criteria andResultBetween(String value1, String value2) {
729 - addCriterion("RESULT between", value1, value2, "result");
730 - return (Criteria) this;
731 - }
732 -
733 - public Criteria andResultNotBetween(String value1, String value2) {
734 - addCriterion("RESULT not between", value1, value2, "result");
735 - return (Criteria) this;
736 - }
737 -
738 - public Criteria andStatusIsNull() {
739 - addCriterion("STATUS is null");
740 - return (Criteria) this;
741 - }
742 -
743 - public Criteria andStatusIsNotNull() {
744 - addCriterion("STATUS is not null");
745 - return (Criteria) this;
746 - }
747 -
748 - public Criteria andStatusEqualTo(Long value) {
749 - addCriterion("STATUS =", value, "status");
750 - return (Criteria) this;
751 - }
752 -
753 - public Criteria andStatusNotEqualTo(Long value) {
754 - addCriterion("STATUS <>", value, "status");
755 - return (Criteria) this;
756 - }
757 -
758 - public Criteria andStatusGreaterThan(Long value) {
759 - addCriterion("STATUS >", value, "status");
760 - return (Criteria) this;
761 - }
762 -
763 - public Criteria andStatusGreaterThanOrEqualTo(Long value) {
764 - addCriterion("STATUS >=", value, "status");
765 - return (Criteria) this;
766 - }
767 -
768 - public Criteria andStatusLessThan(Long value) {
769 - addCriterion("STATUS <", value, "status");
770 - return (Criteria) this;
771 - }
772 -
773 - public Criteria andStatusLessThanOrEqualTo(Long value) {
774 - addCriterion("STATUS <=", value, "status");
775 - return (Criteria) this;
776 - }
777 -
778 - public Criteria andStatusIn(List<Long> values) {
779 - addCriterion("STATUS in", values, "status");
780 - return (Criteria) this;
781 - }
782 -
783 - public Criteria andStatusNotIn(List<Long> values) {
784 - addCriterion("STATUS not in", values, "status");
785 - return (Criteria) this;
786 - }
787 -
788 - public Criteria andStatusBetween(Long value1, Long value2) {
789 - addCriterion("STATUS between", value1, value2, "status");
790 - return (Criteria) this;
791 - }
792 -
793 - public Criteria andStatusNotBetween(Long value1, Long value2) {
794 - addCriterion("STATUS not between", value1, value2, "status");
795 - return (Criteria) this;
796 - }
797 -
798 public Criteria andCreateTimeIsNull() { 598 public Criteria andCreateTimeIsNull() {
799 addCriterion("CREATE_TIME is null"); 599 addCriterion("CREATE_TIME is null");
800 return (Criteria) this; 600 return (Criteria) this;
......
1 +package com.fedex.connect.common.model.log;
2 +
3 +import java.io.Serializable;
4 +
5 +/**
6 + * DESC: 操作日志
7 + * TABLE: ICLEARIMP.T_LOG_OPERATION
8 + */
9 +public class OperationWithBLOBs extends Operation implements Serializable {
10 + /**
11 + * 备注
12 + */
13 + private String remark;
14 +
15 + /**
16 + * 请求参数
17 + */
18 + private String requestParameters;
19 +
20 + /**
21 + * 请求结果
22 + */
23 + private String result;
24 +
25 + private static final long serialVersionUID = 1L;
26 +
27 + public String getRemark() {
28 + return remark;
29 + }
30 +
31 + public void setRemark(String remark) {
32 + this.remark = remark == null ? null : remark.trim();
33 + }
34 +
35 + public String getRequestParameters() {
36 + return requestParameters;
37 + }
38 +
39 + public void setRequestParameters(String requestParameters) {
40 + this.requestParameters = requestParameters == null ? null : requestParameters.trim();
41 + }
42 +
43 + public String getResult() {
44 + return result;
45 + }
46 +
47 + public void setResult(String result) {
48 + this.result = result == null ? null : result.trim();
49 + }
50 +
51 + @Override
52 + public String toString() {
53 + StringBuilder sb = new StringBuilder();
54 + sb.append(getClass().getSimpleName());
55 + sb.append(" [");
56 + sb.append("Hash = ").append(hashCode());
57 + sb.append(", remark=").append(remark);
58 + sb.append(", requestParameters=").append(requestParameters);
59 + sb.append(", result=").append(result);
60 + sb.append(", serialVersionUID=").append(serialVersionUID);
61 + sb.append("]");
62 + return sb.toString();
63 + }
64 +}
...\ No newline at end of file ...\ No newline at end of file