Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-Connect-Pre-Clearance
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tao.mo
2025-01-13 18:23:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0eb6ad1e45d8b671cc8fe3edd7dfc091d35bc91e
0eb6ad1e
1 parent
3395e3e5
common-dao | 修改 | 操作日志类型调整
mt 2025年1月13日18:22:43
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
120 additions
and
332 deletions
server/common-dao/src/main/java/com/fedex/connect/common/dao/log/OperationMapper.java
server/common-dao/src/main/java/com/fedex/connect/common/mapper/log/OperationMapper.xml
server/common-dao/src/main/java/com/fedex/connect/common/model/log/Operation.java
server/common-dao/src/main/java/com/fedex/connect/common/model/log/OperationExample.java
server/common-dao/src/main/java/com/fedex/connect/common/model/log/OperationWithBLOBs.java
server/common-dao/src/main/java/com/fedex/connect/common/dao/log/OperationMapper.java
View file @
0eb6ad1
...
...
@@ -2,6 +2,7 @@ package com.fedex.connect.common.dao.log;
import
com.fedex.connect.common.model.log.Operation
;
import
com.fedex.connect.common.model.log.OperationExample
;
import
com.fedex.connect.common.model.log.OperationWithBLOBs
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
...
...
@@ -12,25 +13,25 @@ public interface OperationMapper {
int
deleteByPrimaryKey
(
Long
id
);
int
insert
(
Operation
record
);
int
insert
(
Operation
WithBLOBs
record
);
int
insertSelective
(
Operation
record
);
int
insertSelective
(
Operation
WithBLOBs
record
);
List
<
Operation
>
selectByExampleWithBLOBs
(
OperationExample
example
);
List
<
Operation
WithBLOBs
>
selectByExampleWithBLOBs
(
OperationExample
example
);
List
<
Operation
>
selectByExample
(
OperationExample
example
);
Operation
selectByPrimaryKey
(
Long
id
);
Operation
WithBLOBs
selectByPrimaryKey
(
Long
id
);
int
updateByExampleSelective
(
@Param
(
"record"
)
Operation
record
,
@Param
(
"example"
)
OperationExample
example
);
int
updateByExampleSelective
(
@Param
(
"record"
)
Operation
WithBLOBs
record
,
@Param
(
"example"
)
OperationExample
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
Operation
record
,
@Param
(
"example"
)
OperationExample
example
);
int
updateByExampleWithBLOBs
(
@Param
(
"record"
)
Operation
WithBLOBs
record
,
@Param
(
"example"
)
OperationExample
example
);
int
updateByExample
(
@Param
(
"record"
)
Operation
record
,
@Param
(
"example"
)
OperationExample
example
);
int
updateByPrimaryKeySelective
(
Operation
record
);
int
updateByPrimaryKeySelective
(
Operation
WithBLOBs
record
);
int
updateByPrimaryKeyWithBLOBs
(
Operation
record
);
int
updateByPrimaryKeyWithBLOBs
(
Operation
WithBLOBs
record
);
int
updateByPrimaryKey
(
Operation
record
);
}
\ No newline at end of file
...
...
server/common-dao/src/main/java/com/fedex/connect/common/mapper/log/OperationMapper.xml
View file @
0eb6ad1
...
...
@@ -9,9 +9,6 @@
<result
column=
"MODULE"
jdbcType=
"VARCHAR"
property=
"module"
/>
<result
column=
"DESCRIBE"
jdbcType=
"VARCHAR"
property=
"describe"
/>
<result
column=
"URL"
jdbcType=
"VARCHAR"
property=
"url"
/>
<result
column=
"REQUEST_PARAMETERS"
jdbcType=
"VARCHAR"
property=
"requestParameters"
/>
<result
column=
"RESULT"
jdbcType=
"VARCHAR"
property=
"result"
/>
<result
column=
"STATUS"
jdbcType=
"NUMERIC"
property=
"status"
/>
<result
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"CREATE_USER_ID"
jdbcType=
"NUMERIC"
property=
"createUserId"
/>
<result
column=
"CREATE_USER_NAME"
jdbcType=
"VARCHAR"
property=
"createUserName"
/>
...
...
@@ -22,8 +19,10 @@
<result
column=
"RESPONSE_TIME"
jdbcType=
"TIMESTAMP"
property=
"responseTime"
/>
<result
column=
"EXCEUTE_CONSUME"
jdbcType=
"NUMERIC"
property=
"exceuteConsume"
/>
</resultMap>
<resultMap
extends=
"BaseResultMap"
id=
"ResultMapWithBLOBs"
type=
"com.fedex.connect.common.model.log.Operation"
>
<resultMap
extends=
"BaseResultMap"
id=
"ResultMapWithBLOBs"
type=
"com.fedex.connect.common.model.log.Operation
WithBLOBs
"
>
<result
column=
"REMARK"
jdbcType=
"CLOB"
property=
"remark"
/>
<result
column=
"REQUEST_PARAMETERS"
jdbcType=
"CLOB"
property=
"requestParameters"
/>
<result
column=
"RESULT"
jdbcType=
"CLOB"
property=
"result"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where>
...
...
@@ -84,12 +83,12 @@
</where>
</sql>
<sql
id=
"Base_Column_List"
>
ID, USER_ID, LOGIN_NAME, USER_NAME, MODULE, DESCRIBE, URL,
REQUEST_PARAMETERS, RESULT
,
STATUS, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID
,
MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME,
EXCEUTE_CONSUME
ID, USER_ID, LOGIN_NAME, USER_NAME, MODULE, DESCRIBE, URL,
CREATE_TIME, CREATE_USER_ID
,
CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME
,
EXCEUTE_CONSUME
</sql>
<sql
id=
"Blob_Column_List"
>
REMARK
REMARK
, REQUEST_PARAMETERS, RESULT
</sql>
<select
id=
"selectByExampleWithBLOBs"
parameterType=
"com.fedex.connect.common.model.log.OperationExample"
resultMap=
"ResultMapWithBLOBs"
>
select
...
...
@@ -143,26 +142,26 @@
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"com.fedex.connect.common.model.log.Operation"
>
<insert
id=
"insert"
parameterType=
"com.fedex.connect.common.model.log.Operation
WithBLOBs
"
>
<selectKey
keyProperty=
"id"
order=
"BEFORE"
resultType=
"java.lang.Long"
>
SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
</selectKey>
insert into ICLEARIMP.T_LOG_OPERATION (ID, USER_ID, LOGIN_NAME,
USER_NAME, MODULE, DESCRIBE,
URL, REQUEST_PARAMETERS, RESULT,
STATUS, CREATE_TIME, CREATE_USER_ID,
URL, CREATE_TIME, CREATE_USER_ID,
CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME,
EXCEUTE_CONSUME, REMARK)
EXCEUTE_CONSUME, REMARK, REQUEST_PARAMETERS,
RESULT)
values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{loginName,jdbcType=VARCHAR},
#{userName,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR},
#{url,jdbcType=VARCHAR}, #{requestParameters,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR},
#{status,jdbcType=NUMERIC}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC},
#{url,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC},
#{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC},
#{modifyUserName,jdbcType=VARCHAR}, #{requestTime,jdbcType=TIMESTAMP}, #{responseTime,jdbcType=TIMESTAMP},
#{exceuteConsume,jdbcType=NUMERIC}, #{remark,jdbcType=CLOB})
#{exceuteConsume,jdbcType=NUMERIC}, #{remark,jdbcType=CLOB}, #{requestParameters,jdbcType=CLOB},
#{result,jdbcType=CLOB})
</insert>
<insert
id=
"insertSelective"
parameterType=
"com.fedex.connect.common.model.log.Operation"
>
<insert
id=
"insertSelective"
parameterType=
"com.fedex.connect.common.model.log.Operation
WithBLOBs
"
>
<selectKey
keyProperty=
"id"
order=
"BEFORE"
resultType=
"java.lang.Long"
>
SELECT SEQ_T_LOG_OPERATION.NEXTVAL FROM DUAL
</selectKey>
...
...
@@ -187,15 +186,6 @@
<if
test=
"url != null"
>
URL,
</if>
<if
test=
"requestParameters != null"
>
REQUEST_PARAMETERS,
</if>
<if
test=
"result != null"
>
RESULT,
</if>
<if
test=
"status != null"
>
STATUS,
</if>
<if
test=
"createTime != null"
>
CREATE_TIME,
</if>
...
...
@@ -226,6 +216,12 @@
<if
test=
"remark != null"
>
REMARK,
</if>
<if
test=
"requestParameters != null"
>
REQUEST_PARAMETERS,
</if>
<if
test=
"result != null"
>
RESULT,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
#{id,jdbcType=NUMERIC},
...
...
@@ -247,15 +243,6 @@
<if
test=
"url != null"
>
#{url,jdbcType=VARCHAR},
</if>
<if
test=
"requestParameters != null"
>
#{requestParameters,jdbcType=VARCHAR},
</if>
<if
test=
"result != null"
>
#{result,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=NUMERIC},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
...
...
@@ -286,6 +273,12 @@
<if
test=
"remark != null"
>
#{remark,jdbcType=CLOB},
</if>
<if
test=
"requestParameters != null"
>
#{requestParameters,jdbcType=CLOB},
</if>
<if
test=
"result != null"
>
#{result,jdbcType=CLOB},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.fedex.connect.common.model.log.OperationExample"
resultType=
"java.lang.Long"
>
...
...
@@ -318,15 +311,6 @@
<if
test=
"record.url != null"
>
URL = #{record.url,jdbcType=VARCHAR},
</if>
<if
test=
"record.requestParameters != null"
>
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
</if>
<if
test=
"record.result != null"
>
RESULT = #{record.result,jdbcType=VARCHAR},
</if>
<if
test=
"record.status != null"
>
STATUS = #{record.status,jdbcType=NUMERIC},
</if>
<if
test=
"record.createTime != null"
>
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if>
...
...
@@ -357,6 +341,12 @@
<if
test=
"record.remark != null"
>
REMARK = #{record.remark,jdbcType=CLOB},
</if>
<if
test=
"record.requestParameters != null"
>
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=CLOB},
</if>
<if
test=
"record.result != null"
>
RESULT = #{record.result,jdbcType=CLOB},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
...
...
@@ -371,9 +361,6 @@
MODULE = #{record.module,jdbcType=VARCHAR},
DESCRIBE = #{record.describe,jdbcType=VARCHAR},
URL = #{record.url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
RESULT = #{record.result,jdbcType=VARCHAR},
STATUS = #{record.status,jdbcType=NUMERIC},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
...
...
@@ -383,7 +370,9 @@
REQUEST_TIME = #{record.requestTime,jdbcType=TIMESTAMP},
RESPONSE_TIME = #{record.responseTime,jdbcType=TIMESTAMP},
EXCEUTE_CONSUME = #{record.exceuteConsume,jdbcType=NUMERIC},
REMARK = #{record.remark,jdbcType=CLOB}
REMARK = #{record.remark,jdbcType=CLOB},
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=CLOB},
RESULT = #{record.result,jdbcType=CLOB}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
...
...
@@ -397,9 +386,6 @@
MODULE = #{record.module,jdbcType=VARCHAR},
DESCRIBE = #{record.describe,jdbcType=VARCHAR},
URL = #{record.url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{record.requestParameters,jdbcType=VARCHAR},
RESULT = #{record.result,jdbcType=VARCHAR},
STATUS = #{record.status,jdbcType=NUMERIC},
CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
...
...
@@ -413,7 +399,7 @@
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.fedex.connect.common.model.log.Operation"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.fedex.connect.common.model.log.Operation
WithBLOBs
"
>
update ICLEARIMP.T_LOG_OPERATION
<set>
<if
test=
"userId != null"
>
...
...
@@ -434,15 +420,6 @@
<if
test=
"url != null"
>
URL = #{url,jdbcType=VARCHAR},
</if>
<if
test=
"requestParameters != null"
>
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
</if>
<if
test=
"result != null"
>
RESULT = #{result,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
STATUS = #{status,jdbcType=NUMERIC},
</if>
<if
test=
"createTime != null"
>
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if>
...
...
@@ -473,10 +450,16 @@
<if
test=
"remark != null"
>
REMARK = #{remark,jdbcType=CLOB},
</if>
<if
test=
"requestParameters != null"
>
REQUEST_PARAMETERS = #{requestParameters,jdbcType=CLOB},
</if>
<if
test=
"result != null"
>
RESULT = #{result,jdbcType=CLOB},
</if>
</set>
where ID = #{id,jdbcType=NUMERIC}
</update>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.fedex.connect.common.model.log.Operation"
>
<update
id=
"updateByPrimaryKeyWithBLOBs"
parameterType=
"com.fedex.connect.common.model.log.Operation
WithBLOBs
"
>
update ICLEARIMP.T_LOG_OPERATION
set USER_ID = #{userId,jdbcType=NUMERIC},
LOGIN_NAME = #{loginName,jdbcType=VARCHAR},
...
...
@@ -484,9 +467,6 @@
MODULE = #{module,jdbcType=VARCHAR},
DESCRIBE = #{describe,jdbcType=VARCHAR},
URL = #{url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
RESULT = #{result,jdbcType=VARCHAR},
STATUS = #{status,jdbcType=NUMERIC},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
...
...
@@ -496,7 +476,9 @@
REQUEST_TIME = #{requestTime,jdbcType=TIMESTAMP},
RESPONSE_TIME = #{responseTime,jdbcType=TIMESTAMP},
EXCEUTE_CONSUME = #{exceuteConsume,jdbcType=NUMERIC},
REMARK = #{remark,jdbcType=CLOB}
REMARK = #{remark,jdbcType=CLOB},
REQUEST_PARAMETERS = #{requestParameters,jdbcType=CLOB},
RESULT = #{result,jdbcType=CLOB}
where ID = #{id,jdbcType=NUMERIC}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"com.fedex.connect.common.model.log.Operation"
>
...
...
@@ -507,9 +489,6 @@
MODULE = #{module,jdbcType=VARCHAR},
DESCRIBE = #{describe,jdbcType=VARCHAR},
URL = #{url,jdbcType=VARCHAR},
REQUEST_PARAMETERS = #{requestParameters,jdbcType=VARCHAR},
RESULT = #{result,jdbcType=VARCHAR},
STATUS = #{status,jdbcType=NUMERIC},
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC},
CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
...
...
server/common-dao/src/main/java/com/fedex/connect/common/model/log/Operation.java
View file @
0eb6ad1
...
...
@@ -44,21 +44,6 @@ public class Operation implements Serializable {
private
String
url
;
/**
* 请求参数
*/
private
String
requestParameters
;
/**
* 操作结果
*/
private
String
result
;
/**
* 状态(0:展示、1:不展示)
*/
private
Long
status
;
/**
* 创建时间
*/
private
Date
createTime
;
...
...
@@ -103,11 +88,6 @@ public class Operation implements Serializable {
*/
private
Long
exceuteConsume
;
/**
* 备注
*/
private
String
remark
;
private
static
final
long
serialVersionUID
=
1L
;
public
Long
getId
()
{
...
...
@@ -166,30 +146,6 @@ public class Operation implements Serializable {
this
.
url
=
url
==
null
?
null
:
url
.
trim
();
}
public
String
getRequestParameters
()
{
return
requestParameters
;
}
public
void
setRequestParameters
(
String
requestParameters
)
{
this
.
requestParameters
=
requestParameters
==
null
?
null
:
requestParameters
.
trim
();
}
public
String
getResult
()
{
return
result
;
}
public
void
setResult
(
String
result
)
{
this
.
result
=
result
==
null
?
null
:
result
.
trim
();
}
public
Long
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Long
status
)
{
this
.
status
=
status
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
...
...
@@ -262,14 +218,6 @@ public class Operation implements Serializable {
this
.
exceuteConsume
=
exceuteConsume
;
}
public
String
getRemark
()
{
return
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
==
null
?
null
:
remark
.
trim
();
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
...
...
@@ -283,9 +231,6 @@ public class Operation implements Serializable {
sb
.
append
(
", module="
).
append
(
module
);
sb
.
append
(
", describe="
).
append
(
describe
);
sb
.
append
(
", url="
).
append
(
url
);
sb
.
append
(
", requestParameters="
).
append
(
requestParameters
);
sb
.
append
(
", result="
).
append
(
result
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", createUserId="
).
append
(
createUserId
);
sb
.
append
(
", createUserName="
).
append
(
createUserName
);
...
...
@@ -295,7 +240,6 @@ public class Operation implements Serializable {
sb
.
append
(
", requestTime="
).
append
(
requestTime
);
sb
.
append
(
", responseTime="
).
append
(
responseTime
);
sb
.
append
(
", exceuteConsume="
).
append
(
exceuteConsume
);
sb
.
append
(
", remark="
).
append
(
remark
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
...
...
server/common-dao/src/main/java/com/fedex/connect/common/model/log/OperationExample.java
View file @
0eb6ad1
...
...
@@ -595,206 +595,6 @@ public class OperationExample {
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersIsNull
()
{
addCriterion
(
"REQUEST_PARAMETERS is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersIsNotNull
()
{
addCriterion
(
"REQUEST_PARAMETERS is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersEqualTo
(
String
value
)
{
addCriterion
(
"REQUEST_PARAMETERS ="
,
value
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersNotEqualTo
(
String
value
)
{
addCriterion
(
"REQUEST_PARAMETERS <>"
,
value
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersGreaterThan
(
String
value
)
{
addCriterion
(
"REQUEST_PARAMETERS >"
,
value
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"REQUEST_PARAMETERS >="
,
value
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersLessThan
(
String
value
)
{
addCriterion
(
"REQUEST_PARAMETERS <"
,
value
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"REQUEST_PARAMETERS <="
,
value
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersLike
(
String
value
)
{
addCriterion
(
"REQUEST_PARAMETERS like"
,
value
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersNotLike
(
String
value
)
{
addCriterion
(
"REQUEST_PARAMETERS not like"
,
value
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersIn
(
List
<
String
>
values
)
{
addCriterion
(
"REQUEST_PARAMETERS in"
,
values
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"REQUEST_PARAMETERS not in"
,
values
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"REQUEST_PARAMETERS between"
,
value1
,
value2
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRequestParametersNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"REQUEST_PARAMETERS not between"
,
value1
,
value2
,
"requestParameters"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultIsNull
()
{
addCriterion
(
"RESULT is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultIsNotNull
()
{
addCriterion
(
"RESULT is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultEqualTo
(
String
value
)
{
addCriterion
(
"RESULT ="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotEqualTo
(
String
value
)
{
addCriterion
(
"RESULT <>"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultGreaterThan
(
String
value
)
{
addCriterion
(
"RESULT >"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"RESULT >="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultLessThan
(
String
value
)
{
addCriterion
(
"RESULT <"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"RESULT <="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultLike
(
String
value
)
{
addCriterion
(
"RESULT like"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotLike
(
String
value
)
{
addCriterion
(
"RESULT not like"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultIn
(
List
<
String
>
values
)
{
addCriterion
(
"RESULT in"
,
values
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"RESULT not in"
,
values
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"RESULT between"
,
value1
,
value2
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"RESULT not between"
,
value1
,
value2
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNull
()
{
addCriterion
(
"STATUS is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIsNotNull
()
{
addCriterion
(
"STATUS is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusEqualTo
(
Long
value
)
{
addCriterion
(
"STATUS ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Long
value
)
{
addCriterion
(
"STATUS <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Long
value
)
{
addCriterion
(
"STATUS >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"STATUS >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Long
value
)
{
addCriterion
(
"STATUS <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"STATUS <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Long
>
values
)
{
addCriterion
(
"STATUS in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"STATUS not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"STATUS between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"STATUS not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"CREATE_TIME is null"
);
return
(
Criteria
)
this
;
...
...
server/common-dao/src/main/java/com/fedex/connect/common/model/log/OperationWithBLOBs.java
0 → 100644
View file @
0eb6ad1
package
com
.
fedex
.
connect
.
common
.
model
.
log
;
import
java.io.Serializable
;
/**
* DESC: 操作日志
* TABLE: ICLEARIMP.T_LOG_OPERATION
*/
public
class
OperationWithBLOBs
extends
Operation
implements
Serializable
{
/**
* 备注
*/
private
String
remark
;
/**
* 请求参数
*/
private
String
requestParameters
;
/**
* 请求结果
*/
private
String
result
;
private
static
final
long
serialVersionUID
=
1L
;
public
String
getRemark
()
{
return
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
==
null
?
null
:
remark
.
trim
();
}
public
String
getRequestParameters
()
{
return
requestParameters
;
}
public
void
setRequestParameters
(
String
requestParameters
)
{
this
.
requestParameters
=
requestParameters
==
null
?
null
:
requestParameters
.
trim
();
}
public
String
getResult
()
{
return
result
;
}
public
void
setResult
(
String
result
)
{
this
.
result
=
result
==
null
?
null
:
result
.
trim
();
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", remark="
).
append
(
remark
);
sb
.
append
(
", requestParameters="
).
append
(
requestParameters
);
sb
.
append
(
", result="
).
append
(
result
);
sb
.
append
(
", serialVersionUID="
).
append
(
serialVersionUID
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
}
\ No newline at end of file
Please
register
or
login
to post a comment