Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
deee24e5
Commit
deee24e5
authored
Nov 15, 2017
by
jmdhappy
Browse files
提交转账,退款接口;重构商户通知;修复已知Bug
parent
d5333a0d
Changes
76
Show whitespace changes
Inline
Side-by-side
xxpay-common/src/main/java/org/xxpay/common/constant/PayConstant.java
View file @
deee24e5
...
...
@@ -23,8 +23,8 @@ public class PayConstant {
public
final
static
String
PAY_CHANNEL_ALIPAY_WAP
=
"ALIPAY_WAP"
;
// 支付宝WAP支付
public
final
static
String
PAY_CHANNEL_ALIPAY_QR
=
"ALIPAY_QR"
;
// 支付宝当面付之扫码支付
public
final
static
String
TRANS_
CHANNEL_
WX_APP
=
"TRANS_WX_APP
"
;
//
微信APP转账
public
final
static
String
TRANS_
CHANNEL_
WX_JSAPI
=
"TRANS_WX_JSAPI"
;
// 微信公众号转账
public
final
static
String
CHANNEL_
NAME_WX
=
"WX
"
;
//
渠道名称:微信
public
final
static
String
CHANNEL_
NAME_ALIPAY
=
"ALIPAY"
;
// 渠道名称:支付宝
...
...
@@ -41,6 +41,30 @@ public class PayConstant {
public
final
static
byte
TRANS_STATUS_FAIL
=
3
;
// 失败
public
final
static
byte
TRANS_STATUS_COMPLETE
=
4
;
// 业务完成
public
final
static
byte
TRANS_RESULT_INIT
=
0
;
// 不确认结果
public
final
static
byte
TRANS_RESULT_REFUNDING
=
1
;
// 等待手动处理
public
final
static
byte
TRANS_RESULT_SUCCESS
=
2
;
// 确认成功
public
final
static
byte
TRANS_RESULT_FAIL
=
3
;
// 确认失败
public
final
static
byte
REFUND_STATUS_INIT
=
0
;
// 初始态
public
final
static
byte
REFUND_STATUS_REFUNDING
=
1
;
// 转账中
public
final
static
byte
REFUND_STATUS_SUCCESS
=
2
;
// 成功
public
final
static
byte
REFUND_STATUS_FAIL
=
3
;
// 失败
public
final
static
byte
REFUND_STATUS_COMPLETE
=
4
;
// 业务完成
public
final
static
byte
REFUND_RESULT_INIT
=
0
;
// 不确认结果
public
final
static
byte
REFUND_RESULT_REFUNDING
=
1
;
// 等待手动处理
public
final
static
byte
REFUND_RESULT_SUCCESS
=
2
;
// 确认成功
public
final
static
byte
REFUND_RESULT_FAIL
=
3
;
// 确认失败
public
final
static
String
MCH_NOTIFY_TYPE_PAY
=
"1"
;
// 商户通知类型:支付订单
public
final
static
String
MCH_NOTIFY_TYPE_TRANS
=
"2"
;
// 商户通知类型:转账订单
public
final
static
String
MCH_NOTIFY_TYPE_REFUND
=
"3"
;
// 商户通知类型:退款订单
public
final
static
byte
MCH_NOTIFY_STATUS_NOTIFYING
=
1
;
// 通知中
public
final
static
byte
MCH_NOTIFY_STATUS_SUCCESS
=
2
;
// 通知成功
public
final
static
byte
MCH_NOTIFY_STATUS_FAIL
=
3
;
// 通知失败
public
final
static
String
RESP_UTF8
=
"UTF-8"
;
// 通知业务系统使用的编码
...
...
xxpay-common/src/main/java/org/xxpay/common/util/MySeq.java
View file @
deee24e5
...
...
@@ -16,6 +16,8 @@ public class MySeq {
private
static
String
pay_seq_prefix
=
"P"
;
private
static
AtomicLong
trans_seq
=
new
AtomicLong
(
0L
);
private
static
String
trans_seq_prefix
=
"T"
;
private
static
AtomicLong
refund_seq
=
new
AtomicLong
(
0L
);
private
static
String
refund_seq_prefix
=
"R"
;
private
static
String
node
=
"00"
;
static
{
...
...
@@ -37,6 +39,9 @@ public class MySeq {
return
getSeq
(
trans_seq_prefix
,
trans_seq
);
}
public
static
String
getRefund
()
{
return
getSeq
(
refund_seq_prefix
,
refund_seq
);
}
private
static
String
getSeq
(
String
prefix
,
AtomicLong
seq
)
{
prefix
+=
node
;
...
...
@@ -47,6 +52,7 @@ public class MySeq {
for
(
int
i
=
0
;
i
<
100
;
i
++)
{
System
.
out
.
println
(
"pay="
+
getPay
());
System
.
out
.
println
(
"trans="
+
getTrans
());
System
.
out
.
println
(
"refund="
+
getRefund
());
}
}
...
...
xxpay-common/src/main/java/org/xxpay/common/util/RpcUtil.java
View file @
deee24e5
...
...
@@ -114,4 +114,11 @@ public class RpcUtil {
return
null
;
}
public
static
Boolean
isSuccess
(
Map
<
String
,
Object
>
result
)
{
if
(
result
==
null
)
return
false
;
String
retCode
=
(
String
)
result
.
get
(
"rpcRetCode"
);
if
(
"0000"
.
equals
(
retCode
)
&&
result
.
get
(
"bizResult"
)
!=
null
)
return
true
;
return
false
;
}
}
xxpay-common/src/main/java/org/xxpay/common/util/StrUtil.java
0 → 100644
View file @
deee24e5
package
org.xxpay.common.util
;
/**
* @author: dingzhiwei
* @date: 17/11/1
* @description:
*/
public
class
StrUtil
{
public
static
String
toString
(
Object
obj
)
{
return
obj
==
null
?
""
:
obj
.
toString
();
}
public
static
String
toString
(
Object
obj
,
String
nullStr
)
{
return
obj
==
null
?
nullStr:
obj
.
toString
();
}
}
xxpay-dal/src/main/java/org/xxpay/dal/dao/mapper/MchNotifyMapper.java
0 → 100644
View file @
deee24e5
package
org.xxpay.dal.dao.mapper
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.xxpay.dal.dao.model.MchNotify
;
import
org.xxpay.dal.dao.model.MchNotifyExample
;
public
interface
MchNotifyMapper
{
int
countByExample
(
MchNotifyExample
example
);
int
deleteByExample
(
MchNotifyExample
example
);
int
deleteByPrimaryKey
(
String
orderId
);
int
insert
(
MchNotify
record
);
int
insertSelective
(
MchNotify
record
);
List
<
MchNotify
>
selectByExample
(
MchNotifyExample
example
);
MchNotify
selectByPrimaryKey
(
String
orderId
);
int
updateByExampleSelective
(
@Param
(
"record"
)
MchNotify
record
,
@Param
(
"example"
)
MchNotifyExample
example
);
int
updateByExample
(
@Param
(
"record"
)
MchNotify
record
,
@Param
(
"example"
)
MchNotifyExample
example
);
int
updateByPrimaryKeySelective
(
MchNotify
record
);
int
updateByPrimaryKey
(
MchNotify
record
);
int
insertSelectiveOnDuplicateKeyUpdate
(
MchNotify
record
);
}
\ No newline at end of file
xxpay-dal/src/main/java/org/xxpay/dal/dao/mapper/RefundOrderMapper.java
0 → 100644
View file @
deee24e5
package
org.xxpay.dal.dao.mapper
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.xxpay.dal.dao.model.RefundOrder
;
import
org.xxpay.dal.dao.model.RefundOrderExample
;
public
interface
RefundOrderMapper
{
int
countByExample
(
RefundOrderExample
example
);
int
deleteByExample
(
RefundOrderExample
example
);
int
deleteByPrimaryKey
(
String
refundOrderId
);
int
insert
(
RefundOrder
record
);
int
insertSelective
(
RefundOrder
record
);
List
<
RefundOrder
>
selectByExample
(
RefundOrderExample
example
);
RefundOrder
selectByPrimaryKey
(
String
refundOrderId
);
int
updateByExampleSelective
(
@Param
(
"record"
)
RefundOrder
record
,
@Param
(
"example"
)
RefundOrderExample
example
);
int
updateByExample
(
@Param
(
"record"
)
RefundOrder
record
,
@Param
(
"example"
)
RefundOrderExample
example
);
int
updateByPrimaryKeySelective
(
RefundOrder
record
);
int
updateByPrimaryKey
(
RefundOrder
record
);
}
\ No newline at end of file
xxpay-dal/src/main/java/org/xxpay/dal/dao/model/MchNotify.java
0 → 100644
View file @
deee24e5
package
org.xxpay.dal.dao.model
;
import
java.io.Serializable
;
import
java.util.Date
;
public
class
MchNotify
implements
Serializable
{
/**
* 订单ID
*
* @mbggenerated
*/
private
String
orderId
;
/**
* 商户ID
*
* @mbggenerated
*/
private
String
mchId
;
/**
* 商户订单号
*
* @mbggenerated
*/
private
String
mchOrderNo
;
/**
* 订单类型:1-支付,2-转账,3-退款
*
* @mbggenerated
*/
private
String
orderType
;
/**
* 通知地址
*
* @mbggenerated
*/
private
String
notifyUrl
;
/**
* 通知次数
*
* @mbggenerated
*/
private
Byte
notifyCount
;
/**
* 通知响应结果
*
* @mbggenerated
*/
private
String
result
;
/**
* 通知状态,1-通知中,2-通知成功,3-通知失败
*
* @mbggenerated
*/
private
Byte
status
;
/**
* 最后一次通知时间
*
* @mbggenerated
*/
private
Date
lastNotifyTime
;
/**
* 创建时间
*
* @mbggenerated
*/
private
Date
createTime
;
/**
* 更新时间
*
* @mbggenerated
*/
private
Date
updateTime
;
private
static
final
long
serialVersionUID
=
1L
;
public
String
getOrderId
()
{
return
orderId
;
}
public
void
setOrderId
(
String
orderId
)
{
this
.
orderId
=
orderId
;
}
public
String
getMchId
()
{
return
mchId
;
}
public
void
setMchId
(
String
mchId
)
{
this
.
mchId
=
mchId
;
}
public
String
getMchOrderNo
()
{
return
mchOrderNo
;
}
public
void
setMchOrderNo
(
String
mchOrderNo
)
{
this
.
mchOrderNo
=
mchOrderNo
;
}
public
String
getOrderType
()
{
return
orderType
;
}
public
void
setOrderType
(
String
orderType
)
{
this
.
orderType
=
orderType
;
}
public
String
getNotifyUrl
()
{
return
notifyUrl
;
}
public
void
setNotifyUrl
(
String
notifyUrl
)
{
this
.
notifyUrl
=
notifyUrl
;
}
public
Byte
getNotifyCount
()
{
return
notifyCount
;
}
public
void
setNotifyCount
(
Byte
notifyCount
)
{
this
.
notifyCount
=
notifyCount
;
}
public
String
getResult
()
{
return
result
;
}
public
void
setResult
(
String
result
)
{
this
.
result
=
result
;
}
public
Byte
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Byte
status
)
{
this
.
status
=
status
;
}
public
Date
getLastNotifyTime
()
{
return
lastNotifyTime
;
}
public
void
setLastNotifyTime
(
Date
lastNotifyTime
)
{
this
.
lastNotifyTime
=
lastNotifyTime
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", orderId="
).
append
(
orderId
);
sb
.
append
(
", mchId="
).
append
(
mchId
);
sb
.
append
(
", mchOrderNo="
).
append
(
mchOrderNo
);
sb
.
append
(
", orderType="
).
append
(
orderType
);
sb
.
append
(
", notifyUrl="
).
append
(
notifyUrl
);
sb
.
append
(
", notifyCount="
).
append
(
notifyCount
);
sb
.
append
(
", result="
).
append
(
result
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", lastNotifyTime="
).
append
(
lastNotifyTime
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
@Override
public
boolean
equals
(
Object
that
)
{
if
(
this
==
that
)
{
return
true
;
}
if
(
that
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
that
.
getClass
())
{
return
false
;
}
MchNotify
other
=
(
MchNotify
)
that
;
return
(
this
.
getOrderId
()
==
null
?
other
.
getOrderId
()
==
null
:
this
.
getOrderId
().
equals
(
other
.
getOrderId
()))
&&
(
this
.
getMchId
()
==
null
?
other
.
getMchId
()
==
null
:
this
.
getMchId
().
equals
(
other
.
getMchId
()))
&&
(
this
.
getMchOrderNo
()
==
null
?
other
.
getMchOrderNo
()
==
null
:
this
.
getMchOrderNo
().
equals
(
other
.
getMchOrderNo
()))
&&
(
this
.
getOrderType
()
==
null
?
other
.
getOrderType
()
==
null
:
this
.
getOrderType
().
equals
(
other
.
getOrderType
()))
&&
(
this
.
getNotifyUrl
()
==
null
?
other
.
getNotifyUrl
()
==
null
:
this
.
getNotifyUrl
().
equals
(
other
.
getNotifyUrl
()))
&&
(
this
.
getNotifyCount
()
==
null
?
other
.
getNotifyCount
()
==
null
:
this
.
getNotifyCount
().
equals
(
other
.
getNotifyCount
()))
&&
(
this
.
getResult
()
==
null
?
other
.
getResult
()
==
null
:
this
.
getResult
().
equals
(
other
.
getResult
()))
&&
(
this
.
getStatus
()
==
null
?
other
.
getStatus
()
==
null
:
this
.
getStatus
().
equals
(
other
.
getStatus
()))
&&
(
this
.
getLastNotifyTime
()
==
null
?
other
.
getLastNotifyTime
()
==
null
:
this
.
getLastNotifyTime
().
equals
(
other
.
getLastNotifyTime
()))
&&
(
this
.
getCreateTime
()
==
null
?
other
.
getCreateTime
()
==
null
:
this
.
getCreateTime
().
equals
(
other
.
getCreateTime
()))
&&
(
this
.
getUpdateTime
()
==
null
?
other
.
getUpdateTime
()
==
null
:
this
.
getUpdateTime
().
equals
(
other
.
getUpdateTime
()));
}
@Override
public
int
hashCode
()
{
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
getOrderId
()
==
null
)
?
0
:
getOrderId
().
hashCode
());
result
=
prime
*
result
+
((
getMchId
()
==
null
)
?
0
:
getMchId
().
hashCode
());
result
=
prime
*
result
+
((
getMchOrderNo
()
==
null
)
?
0
:
getMchOrderNo
().
hashCode
());
result
=
prime
*
result
+
((
getOrderType
()
==
null
)
?
0
:
getOrderType
().
hashCode
());
result
=
prime
*
result
+
((
getNotifyUrl
()
==
null
)
?
0
:
getNotifyUrl
().
hashCode
());
result
=
prime
*
result
+
((
getNotifyCount
()
==
null
)
?
0
:
getNotifyCount
().
hashCode
());
result
=
prime
*
result
+
((
getResult
()
==
null
)
?
0
:
getResult
().
hashCode
());
result
=
prime
*
result
+
((
getStatus
()
==
null
)
?
0
:
getStatus
().
hashCode
());
result
=
prime
*
result
+
((
getLastNotifyTime
()
==
null
)
?
0
:
getLastNotifyTime
().
hashCode
());
result
=
prime
*
result
+
((
getCreateTime
()
==
null
)
?
0
:
getCreateTime
().
hashCode
());
result
=
prime
*
result
+
((
getUpdateTime
()
==
null
)
?
0
:
getUpdateTime
().
hashCode
());
return
result
;
}
}
\ No newline at end of file
xxpay-dal/src/main/java/org/xxpay/dal/dao/model/MchNotifyExample.java
0 → 100644
View file @
deee24e5
package
org.xxpay.dal.dao.model
;
import
java.io.Serializable
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
MchNotifyExample
implements
Serializable
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
private
static
final
long
serialVersionUID
=
1L
;
private
Integer
limit
;
private
Integer
offset
;
public
MchNotifyExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
public
void
setLimit
(
Integer
limit
)
{
this
.
limit
=
limit
;
}
public
Integer
getLimit
()
{
return
limit
;
}
public
void
setOffset
(
Integer
offset
)
{
this
.
offset
=
offset
;
}
public
Integer
getOffset
()
{
return
offset
;
}
protected
abstract
static
class
GeneratedCriteria
implements
Serializable
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andOrderIdIsNull
()
{
addCriterion
(
"OrderId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdIsNotNull
()
{
addCriterion
(
"OrderId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdEqualTo
(
String
value
)
{
addCriterion
(
"OrderId ="
,
value
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdNotEqualTo
(
String
value
)
{
addCriterion
(
"OrderId <>"
,
value
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdGreaterThan
(
String
value
)
{
addCriterion
(
"OrderId >"
,
value
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"OrderId >="
,
value
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdLessThan
(
String
value
)
{
addCriterion
(
"OrderId <"
,
value
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"OrderId <="
,
value
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdLike
(
String
value
)
{
addCriterion
(
"OrderId like"
,
value
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdNotLike
(
String
value
)
{
addCriterion
(
"OrderId not like"
,
value
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"OrderId in"
,
values
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"OrderId not in"
,
values
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"OrderId between"
,
value1
,
value2
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"OrderId not between"
,
value1
,
value2
,
"orderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdIsNull
()
{
addCriterion
(
"MchId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdIsNotNull
()
{
addCriterion
(
"MchId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdEqualTo
(
String
value
)
{
addCriterion
(
"MchId ="
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdNotEqualTo
(
String
value
)
{
addCriterion
(
"MchId <>"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdGreaterThan
(
String
value
)
{
addCriterion
(
"MchId >"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"MchId >="
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdLessThan
(
String
value
)
{
addCriterion
(
"MchId <"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"MchId <="
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdLike
(
String
value
)
{
addCriterion
(
"MchId like"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdNotLike
(
String
value
)
{
addCriterion
(
"MchId not like"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"MchId in"
,
values
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"MchId not in"
,
values
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"MchId between"
,
value1
,
value2
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"MchId not between"
,
value1
,
value2
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoIsNull
()
{
addCriterion
(
"MchOrderNo is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoIsNotNull
()
{
addCriterion
(
"MchOrderNo is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoEqualTo
(
String
value
)
{
addCriterion
(
"MchOrderNo ="
,
value
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoNotEqualTo
(
String
value
)
{
addCriterion
(
"MchOrderNo <>"
,
value
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoGreaterThan
(
String
value
)
{
addCriterion
(
"MchOrderNo >"
,
value
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"MchOrderNo >="
,
value
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoLessThan
(
String
value
)
{
addCriterion
(
"MchOrderNo <"
,
value
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"MchOrderNo <="
,
value
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoLike
(
String
value
)
{
addCriterion
(
"MchOrderNo like"
,
value
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoNotLike
(
String
value
)
{
addCriterion
(
"MchOrderNo not like"
,
value
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoIn
(
List
<
String
>
values
)
{
addCriterion
(
"MchOrderNo in"
,
values
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"MchOrderNo not in"
,
values
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"MchOrderNo between"
,
value1
,
value2
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchOrderNoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"MchOrderNo not between"
,
value1
,
value2
,
"mchOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeIsNull
()
{
addCriterion
(
"OrderType is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeIsNotNull
()
{
addCriterion
(
"OrderType is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeEqualTo
(
String
value
)
{
addCriterion
(
"OrderType ="
,
value
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeNotEqualTo
(
String
value
)
{
addCriterion
(
"OrderType <>"
,
value
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeGreaterThan
(
String
value
)
{
addCriterion
(
"OrderType >"
,
value
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"OrderType >="
,
value
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeLessThan
(
String
value
)
{
addCriterion
(
"OrderType <"
,
value
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"OrderType <="
,
value
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeLike
(
String
value
)
{
addCriterion
(
"OrderType like"
,
value
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeNotLike
(
String
value
)
{
addCriterion
(
"OrderType not like"
,
value
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeIn
(
List
<
String
>
values
)
{
addCriterion
(
"OrderType in"
,
values
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"OrderType not in"
,
values
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"OrderType between"
,
value1
,
value2
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOrderTypeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"OrderType not between"
,
value1
,
value2
,
"orderType"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlIsNull
()
{
addCriterion
(
"NotifyUrl is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlIsNotNull
()
{
addCriterion
(
"NotifyUrl is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlEqualTo
(
String
value
)
{
addCriterion
(
"NotifyUrl ="
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"NotifyUrl <>"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlGreaterThan
(
String
value
)
{
addCriterion
(
"NotifyUrl >"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"NotifyUrl >="
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlLessThan
(
String
value
)
{
addCriterion
(
"NotifyUrl <"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"NotifyUrl <="
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlLike
(
String
value
)
{
addCriterion
(
"NotifyUrl like"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlNotLike
(
String
value
)
{
addCriterion
(
"NotifyUrl not like"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlIn
(
List
<
String
>
values
)
{
addCriterion
(
"NotifyUrl in"
,
values
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"NotifyUrl not in"
,
values
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"NotifyUrl between"
,
value1
,
value2
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"NotifyUrl not between"
,
value1
,
value2
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountIsNull
()
{
addCriterion
(
"NotifyCount is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountIsNotNull
()
{
addCriterion
(
"NotifyCount is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountEqualTo
(
Byte
value
)
{
addCriterion
(
"NotifyCount ="
,
value
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountNotEqualTo
(
Byte
value
)
{
addCriterion
(
"NotifyCount <>"
,
value
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountGreaterThan
(
Byte
value
)
{
addCriterion
(
"NotifyCount >"
,
value
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"NotifyCount >="
,
value
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountLessThan
(
Byte
value
)
{
addCriterion
(
"NotifyCount <"
,
value
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"NotifyCount <="
,
value
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"NotifyCount in"
,
values
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"NotifyCount not in"
,
values
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"NotifyCount between"
,
value1
,
value2
,
"notifyCount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"NotifyCount not between"
,
value1
,
value2
,
"notifyCount"
);
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
(
Byte
value
)
{
addCriterion
(
"Status ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Byte
value
)
{
addCriterion
(
"Status <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Byte
value
)
{
addCriterion
(
"Status >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"Status >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Byte
value
)
{
addCriterion
(
"Status <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"Status <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"Status in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"Status not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"Status between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"Status not between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeIsNull
()
{
addCriterion
(
"LastNotifyTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeIsNotNull
()
{
addCriterion
(
"LastNotifyTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeEqualTo
(
Date
value
)
{
addCriterion
(
"LastNotifyTime ="
,
value
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"LastNotifyTime <>"
,
value
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"LastNotifyTime >"
,
value
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"LastNotifyTime >="
,
value
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeLessThan
(
Date
value
)
{
addCriterion
(
"LastNotifyTime <"
,
value
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"LastNotifyTime <="
,
value
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"LastNotifyTime in"
,
values
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"LastNotifyTime not in"
,
values
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"LastNotifyTime between"
,
value1
,
value2
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andLastNotifyTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"LastNotifyTime not between"
,
value1
,
value2
,
"lastNotifyTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"CreateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"CreateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"CreateTime >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"CreateTime <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"UpdateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"UpdateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"UpdateTime >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"UpdateTime <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
implements
Serializable
{
protected
Criteria
()
{
super
();
}
}
public
static
class
Criterion
implements
Serializable
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
xxpay-dal/src/main/java/org/xxpay/dal/dao/model/RefundOrder.java
0 → 100644
View file @
deee24e5
package
org.xxpay.dal.dao.model
;
import
java.io.Serializable
;
import
java.util.Date
;
public
class
RefundOrder
implements
Serializable
{
/**
* 退款订单号
*
* @mbggenerated
*/
private
String
refundOrderId
;
/**
* 支付订单号
*
* @mbggenerated
*/
private
String
payOrderId
;
/**
* 渠道支付单号
*
* @mbggenerated
*/
private
String
channelPayOrderNo
;
/**
* 商户ID
*
* @mbggenerated
*/
private
String
mchId
;
/**
* 商户退款单号
*
* @mbggenerated
*/
private
String
mchRefundNo
;
/**
* 渠道ID
*
* @mbggenerated
*/
private
String
channelId
;
/**
* 支付金额,单位分
*
* @mbggenerated
*/
private
Long
payAmount
;
/**
* 退款金额,单位分
*
* @mbggenerated
*/
private
Long
refundAmount
;
/**
* 三位货币代码,人民币:cny
*
* @mbggenerated
*/
private
String
currency
;
/**
* 退款状态:0-订单生成,1-退款中,2-退款成功,3-退款失败,4-业务处理完成
*
* @mbggenerated
*/
private
Byte
status
;
/**
* 退款结果:0-不确认结果,1-等待手动处理,2-确认成功,3-确认失败
*
* @mbggenerated
*/
private
Byte
result
;
/**
* 客户端IP
*
* @mbggenerated
*/
private
String
clientIp
;
/**
* 设备
*
* @mbggenerated
*/
private
String
device
;
/**
* 备注
*
* @mbggenerated
*/
private
String
remarkInfo
;
/**
* 渠道用户标识,如微信openId,支付宝账号
*
* @mbggenerated
*/
private
String
channelUser
;
/**
* 用户姓名
*
* @mbggenerated
*/
private
String
userName
;
/**
* 渠道商户ID
*
* @mbggenerated
*/
private
String
channelMchId
;
/**
* 渠道订单号
*
* @mbggenerated
*/
private
String
channelOrderNo
;
/**
* 渠道错误码
*
* @mbggenerated
*/
private
String
channelErrCode
;
/**
* 渠道错误描述
*
* @mbggenerated
*/
private
String
channelErrMsg
;
/**
* 特定渠道发起时额外参数
*
* @mbggenerated
*/
private
String
extra
;
/**
* 通知地址
*
* @mbggenerated
*/
private
String
notifyUrl
;
/**
* 扩展参数1
*
* @mbggenerated
*/
private
String
param1
;
/**
* 扩展参数2
*
* @mbggenerated
*/
private
String
param2
;
/**
* 订单失效时间
*
* @mbggenerated
*/
private
Date
expireTime
;
/**
* 订单退款成功时间
*
* @mbggenerated
*/
private
Date
refundSuccTime
;
/**
* 创建时间
*
* @mbggenerated
*/
private
Date
createTime
;
/**
* 更新时间
*
* @mbggenerated
*/
private
Date
updateTime
;
private
static
final
long
serialVersionUID
=
1L
;
public
String
getRefundOrderId
()
{
return
refundOrderId
;
}
public
void
setRefundOrderId
(
String
refundOrderId
)
{
this
.
refundOrderId
=
refundOrderId
;
}
public
String
getPayOrderId
()
{
return
payOrderId
;
}
public
void
setPayOrderId
(
String
payOrderId
)
{
this
.
payOrderId
=
payOrderId
;
}
public
String
getChannelPayOrderNo
()
{
return
channelPayOrderNo
;
}
public
void
setChannelPayOrderNo
(
String
channelPayOrderNo
)
{
this
.
channelPayOrderNo
=
channelPayOrderNo
;
}
public
String
getMchId
()
{
return
mchId
;
}
public
void
setMchId
(
String
mchId
)
{
this
.
mchId
=
mchId
;
}
public
String
getMchRefundNo
()
{
return
mchRefundNo
;
}
public
void
setMchRefundNo
(
String
mchRefundNo
)
{
this
.
mchRefundNo
=
mchRefundNo
;
}
public
String
getChannelId
()
{
return
channelId
;
}
public
void
setChannelId
(
String
channelId
)
{
this
.
channelId
=
channelId
;
}
public
Long
getPayAmount
()
{
return
payAmount
;
}
public
void
setPayAmount
(
Long
payAmount
)
{
this
.
payAmount
=
payAmount
;
}
public
Long
getRefundAmount
()
{
return
refundAmount
;
}
public
void
setRefundAmount
(
Long
refundAmount
)
{
this
.
refundAmount
=
refundAmount
;
}
public
String
getCurrency
()
{
return
currency
;
}
public
void
setCurrency
(
String
currency
)
{
this
.
currency
=
currency
;
}
public
Byte
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Byte
status
)
{
this
.
status
=
status
;
}
public
Byte
getResult
()
{
return
result
;
}
public
void
setResult
(
Byte
result
)
{
this
.
result
=
result
;
}
public
String
getClientIp
()
{
return
clientIp
;
}
public
void
setClientIp
(
String
clientIp
)
{
this
.
clientIp
=
clientIp
;
}
public
String
getDevice
()
{
return
device
;
}
public
void
setDevice
(
String
device
)
{
this
.
device
=
device
;
}
public
String
getRemarkInfo
()
{
return
remarkInfo
;
}
public
void
setRemarkInfo
(
String
remarkInfo
)
{
this
.
remarkInfo
=
remarkInfo
;
}
public
String
getChannelUser
()
{
return
channelUser
;
}
public
void
setChannelUser
(
String
channelUser
)
{
this
.
channelUser
=
channelUser
;
}
public
String
getUserName
()
{
return
userName
;
}
public
void
setUserName
(
String
userName
)
{
this
.
userName
=
userName
;
}
public
String
getChannelMchId
()
{
return
channelMchId
;
}
public
void
setChannelMchId
(
String
channelMchId
)
{
this
.
channelMchId
=
channelMchId
;
}
public
String
getChannelOrderNo
()
{
return
channelOrderNo
;
}
public
void
setChannelOrderNo
(
String
channelOrderNo
)
{
this
.
channelOrderNo
=
channelOrderNo
;
}
public
String
getChannelErrCode
()
{
return
channelErrCode
;
}
public
void
setChannelErrCode
(
String
channelErrCode
)
{
this
.
channelErrCode
=
channelErrCode
;
}
public
String
getChannelErrMsg
()
{
return
channelErrMsg
;
}
public
void
setChannelErrMsg
(
String
channelErrMsg
)
{
this
.
channelErrMsg
=
channelErrMsg
;
}
public
String
getExtra
()
{
return
extra
;
}
public
void
setExtra
(
String
extra
)
{
this
.
extra
=
extra
;
}
public
String
getNotifyUrl
()
{
return
notifyUrl
;
}
public
void
setNotifyUrl
(
String
notifyUrl
)
{
this
.
notifyUrl
=
notifyUrl
;
}
public
String
getParam1
()
{
return
param1
;
}
public
void
setParam1
(
String
param1
)
{
this
.
param1
=
param1
;
}
public
String
getParam2
()
{
return
param2
;
}
public
void
setParam2
(
String
param2
)
{
this
.
param2
=
param2
;
}
public
Date
getExpireTime
()
{
return
expireTime
;
}
public
void
setExpireTime
(
Date
expireTime
)
{
this
.
expireTime
=
expireTime
;
}
public
Date
getRefundSuccTime
()
{
return
refundSuccTime
;
}
public
void
setRefundSuccTime
(
Date
refundSuccTime
)
{
this
.
refundSuccTime
=
refundSuccTime
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
@Override
public
String
toString
()
{
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
getClass
().
getSimpleName
());
sb
.
append
(
" ["
);
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", refundOrderId="
).
append
(
refundOrderId
);
sb
.
append
(
", payOrderId="
).
append
(
payOrderId
);
sb
.
append
(
", channelPayOrderNo="
).
append
(
channelPayOrderNo
);
sb
.
append
(
", mchId="
).
append
(
mchId
);
sb
.
append
(
", mchRefundNo="
).
append
(
mchRefundNo
);
sb
.
append
(
", channelId="
).
append
(
channelId
);
sb
.
append
(
", payAmount="
).
append
(
payAmount
);
sb
.
append
(
", refundAmount="
).
append
(
refundAmount
);
sb
.
append
(
", currency="
).
append
(
currency
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", result="
).
append
(
result
);
sb
.
append
(
", clientIp="
).
append
(
clientIp
);
sb
.
append
(
", device="
).
append
(
device
);
sb
.
append
(
", remarkInfo="
).
append
(
remarkInfo
);
sb
.
append
(
", channelUser="
).
append
(
channelUser
);
sb
.
append
(
", userName="
).
append
(
userName
);
sb
.
append
(
", channelMchId="
).
append
(
channelMchId
);
sb
.
append
(
", channelOrderNo="
).
append
(
channelOrderNo
);
sb
.
append
(
", channelErrCode="
).
append
(
channelErrCode
);
sb
.
append
(
", channelErrMsg="
).
append
(
channelErrMsg
);
sb
.
append
(
", extra="
).
append
(
extra
);
sb
.
append
(
", notifyUrl="
).
append
(
notifyUrl
);
sb
.
append
(
", param1="
).
append
(
param1
);
sb
.
append
(
", param2="
).
append
(
param2
);
sb
.
append
(
", expireTime="
).
append
(
expireTime
);
sb
.
append
(
", refundSuccTime="
).
append
(
refundSuccTime
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
sb
.
append
(
", updateTime="
).
append
(
updateTime
);
sb
.
append
(
"]"
);
return
sb
.
toString
();
}
@Override
public
boolean
equals
(
Object
that
)
{
if
(
this
==
that
)
{
return
true
;
}
if
(
that
==
null
)
{
return
false
;
}
if
(
getClass
()
!=
that
.
getClass
())
{
return
false
;
}
RefundOrder
other
=
(
RefundOrder
)
that
;
return
(
this
.
getRefundOrderId
()
==
null
?
other
.
getRefundOrderId
()
==
null
:
this
.
getRefundOrderId
().
equals
(
other
.
getRefundOrderId
()))
&&
(
this
.
getPayOrderId
()
==
null
?
other
.
getPayOrderId
()
==
null
:
this
.
getPayOrderId
().
equals
(
other
.
getPayOrderId
()))
&&
(
this
.
getChannelPayOrderNo
()
==
null
?
other
.
getChannelPayOrderNo
()
==
null
:
this
.
getChannelPayOrderNo
().
equals
(
other
.
getChannelPayOrderNo
()))
&&
(
this
.
getMchId
()
==
null
?
other
.
getMchId
()
==
null
:
this
.
getMchId
().
equals
(
other
.
getMchId
()))
&&
(
this
.
getMchRefundNo
()
==
null
?
other
.
getMchRefundNo
()
==
null
:
this
.
getMchRefundNo
().
equals
(
other
.
getMchRefundNo
()))
&&
(
this
.
getChannelId
()
==
null
?
other
.
getChannelId
()
==
null
:
this
.
getChannelId
().
equals
(
other
.
getChannelId
()))
&&
(
this
.
getPayAmount
()
==
null
?
other
.
getPayAmount
()
==
null
:
this
.
getPayAmount
().
equals
(
other
.
getPayAmount
()))
&&
(
this
.
getRefundAmount
()
==
null
?
other
.
getRefundAmount
()
==
null
:
this
.
getRefundAmount
().
equals
(
other
.
getRefundAmount
()))
&&
(
this
.
getCurrency
()
==
null
?
other
.
getCurrency
()
==
null
:
this
.
getCurrency
().
equals
(
other
.
getCurrency
()))
&&
(
this
.
getStatus
()
==
null
?
other
.
getStatus
()
==
null
:
this
.
getStatus
().
equals
(
other
.
getStatus
()))
&&
(
this
.
getResult
()
==
null
?
other
.
getResult
()
==
null
:
this
.
getResult
().
equals
(
other
.
getResult
()))
&&
(
this
.
getClientIp
()
==
null
?
other
.
getClientIp
()
==
null
:
this
.
getClientIp
().
equals
(
other
.
getClientIp
()))
&&
(
this
.
getDevice
()
==
null
?
other
.
getDevice
()
==
null
:
this
.
getDevice
().
equals
(
other
.
getDevice
()))
&&
(
this
.
getRemarkInfo
()
==
null
?
other
.
getRemarkInfo
()
==
null
:
this
.
getRemarkInfo
().
equals
(
other
.
getRemarkInfo
()))
&&
(
this
.
getChannelUser
()
==
null
?
other
.
getChannelUser
()
==
null
:
this
.
getChannelUser
().
equals
(
other
.
getChannelUser
()))
&&
(
this
.
getUserName
()
==
null
?
other
.
getUserName
()
==
null
:
this
.
getUserName
().
equals
(
other
.
getUserName
()))
&&
(
this
.
getChannelMchId
()
==
null
?
other
.
getChannelMchId
()
==
null
:
this
.
getChannelMchId
().
equals
(
other
.
getChannelMchId
()))
&&
(
this
.
getChannelOrderNo
()
==
null
?
other
.
getChannelOrderNo
()
==
null
:
this
.
getChannelOrderNo
().
equals
(
other
.
getChannelOrderNo
()))
&&
(
this
.
getChannelErrCode
()
==
null
?
other
.
getChannelErrCode
()
==
null
:
this
.
getChannelErrCode
().
equals
(
other
.
getChannelErrCode
()))
&&
(
this
.
getChannelErrMsg
()
==
null
?
other
.
getChannelErrMsg
()
==
null
:
this
.
getChannelErrMsg
().
equals
(
other
.
getChannelErrMsg
()))
&&
(
this
.
getExtra
()
==
null
?
other
.
getExtra
()
==
null
:
this
.
getExtra
().
equals
(
other
.
getExtra
()))
&&
(
this
.
getNotifyUrl
()
==
null
?
other
.
getNotifyUrl
()
==
null
:
this
.
getNotifyUrl
().
equals
(
other
.
getNotifyUrl
()))
&&
(
this
.
getParam1
()
==
null
?
other
.
getParam1
()
==
null
:
this
.
getParam1
().
equals
(
other
.
getParam1
()))
&&
(
this
.
getParam2
()
==
null
?
other
.
getParam2
()
==
null
:
this
.
getParam2
().
equals
(
other
.
getParam2
()))
&&
(
this
.
getExpireTime
()
==
null
?
other
.
getExpireTime
()
==
null
:
this
.
getExpireTime
().
equals
(
other
.
getExpireTime
()))
&&
(
this
.
getRefundSuccTime
()
==
null
?
other
.
getRefundSuccTime
()
==
null
:
this
.
getRefundSuccTime
().
equals
(
other
.
getRefundSuccTime
()))
&&
(
this
.
getCreateTime
()
==
null
?
other
.
getCreateTime
()
==
null
:
this
.
getCreateTime
().
equals
(
other
.
getCreateTime
()))
&&
(
this
.
getUpdateTime
()
==
null
?
other
.
getUpdateTime
()
==
null
:
this
.
getUpdateTime
().
equals
(
other
.
getUpdateTime
()));
}
@Override
public
int
hashCode
()
{
final
int
prime
=
31
;
int
result
=
1
;
result
=
prime
*
result
+
((
getRefundOrderId
()
==
null
)
?
0
:
getRefundOrderId
().
hashCode
());
result
=
prime
*
result
+
((
getPayOrderId
()
==
null
)
?
0
:
getPayOrderId
().
hashCode
());
result
=
prime
*
result
+
((
getChannelPayOrderNo
()
==
null
)
?
0
:
getChannelPayOrderNo
().
hashCode
());
result
=
prime
*
result
+
((
getMchId
()
==
null
)
?
0
:
getMchId
().
hashCode
());
result
=
prime
*
result
+
((
getMchRefundNo
()
==
null
)
?
0
:
getMchRefundNo
().
hashCode
());
result
=
prime
*
result
+
((
getChannelId
()
==
null
)
?
0
:
getChannelId
().
hashCode
());
result
=
prime
*
result
+
((
getPayAmount
()
==
null
)
?
0
:
getPayAmount
().
hashCode
());
result
=
prime
*
result
+
((
getRefundAmount
()
==
null
)
?
0
:
getRefundAmount
().
hashCode
());
result
=
prime
*
result
+
((
getCurrency
()
==
null
)
?
0
:
getCurrency
().
hashCode
());
result
=
prime
*
result
+
((
getStatus
()
==
null
)
?
0
:
getStatus
().
hashCode
());
result
=
prime
*
result
+
((
getResult
()
==
null
)
?
0
:
getResult
().
hashCode
());
result
=
prime
*
result
+
((
getClientIp
()
==
null
)
?
0
:
getClientIp
().
hashCode
());
result
=
prime
*
result
+
((
getDevice
()
==
null
)
?
0
:
getDevice
().
hashCode
());
result
=
prime
*
result
+
((
getRemarkInfo
()
==
null
)
?
0
:
getRemarkInfo
().
hashCode
());
result
=
prime
*
result
+
((
getChannelUser
()
==
null
)
?
0
:
getChannelUser
().
hashCode
());
result
=
prime
*
result
+
((
getUserName
()
==
null
)
?
0
:
getUserName
().
hashCode
());
result
=
prime
*
result
+
((
getChannelMchId
()
==
null
)
?
0
:
getChannelMchId
().
hashCode
());
result
=
prime
*
result
+
((
getChannelOrderNo
()
==
null
)
?
0
:
getChannelOrderNo
().
hashCode
());
result
=
prime
*
result
+
((
getChannelErrCode
()
==
null
)
?
0
:
getChannelErrCode
().
hashCode
());
result
=
prime
*
result
+
((
getChannelErrMsg
()
==
null
)
?
0
:
getChannelErrMsg
().
hashCode
());
result
=
prime
*
result
+
((
getExtra
()
==
null
)
?
0
:
getExtra
().
hashCode
());
result
=
prime
*
result
+
((
getNotifyUrl
()
==
null
)
?
0
:
getNotifyUrl
().
hashCode
());
result
=
prime
*
result
+
((
getParam1
()
==
null
)
?
0
:
getParam1
().
hashCode
());
result
=
prime
*
result
+
((
getParam2
()
==
null
)
?
0
:
getParam2
().
hashCode
());
result
=
prime
*
result
+
((
getExpireTime
()
==
null
)
?
0
:
getExpireTime
().
hashCode
());
result
=
prime
*
result
+
((
getRefundSuccTime
()
==
null
)
?
0
:
getRefundSuccTime
().
hashCode
());
result
=
prime
*
result
+
((
getCreateTime
()
==
null
)
?
0
:
getCreateTime
().
hashCode
());
result
=
prime
*
result
+
((
getUpdateTime
()
==
null
)
?
0
:
getUpdateTime
().
hashCode
());
return
result
;
}
}
\ No newline at end of file
xxpay-dal/src/main/java/org/xxpay/dal/dao/model/RefundOrderExample.java
0 → 100644
View file @
deee24e5
package
org.xxpay.dal.dao.model
;
import
java.io.Serializable
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
public
class
RefundOrderExample
implements
Serializable
{
protected
String
orderByClause
;
protected
boolean
distinct
;
protected
List
<
Criteria
>
oredCriteria
;
private
static
final
long
serialVersionUID
=
1L
;
private
Integer
limit
;
private
Integer
offset
;
public
RefundOrderExample
()
{
oredCriteria
=
new
ArrayList
<
Criteria
>();
}
public
void
setOrderByClause
(
String
orderByClause
)
{
this
.
orderByClause
=
orderByClause
;
}
public
String
getOrderByClause
()
{
return
orderByClause
;
}
public
void
setDistinct
(
boolean
distinct
)
{
this
.
distinct
=
distinct
;
}
public
boolean
isDistinct
()
{
return
distinct
;
}
public
List
<
Criteria
>
getOredCriteria
()
{
return
oredCriteria
;
}
public
void
or
(
Criteria
criteria
)
{
oredCriteria
.
add
(
criteria
);
}
public
Criteria
or
()
{
Criteria
criteria
=
createCriteriaInternal
();
oredCriteria
.
add
(
criteria
);
return
criteria
;
}
public
Criteria
createCriteria
()
{
Criteria
criteria
=
createCriteriaInternal
();
if
(
oredCriteria
.
size
()
==
0
)
{
oredCriteria
.
add
(
criteria
);
}
return
criteria
;
}
protected
Criteria
createCriteriaInternal
()
{
Criteria
criteria
=
new
Criteria
();
return
criteria
;
}
public
void
clear
()
{
oredCriteria
.
clear
();
orderByClause
=
null
;
distinct
=
false
;
}
public
void
setLimit
(
Integer
limit
)
{
this
.
limit
=
limit
;
}
public
Integer
getLimit
()
{
return
limit
;
}
public
void
setOffset
(
Integer
offset
)
{
this
.
offset
=
offset
;
}
public
Integer
getOffset
()
{
return
offset
;
}
protected
abstract
static
class
GeneratedCriteria
implements
Serializable
{
protected
List
<
Criterion
>
criteria
;
protected
GeneratedCriteria
()
{
super
();
criteria
=
new
ArrayList
<
Criterion
>();
}
public
boolean
isValid
()
{
return
criteria
.
size
()
>
0
;
}
public
List
<
Criterion
>
getAllCriteria
()
{
return
criteria
;
}
public
List
<
Criterion
>
getCriteria
()
{
return
criteria
;
}
protected
void
addCriterion
(
String
condition
)
{
if
(
condition
==
null
)
{
throw
new
RuntimeException
(
"Value for condition cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
));
}
protected
void
addCriterion
(
String
condition
,
Object
value
,
String
property
)
{
if
(
value
==
null
)
{
throw
new
RuntimeException
(
"Value for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value
));
}
protected
void
addCriterion
(
String
condition
,
Object
value1
,
Object
value2
,
String
property
)
{
if
(
value1
==
null
||
value2
==
null
)
{
throw
new
RuntimeException
(
"Between values for "
+
property
+
" cannot be null"
);
}
criteria
.
add
(
new
Criterion
(
condition
,
value1
,
value2
));
}
public
Criteria
andRefundOrderIdIsNull
()
{
addCriterion
(
"RefundOrderId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdIsNotNull
()
{
addCriterion
(
"RefundOrderId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdEqualTo
(
String
value
)
{
addCriterion
(
"RefundOrderId ="
,
value
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdNotEqualTo
(
String
value
)
{
addCriterion
(
"RefundOrderId <>"
,
value
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdGreaterThan
(
String
value
)
{
addCriterion
(
"RefundOrderId >"
,
value
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"RefundOrderId >="
,
value
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdLessThan
(
String
value
)
{
addCriterion
(
"RefundOrderId <"
,
value
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"RefundOrderId <="
,
value
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdLike
(
String
value
)
{
addCriterion
(
"RefundOrderId like"
,
value
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdNotLike
(
String
value
)
{
addCriterion
(
"RefundOrderId not like"
,
value
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"RefundOrderId in"
,
values
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"RefundOrderId not in"
,
values
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"RefundOrderId between"
,
value1
,
value2
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundOrderIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"RefundOrderId not between"
,
value1
,
value2
,
"refundOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdIsNull
()
{
addCriterion
(
"PayOrderId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdIsNotNull
()
{
addCriterion
(
"PayOrderId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdEqualTo
(
String
value
)
{
addCriterion
(
"PayOrderId ="
,
value
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdNotEqualTo
(
String
value
)
{
addCriterion
(
"PayOrderId <>"
,
value
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdGreaterThan
(
String
value
)
{
addCriterion
(
"PayOrderId >"
,
value
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"PayOrderId >="
,
value
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdLessThan
(
String
value
)
{
addCriterion
(
"PayOrderId <"
,
value
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"PayOrderId <="
,
value
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdLike
(
String
value
)
{
addCriterion
(
"PayOrderId like"
,
value
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdNotLike
(
String
value
)
{
addCriterion
(
"PayOrderId not like"
,
value
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"PayOrderId in"
,
values
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"PayOrderId not in"
,
values
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"PayOrderId between"
,
value1
,
value2
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayOrderIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"PayOrderId not between"
,
value1
,
value2
,
"payOrderId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoIsNull
()
{
addCriterion
(
"ChannelPayOrderNo is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoIsNotNull
()
{
addCriterion
(
"ChannelPayOrderNo is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoEqualTo
(
String
value
)
{
addCriterion
(
"ChannelPayOrderNo ="
,
value
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoNotEqualTo
(
String
value
)
{
addCriterion
(
"ChannelPayOrderNo <>"
,
value
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoGreaterThan
(
String
value
)
{
addCriterion
(
"ChannelPayOrderNo >"
,
value
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelPayOrderNo >="
,
value
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoLessThan
(
String
value
)
{
addCriterion
(
"ChannelPayOrderNo <"
,
value
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelPayOrderNo <="
,
value
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoLike
(
String
value
)
{
addCriterion
(
"ChannelPayOrderNo like"
,
value
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoNotLike
(
String
value
)
{
addCriterion
(
"ChannelPayOrderNo not like"
,
value
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelPayOrderNo in"
,
values
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelPayOrderNo not in"
,
values
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelPayOrderNo between"
,
value1
,
value2
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelPayOrderNoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelPayOrderNo not between"
,
value1
,
value2
,
"channelPayOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdIsNull
()
{
addCriterion
(
"MchId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdIsNotNull
()
{
addCriterion
(
"MchId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdEqualTo
(
String
value
)
{
addCriterion
(
"MchId ="
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdNotEqualTo
(
String
value
)
{
addCriterion
(
"MchId <>"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdGreaterThan
(
String
value
)
{
addCriterion
(
"MchId >"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"MchId >="
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdLessThan
(
String
value
)
{
addCriterion
(
"MchId <"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"MchId <="
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdLike
(
String
value
)
{
addCriterion
(
"MchId like"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdNotLike
(
String
value
)
{
addCriterion
(
"MchId not like"
,
value
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"MchId in"
,
values
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"MchId not in"
,
values
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"MchId between"
,
value1
,
value2
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"MchId not between"
,
value1
,
value2
,
"mchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoIsNull
()
{
addCriterion
(
"MchRefundNo is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoIsNotNull
()
{
addCriterion
(
"MchRefundNo is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoEqualTo
(
String
value
)
{
addCriterion
(
"MchRefundNo ="
,
value
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoNotEqualTo
(
String
value
)
{
addCriterion
(
"MchRefundNo <>"
,
value
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoGreaterThan
(
String
value
)
{
addCriterion
(
"MchRefundNo >"
,
value
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"MchRefundNo >="
,
value
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoLessThan
(
String
value
)
{
addCriterion
(
"MchRefundNo <"
,
value
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"MchRefundNo <="
,
value
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoLike
(
String
value
)
{
addCriterion
(
"MchRefundNo like"
,
value
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoNotLike
(
String
value
)
{
addCriterion
(
"MchRefundNo not like"
,
value
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoIn
(
List
<
String
>
values
)
{
addCriterion
(
"MchRefundNo in"
,
values
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"MchRefundNo not in"
,
values
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"MchRefundNo between"
,
value1
,
value2
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMchRefundNoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"MchRefundNo not between"
,
value1
,
value2
,
"mchRefundNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdIsNull
()
{
addCriterion
(
"ChannelId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdIsNotNull
()
{
addCriterion
(
"ChannelId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdEqualTo
(
String
value
)
{
addCriterion
(
"ChannelId ="
,
value
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdNotEqualTo
(
String
value
)
{
addCriterion
(
"ChannelId <>"
,
value
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdGreaterThan
(
String
value
)
{
addCriterion
(
"ChannelId >"
,
value
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelId >="
,
value
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdLessThan
(
String
value
)
{
addCriterion
(
"ChannelId <"
,
value
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelId <="
,
value
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdLike
(
String
value
)
{
addCriterion
(
"ChannelId like"
,
value
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdNotLike
(
String
value
)
{
addCriterion
(
"ChannelId not like"
,
value
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelId in"
,
values
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelId not in"
,
values
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelId between"
,
value1
,
value2
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelId not between"
,
value1
,
value2
,
"channelId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountIsNull
()
{
addCriterion
(
"PayAmount is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountIsNotNull
()
{
addCriterion
(
"PayAmount is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountEqualTo
(
Long
value
)
{
addCriterion
(
"PayAmount ="
,
value
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountNotEqualTo
(
Long
value
)
{
addCriterion
(
"PayAmount <>"
,
value
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountGreaterThan
(
Long
value
)
{
addCriterion
(
"PayAmount >"
,
value
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"PayAmount >="
,
value
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountLessThan
(
Long
value
)
{
addCriterion
(
"PayAmount <"
,
value
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"PayAmount <="
,
value
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountIn
(
List
<
Long
>
values
)
{
addCriterion
(
"PayAmount in"
,
values
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"PayAmount not in"
,
values
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"PayAmount between"
,
value1
,
value2
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andPayAmountNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"PayAmount not between"
,
value1
,
value2
,
"payAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountIsNull
()
{
addCriterion
(
"RefundAmount is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountIsNotNull
()
{
addCriterion
(
"RefundAmount is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountEqualTo
(
Long
value
)
{
addCriterion
(
"RefundAmount ="
,
value
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountNotEqualTo
(
Long
value
)
{
addCriterion
(
"RefundAmount <>"
,
value
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountGreaterThan
(
Long
value
)
{
addCriterion
(
"RefundAmount >"
,
value
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountGreaterThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"RefundAmount >="
,
value
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountLessThan
(
Long
value
)
{
addCriterion
(
"RefundAmount <"
,
value
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountLessThanOrEqualTo
(
Long
value
)
{
addCriterion
(
"RefundAmount <="
,
value
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountIn
(
List
<
Long
>
values
)
{
addCriterion
(
"RefundAmount in"
,
values
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountNotIn
(
List
<
Long
>
values
)
{
addCriterion
(
"RefundAmount not in"
,
values
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"RefundAmount between"
,
value1
,
value2
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundAmountNotBetween
(
Long
value1
,
Long
value2
)
{
addCriterion
(
"RefundAmount not between"
,
value1
,
value2
,
"refundAmount"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyIsNull
()
{
addCriterion
(
"Currency is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyIsNotNull
()
{
addCriterion
(
"Currency is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyEqualTo
(
String
value
)
{
addCriterion
(
"Currency ="
,
value
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyNotEqualTo
(
String
value
)
{
addCriterion
(
"Currency <>"
,
value
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyGreaterThan
(
String
value
)
{
addCriterion
(
"Currency >"
,
value
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Currency >="
,
value
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyLessThan
(
String
value
)
{
addCriterion
(
"Currency <"
,
value
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Currency <="
,
value
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyLike
(
String
value
)
{
addCriterion
(
"Currency like"
,
value
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyNotLike
(
String
value
)
{
addCriterion
(
"Currency not like"
,
value
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyIn
(
List
<
String
>
values
)
{
addCriterion
(
"Currency in"
,
values
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Currency not in"
,
values
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Currency between"
,
value1
,
value2
,
"currency"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCurrencyNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Currency not between"
,
value1
,
value2
,
"currency"
);
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
(
Byte
value
)
{
addCriterion
(
"Status ="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotEqualTo
(
Byte
value
)
{
addCriterion
(
"Status <>"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThan
(
Byte
value
)
{
addCriterion
(
"Status >"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"Status >="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThan
(
Byte
value
)
{
addCriterion
(
"Status <"
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"Status <="
,
value
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"Status in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"Status not in"
,
values
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"Status between"
,
value1
,
value2
,
"status"
);
return
(
Criteria
)
this
;
}
public
Criteria
andStatusNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"Status not between"
,
value1
,
value2
,
"status"
);
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
(
Byte
value
)
{
addCriterion
(
"Result ="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotEqualTo
(
Byte
value
)
{
addCriterion
(
"Result <>"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultGreaterThan
(
Byte
value
)
{
addCriterion
(
"Result >"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"Result >="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultLessThan
(
Byte
value
)
{
addCriterion
(
"Result <"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"Result <="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"Result in"
,
values
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"Result not in"
,
values
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"Result between"
,
value1
,
value2
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"Result not between"
,
value1
,
value2
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpIsNull
()
{
addCriterion
(
"ClientIp is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpIsNotNull
()
{
addCriterion
(
"ClientIp is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpEqualTo
(
String
value
)
{
addCriterion
(
"ClientIp ="
,
value
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpNotEqualTo
(
String
value
)
{
addCriterion
(
"ClientIp <>"
,
value
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpGreaterThan
(
String
value
)
{
addCriterion
(
"ClientIp >"
,
value
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ClientIp >="
,
value
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpLessThan
(
String
value
)
{
addCriterion
(
"ClientIp <"
,
value
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ClientIp <="
,
value
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpLike
(
String
value
)
{
addCriterion
(
"ClientIp like"
,
value
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpNotLike
(
String
value
)
{
addCriterion
(
"ClientIp not like"
,
value
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpIn
(
List
<
String
>
values
)
{
addCriterion
(
"ClientIp in"
,
values
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ClientIp not in"
,
values
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ClientIp between"
,
value1
,
value2
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ClientIp not between"
,
value1
,
value2
,
"clientIp"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIsNull
()
{
addCriterion
(
"Device is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIsNotNull
()
{
addCriterion
(
"Device is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceEqualTo
(
String
value
)
{
addCriterion
(
"Device ="
,
value
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceNotEqualTo
(
String
value
)
{
addCriterion
(
"Device <>"
,
value
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceGreaterThan
(
String
value
)
{
addCriterion
(
"Device >"
,
value
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Device >="
,
value
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceLessThan
(
String
value
)
{
addCriterion
(
"Device <"
,
value
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Device <="
,
value
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceLike
(
String
value
)
{
addCriterion
(
"Device like"
,
value
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceNotLike
(
String
value
)
{
addCriterion
(
"Device not like"
,
value
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceIn
(
List
<
String
>
values
)
{
addCriterion
(
"Device in"
,
values
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Device not in"
,
values
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Device between"
,
value1
,
value2
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andDeviceNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Device not between"
,
value1
,
value2
,
"device"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoIsNull
()
{
addCriterion
(
"RemarkInfo is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoIsNotNull
()
{
addCriterion
(
"RemarkInfo is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoEqualTo
(
String
value
)
{
addCriterion
(
"RemarkInfo ="
,
value
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoNotEqualTo
(
String
value
)
{
addCriterion
(
"RemarkInfo <>"
,
value
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoGreaterThan
(
String
value
)
{
addCriterion
(
"RemarkInfo >"
,
value
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"RemarkInfo >="
,
value
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoLessThan
(
String
value
)
{
addCriterion
(
"RemarkInfo <"
,
value
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"RemarkInfo <="
,
value
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoLike
(
String
value
)
{
addCriterion
(
"RemarkInfo like"
,
value
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoNotLike
(
String
value
)
{
addCriterion
(
"RemarkInfo not like"
,
value
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoIn
(
List
<
String
>
values
)
{
addCriterion
(
"RemarkInfo in"
,
values
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"RemarkInfo not in"
,
values
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"RemarkInfo between"
,
value1
,
value2
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRemarkInfoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"RemarkInfo not between"
,
value1
,
value2
,
"remarkInfo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserIsNull
()
{
addCriterion
(
"ChannelUser is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserIsNotNull
()
{
addCriterion
(
"ChannelUser is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserEqualTo
(
String
value
)
{
addCriterion
(
"ChannelUser ="
,
value
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserNotEqualTo
(
String
value
)
{
addCriterion
(
"ChannelUser <>"
,
value
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserGreaterThan
(
String
value
)
{
addCriterion
(
"ChannelUser >"
,
value
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelUser >="
,
value
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserLessThan
(
String
value
)
{
addCriterion
(
"ChannelUser <"
,
value
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelUser <="
,
value
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserLike
(
String
value
)
{
addCriterion
(
"ChannelUser like"
,
value
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserNotLike
(
String
value
)
{
addCriterion
(
"ChannelUser not like"
,
value
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelUser in"
,
values
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelUser not in"
,
values
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelUser between"
,
value1
,
value2
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelUserNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelUser not between"
,
value1
,
value2
,
"channelUser"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameIsNull
()
{
addCriterion
(
"UserName is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameIsNotNull
()
{
addCriterion
(
"UserName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameEqualTo
(
String
value
)
{
addCriterion
(
"UserName ="
,
value
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameNotEqualTo
(
String
value
)
{
addCriterion
(
"UserName <>"
,
value
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameGreaterThan
(
String
value
)
{
addCriterion
(
"UserName >"
,
value
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"UserName >="
,
value
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameLessThan
(
String
value
)
{
addCriterion
(
"UserName <"
,
value
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"UserName <="
,
value
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameLike
(
String
value
)
{
addCriterion
(
"UserName like"
,
value
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameNotLike
(
String
value
)
{
addCriterion
(
"UserName not like"
,
value
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameIn
(
List
<
String
>
values
)
{
addCriterion
(
"UserName in"
,
values
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"UserName not in"
,
values
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"UserName between"
,
value1
,
value2
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUserNameNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"UserName not between"
,
value1
,
value2
,
"userName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdIsNull
()
{
addCriterion
(
"ChannelMchId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdIsNotNull
()
{
addCriterion
(
"ChannelMchId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdEqualTo
(
String
value
)
{
addCriterion
(
"ChannelMchId ="
,
value
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdNotEqualTo
(
String
value
)
{
addCriterion
(
"ChannelMchId <>"
,
value
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdGreaterThan
(
String
value
)
{
addCriterion
(
"ChannelMchId >"
,
value
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelMchId >="
,
value
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdLessThan
(
String
value
)
{
addCriterion
(
"ChannelMchId <"
,
value
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelMchId <="
,
value
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdLike
(
String
value
)
{
addCriterion
(
"ChannelMchId like"
,
value
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdNotLike
(
String
value
)
{
addCriterion
(
"ChannelMchId not like"
,
value
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelMchId in"
,
values
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelMchId not in"
,
values
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelMchId between"
,
value1
,
value2
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelMchId not between"
,
value1
,
value2
,
"channelMchId"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoIsNull
()
{
addCriterion
(
"ChannelOrderNo is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoIsNotNull
()
{
addCriterion
(
"ChannelOrderNo is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoEqualTo
(
String
value
)
{
addCriterion
(
"ChannelOrderNo ="
,
value
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoNotEqualTo
(
String
value
)
{
addCriterion
(
"ChannelOrderNo <>"
,
value
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoGreaterThan
(
String
value
)
{
addCriterion
(
"ChannelOrderNo >"
,
value
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelOrderNo >="
,
value
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoLessThan
(
String
value
)
{
addCriterion
(
"ChannelOrderNo <"
,
value
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelOrderNo <="
,
value
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoLike
(
String
value
)
{
addCriterion
(
"ChannelOrderNo like"
,
value
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoNotLike
(
String
value
)
{
addCriterion
(
"ChannelOrderNo not like"
,
value
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelOrderNo in"
,
values
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelOrderNo not in"
,
values
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelOrderNo between"
,
value1
,
value2
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelOrderNoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelOrderNo not between"
,
value1
,
value2
,
"channelOrderNo"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeIsNull
()
{
addCriterion
(
"ChannelErrCode is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeIsNotNull
()
{
addCriterion
(
"ChannelErrCode is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrCode ="
,
value
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrCode <>"
,
value
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeGreaterThan
(
String
value
)
{
addCriterion
(
"ChannelErrCode >"
,
value
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrCode >="
,
value
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeLessThan
(
String
value
)
{
addCriterion
(
"ChannelErrCode <"
,
value
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrCode <="
,
value
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeLike
(
String
value
)
{
addCriterion
(
"ChannelErrCode like"
,
value
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeNotLike
(
String
value
)
{
addCriterion
(
"ChannelErrCode not like"
,
value
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelErrCode in"
,
values
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelErrCode not in"
,
values
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelErrCode between"
,
value1
,
value2
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrCodeNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelErrCode not between"
,
value1
,
value2
,
"channelErrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgIsNull
()
{
addCriterion
(
"ChannelErrMsg is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgIsNotNull
()
{
addCriterion
(
"ChannelErrMsg is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrMsg ="
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgNotEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrMsg <>"
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgGreaterThan
(
String
value
)
{
addCriterion
(
"ChannelErrMsg >"
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrMsg >="
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgLessThan
(
String
value
)
{
addCriterion
(
"ChannelErrMsg <"
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrMsg <="
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgLike
(
String
value
)
{
addCriterion
(
"ChannelErrMsg like"
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgNotLike
(
String
value
)
{
addCriterion
(
"ChannelErrMsg not like"
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelErrMsg in"
,
values
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ChannelErrMsg not in"
,
values
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelErrMsg between"
,
value1
,
value2
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelErrMsgNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelErrMsg not between"
,
value1
,
value2
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraIsNull
()
{
addCriterion
(
"Extra is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraIsNotNull
()
{
addCriterion
(
"Extra is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraEqualTo
(
String
value
)
{
addCriterion
(
"Extra ="
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraNotEqualTo
(
String
value
)
{
addCriterion
(
"Extra <>"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraGreaterThan
(
String
value
)
{
addCriterion
(
"Extra >"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Extra >="
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraLessThan
(
String
value
)
{
addCriterion
(
"Extra <"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Extra <="
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraLike
(
String
value
)
{
addCriterion
(
"Extra like"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraNotLike
(
String
value
)
{
addCriterion
(
"Extra not like"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraIn
(
List
<
String
>
values
)
{
addCriterion
(
"Extra in"
,
values
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Extra not in"
,
values
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Extra between"
,
value1
,
value2
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Extra not between"
,
value1
,
value2
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlIsNull
()
{
addCriterion
(
"NotifyUrl is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlIsNotNull
()
{
addCriterion
(
"NotifyUrl is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlEqualTo
(
String
value
)
{
addCriterion
(
"NotifyUrl ="
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlNotEqualTo
(
String
value
)
{
addCriterion
(
"NotifyUrl <>"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlGreaterThan
(
String
value
)
{
addCriterion
(
"NotifyUrl >"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"NotifyUrl >="
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlLessThan
(
String
value
)
{
addCriterion
(
"NotifyUrl <"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"NotifyUrl <="
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlLike
(
String
value
)
{
addCriterion
(
"NotifyUrl like"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlNotLike
(
String
value
)
{
addCriterion
(
"NotifyUrl not like"
,
value
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlIn
(
List
<
String
>
values
)
{
addCriterion
(
"NotifyUrl in"
,
values
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"NotifyUrl not in"
,
values
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"NotifyUrl between"
,
value1
,
value2
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyUrlNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"NotifyUrl not between"
,
value1
,
value2
,
"notifyUrl"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1IsNull
()
{
addCriterion
(
"Param1 is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1IsNotNull
()
{
addCriterion
(
"Param1 is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1EqualTo
(
String
value
)
{
addCriterion
(
"Param1 ="
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1NotEqualTo
(
String
value
)
{
addCriterion
(
"Param1 <>"
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1GreaterThan
(
String
value
)
{
addCriterion
(
"Param1 >"
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Param1 >="
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1LessThan
(
String
value
)
{
addCriterion
(
"Param1 <"
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Param1 <="
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1Like
(
String
value
)
{
addCriterion
(
"Param1 like"
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1NotLike
(
String
value
)
{
addCriterion
(
"Param1 not like"
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1In
(
List
<
String
>
values
)
{
addCriterion
(
"Param1 in"
,
values
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Param1 not in"
,
values
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"Param1 between"
,
value1
,
value2
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Param1 not between"
,
value1
,
value2
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2IsNull
()
{
addCriterion
(
"Param2 is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2IsNotNull
()
{
addCriterion
(
"Param2 is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2EqualTo
(
String
value
)
{
addCriterion
(
"Param2 ="
,
value
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2NotEqualTo
(
String
value
)
{
addCriterion
(
"Param2 <>"
,
value
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2GreaterThan
(
String
value
)
{
addCriterion
(
"Param2 >"
,
value
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Param2 >="
,
value
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2LessThan
(
String
value
)
{
addCriterion
(
"Param2 <"
,
value
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Param2 <="
,
value
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2Like
(
String
value
)
{
addCriterion
(
"Param2 like"
,
value
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2NotLike
(
String
value
)
{
addCriterion
(
"Param2 not like"
,
value
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2In
(
List
<
String
>
values
)
{
addCriterion
(
"Param2 in"
,
values
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Param2 not in"
,
values
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"Param2 between"
,
value1
,
value2
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam2NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Param2 not between"
,
value1
,
value2
,
"param2"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeIsNull
()
{
addCriterion
(
"ExpireTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeIsNotNull
()
{
addCriterion
(
"ExpireTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeEqualTo
(
Date
value
)
{
addCriterion
(
"ExpireTime ="
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"ExpireTime <>"
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"ExpireTime >"
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"ExpireTime >="
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeLessThan
(
Date
value
)
{
addCriterion
(
"ExpireTime <"
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"ExpireTime <="
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"ExpireTime in"
,
values
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"ExpireTime not in"
,
values
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"ExpireTime between"
,
value1
,
value2
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"ExpireTime not between"
,
value1
,
value2
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeIsNull
()
{
addCriterion
(
"RefundSuccTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeIsNotNull
()
{
addCriterion
(
"RefundSuccTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeEqualTo
(
Date
value
)
{
addCriterion
(
"RefundSuccTime ="
,
value
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"RefundSuccTime <>"
,
value
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"RefundSuccTime >"
,
value
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"RefundSuccTime >="
,
value
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeLessThan
(
Date
value
)
{
addCriterion
(
"RefundSuccTime <"
,
value
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"RefundSuccTime <="
,
value
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"RefundSuccTime in"
,
values
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"RefundSuccTime not in"
,
values
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"RefundSuccTime between"
,
value1
,
value2
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andRefundSuccTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"RefundSuccTime not between"
,
value1
,
value2
,
"refundSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNull
()
{
addCriterion
(
"CreateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIsNotNull
()
{
addCriterion
(
"CreateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime ="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <>"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"CreateTime >"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime >="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThan
(
Date
value
)
{
addCriterion
(
"CreateTime <"
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"CreateTime <="
,
value
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"CreateTime not in"
,
values
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCreateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"CreateTime not between"
,
value1
,
value2
,
"createTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNull
()
{
addCriterion
(
"UpdateTime is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIsNotNull
()
{
addCriterion
(
"UpdateTime is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime ="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <>"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"UpdateTime >"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime >="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThan
(
Date
value
)
{
addCriterion
(
"UpdateTime <"
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"UpdateTime <="
,
value
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"UpdateTime not in"
,
values
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andUpdateTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"UpdateTime not between"
,
value1
,
value2
,
"updateTime"
);
return
(
Criteria
)
this
;
}
}
public
static
class
Criteria
extends
GeneratedCriteria
implements
Serializable
{
protected
Criteria
()
{
super
();
}
}
public
static
class
Criterion
implements
Serializable
{
private
String
condition
;
private
Object
value
;
private
Object
secondValue
;
private
boolean
noValue
;
private
boolean
singleValue
;
private
boolean
betweenValue
;
private
boolean
listValue
;
private
String
typeHandler
;
public
String
getCondition
()
{
return
condition
;
}
public
Object
getValue
()
{
return
value
;
}
public
Object
getSecondValue
()
{
return
secondValue
;
}
public
boolean
isNoValue
()
{
return
noValue
;
}
public
boolean
isSingleValue
()
{
return
singleValue
;
}
public
boolean
isBetweenValue
()
{
return
betweenValue
;
}
public
boolean
isListValue
()
{
return
listValue
;
}
public
String
getTypeHandler
()
{
return
typeHandler
;
}
protected
Criterion
(
String
condition
)
{
super
();
this
.
condition
=
condition
;
this
.
typeHandler
=
null
;
this
.
noValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
typeHandler
=
typeHandler
;
if
(
value
instanceof
List
<?>)
{
this
.
listValue
=
true
;
}
else
{
this
.
singleValue
=
true
;
}
}
protected
Criterion
(
String
condition
,
Object
value
)
{
this
(
condition
,
value
,
null
);
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
,
String
typeHandler
)
{
super
();
this
.
condition
=
condition
;
this
.
value
=
value
;
this
.
secondValue
=
secondValue
;
this
.
typeHandler
=
typeHandler
;
this
.
betweenValue
=
true
;
}
protected
Criterion
(
String
condition
,
Object
value
,
Object
secondValue
)
{
this
(
condition
,
value
,
secondValue
,
null
);
}
}
}
\ No newline at end of file
xxpay-dal/src/main/java/org/xxpay/dal/dao/model/TransOrder.java
View file @
deee24e5
...
...
@@ -19,11 +19,11 @@ public class TransOrder implements Serializable {
private
String
mchId
;
/**
* 商户
订
单号
* 商户
转账
单号
*
* @mbggenerated
*/
private
String
mch
Order
No
;
private
String
mch
Trans
No
;
/**
* 渠道ID
...
...
@@ -47,12 +47,19 @@ public class TransOrder implements Serializable {
private
String
currency
;
/**
*
支付
状态:0-订单生成,1-转账中,2-转账成功,3-转账失败,4-业务处理完成
,5-确认失败,6-不确认结果,7-等待手动处理,8-手动处理提现成功,9-手动处理提现失败
*
转账
状态:0-订单生成,1-转账中,2-转账成功,3-转账失败,4-业务处理完成
*
* @mbggenerated
*/
private
Byte
status
;
/**
* 转账结果:0-不确认结果,1-等待手动处理,2-确认成功,3-确认失败
*
* @mbggenerated
*/
private
Byte
result
;
/**
* 客户端IP
*
...
...
@@ -75,18 +82,11 @@ public class TransOrder implements Serializable {
private
String
remarkInfo
;
/**
* 渠道用户标识,如微信openId
* 渠道用户标识,如微信openId
,支付宝账号
*
* @mbggenerated
*/
private
String
openId
;
/**
* 校验姓名:0-不校验真实姓名,1-强校验真实姓名,2-针对已实名认证的用户才校验真实姓名
*
* @mbggenerated
*/
private
Byte
checkName
;
private
String
channelUser
;
/**
* 用户姓名
...
...
@@ -95,13 +95,6 @@ public class TransOrder implements Serializable {
*/
private
String
userName
;
/**
* 特定渠道发起时额外参数
*
* @mbggenerated
*/
private
String
extra
;
/**
* 渠道商户ID
*
...
...
@@ -117,32 +110,25 @@ public class TransOrder implements Serializable {
private
String
channelOrderNo
;
/**
* 渠道
支付
错误码
* 渠道错误码
*
* @mbggenerated
*/
private
String
e
rrCode
;
private
String
channelE
rrCode
;
/**
* 渠道
支付
错误描述
* 渠道错误描述
*
* @mbggenerated
*/
private
String
e
rrMsg
;
private
String
channelE
rrMsg
;
/**
* 扩展参数1
*
* @mbggenerated
*/
private
String
param1
;
/**
* 扩展参数2
* 特定渠道发起时额外参数
*
* @mbggenerated
*/
private
String
param2
;
private
String
extra
;
/**
* 通知地址
...
...
@@ -152,32 +138,32 @@ public class TransOrder implements Serializable {
private
String
notifyUrl
;
/**
*
通知次数
*
扩展参数1
*
* @mbggenerated
*/
private
Byte
notifyCount
;
private
String
param1
;
/**
*
最后一次通知时间
*
扩展参数2
*
* @mbggenerated
*/
private
Long
lastNotifyTime
;
private
String
param2
;
/**
* 订单失效时间
*
* @mbggenerated
*/
private
Long
expireTime
;
private
Date
expireTime
;
/**
* 订单转账成功时间
*
* @mbggenerated
*/
private
Long
transSuccTime
;
private
Date
transSuccTime
;
/**
* 创建时间
...
...
@@ -211,12 +197,12 @@ public class TransOrder implements Serializable {
this
.
mchId
=
mchId
;
}
public
String
getMch
Order
No
()
{
return
mch
Order
No
;
public
String
getMch
Trans
No
()
{
return
mch
Trans
No
;
}
public
void
setMch
Order
No
(
String
mch
Order
No
)
{
this
.
mch
Order
No
=
mch
Order
No
;
public
void
setMch
Trans
No
(
String
mch
Trans
No
)
{
this
.
mch
Trans
No
=
mch
Trans
No
;
}
public
String
getChannelId
()
{
...
...
@@ -251,6 +237,14 @@ public class TransOrder implements Serializable {
this
.
status
=
status
;
}
public
Byte
getResult
()
{
return
result
;
}
public
void
setResult
(
Byte
result
)
{
this
.
result
=
result
;
}
public
String
getClientIp
()
{
return
clientIp
;
}
...
...
@@ -275,20 +269,12 @@ public class TransOrder implements Serializable {
this
.
remarkInfo
=
remarkInfo
;
}
public
String
getOpenId
()
{
return
openId
;
}
public
void
setOpenId
(
String
openId
)
{
this
.
openId
=
openId
;
}
public
Byte
getCheckName
()
{
return
checkName
;
public
String
getChannelUser
()
{
return
channelUser
;
}
public
void
setCh
eckName
(
Byte
checkName
)
{
this
.
ch
eckName
=
checkName
;
public
void
setCh
annelUser
(
String
channelUser
)
{
this
.
ch
annelUser
=
channelUser
;
}
public
String
getUserName
()
{
...
...
@@ -299,14 +285,6 @@ public class TransOrder implements Serializable {
this
.
userName
=
userName
;
}
public
String
getExtra
()
{
return
extra
;
}
public
void
setExtra
(
String
extra
)
{
this
.
extra
=
extra
;
}
public
String
getChannelMchId
()
{
return
channelMchId
;
}
...
...
@@ -323,36 +301,28 @@ public class TransOrder implements Serializable {
this
.
channelOrderNo
=
channelOrderNo
;
}
public
String
getErrCode
()
{
return
e
rrCode
;
public
String
get
Channel
ErrCode
()
{
return
channelE
rrCode
;
}
public
void
setErrCode
(
String
e
rrCode
)
{
this
.
e
rrCode
=
e
rrCode
;
public
void
set
Channel
ErrCode
(
String
channelE
rrCode
)
{
this
.
channelE
rrCode
=
channelE
rrCode
;
}
public
String
getErrMsg
()
{
return
e
rrMsg
;
public
String
get
Channel
ErrMsg
()
{
return
channelE
rrMsg
;
}
public
void
setErrMsg
(
String
e
rrMsg
)
{
this
.
errMsg
=
e
rrMsg
;
public
void
set
Channel
ErrMsg
(
String
channelE
rrMsg
)
{
this
.
channelErrMsg
=
channelE
rrMsg
;
}
public
String
getParam1
()
{
return
param1
;
}
public
void
setParam1
(
String
param1
)
{
this
.
param1
=
param1
;
}
public
String
getParam2
()
{
return
param2
;
public
String
getExtra
()
{
return
extra
;
}
public
void
set
Param2
(
String
param2
)
{
this
.
param2
=
param2
;
public
void
set
Extra
(
String
extra
)
{
this
.
extra
=
extra
;
}
public
String
getNotifyUrl
()
{
...
...
@@ -363,35 +333,35 @@ public class TransOrder implements Serializable {
this
.
notifyUrl
=
notifyUrl
;
}
public
Byte
getNotifyCount
()
{
return
notifyCount
;
public
String
getParam1
()
{
return
param1
;
}
public
void
set
NotifyCount
(
Byte
notifyCount
)
{
this
.
notifyCount
=
notifyCount
;
public
void
set
Param1
(
String
param1
)
{
this
.
param1
=
param1
;
}
public
Lo
ng
get
LastNotifyTime
()
{
return
lastNotifyTime
;
public
Stri
ng
get
Param2
()
{
return
param2
;
}
public
void
set
LastNotifyTime
(
Long
lastNotifyTime
)
{
this
.
lastNotifyTime
=
lastNotifyTime
;
public
void
set
Param2
(
String
param2
)
{
this
.
param2
=
param2
;
}
public
Long
getExpireTime
()
{
public
Date
getExpireTime
()
{
return
expireTime
;
}
public
void
setExpireTime
(
Long
expireTime
)
{
public
void
setExpireTime
(
Date
expireTime
)
{
this
.
expireTime
=
expireTime
;
}
public
Long
getTransSuccTime
()
{
public
Date
getTransSuccTime
()
{
return
transSuccTime
;
}
public
void
setTransSuccTime
(
Long
transSuccTime
)
{
public
void
setTransSuccTime
(
Date
transSuccTime
)
{
this
.
transSuccTime
=
transSuccTime
;
}
...
...
@@ -419,27 +389,25 @@ public class TransOrder implements Serializable {
sb
.
append
(
"Hash = "
).
append
(
hashCode
());
sb
.
append
(
", transOrderId="
).
append
(
transOrderId
);
sb
.
append
(
", mchId="
).
append
(
mchId
);
sb
.
append
(
", mch
Order
No="
).
append
(
mch
Order
No
);
sb
.
append
(
", mch
Trans
No="
).
append
(
mch
Trans
No
);
sb
.
append
(
", channelId="
).
append
(
channelId
);
sb
.
append
(
", amount="
).
append
(
amount
);
sb
.
append
(
", currency="
).
append
(
currency
);
sb
.
append
(
", status="
).
append
(
status
);
sb
.
append
(
", result="
).
append
(
result
);
sb
.
append
(
", clientIp="
).
append
(
clientIp
);
sb
.
append
(
", device="
).
append
(
device
);
sb
.
append
(
", remarkInfo="
).
append
(
remarkInfo
);
sb
.
append
(
", openId="
).
append
(
openId
);
sb
.
append
(
", checkName="
).
append
(
checkName
);
sb
.
append
(
", channelUser="
).
append
(
channelUser
);
sb
.
append
(
", userName="
).
append
(
userName
);
sb
.
append
(
", extra="
).
append
(
extra
);
sb
.
append
(
", channelMchId="
).
append
(
channelMchId
);
sb
.
append
(
", channelOrderNo="
).
append
(
channelOrderNo
);
sb
.
append
(
", errCode="
).
append
(
errCode
);
sb
.
append
(
", errMsg="
).
append
(
errMsg
);
sb
.
append
(
", channelErrCode="
).
append
(
channelErrCode
);
sb
.
append
(
", channelErrMsg="
).
append
(
channelErrMsg
);
sb
.
append
(
", extra="
).
append
(
extra
);
sb
.
append
(
", notifyUrl="
).
append
(
notifyUrl
);
sb
.
append
(
", param1="
).
append
(
param1
);
sb
.
append
(
", param2="
).
append
(
param2
);
sb
.
append
(
", notifyUrl="
).
append
(
notifyUrl
);
sb
.
append
(
", notifyCount="
).
append
(
notifyCount
);
sb
.
append
(
", lastNotifyTime="
).
append
(
lastNotifyTime
);
sb
.
append
(
", expireTime="
).
append
(
expireTime
);
sb
.
append
(
", transSuccTime="
).
append
(
transSuccTime
);
sb
.
append
(
", createTime="
).
append
(
createTime
);
...
...
@@ -462,27 +430,25 @@ public class TransOrder implements Serializable {
TransOrder
other
=
(
TransOrder
)
that
;
return
(
this
.
getTransOrderId
()
==
null
?
other
.
getTransOrderId
()
==
null
:
this
.
getTransOrderId
().
equals
(
other
.
getTransOrderId
()))
&&
(
this
.
getMchId
()
==
null
?
other
.
getMchId
()
==
null
:
this
.
getMchId
().
equals
(
other
.
getMchId
()))
&&
(
this
.
getMch
Order
No
()
==
null
?
other
.
getMch
Order
No
()
==
null
:
this
.
getMch
Order
No
().
equals
(
other
.
getMch
Order
No
()))
&&
(
this
.
getMch
Trans
No
()
==
null
?
other
.
getMch
Trans
No
()
==
null
:
this
.
getMch
Trans
No
().
equals
(
other
.
getMch
Trans
No
()))
&&
(
this
.
getChannelId
()
==
null
?
other
.
getChannelId
()
==
null
:
this
.
getChannelId
().
equals
(
other
.
getChannelId
()))
&&
(
this
.
getAmount
()
==
null
?
other
.
getAmount
()
==
null
:
this
.
getAmount
().
equals
(
other
.
getAmount
()))
&&
(
this
.
getCurrency
()
==
null
?
other
.
getCurrency
()
==
null
:
this
.
getCurrency
().
equals
(
other
.
getCurrency
()))
&&
(
this
.
getStatus
()
==
null
?
other
.
getStatus
()
==
null
:
this
.
getStatus
().
equals
(
other
.
getStatus
()))
&&
(
this
.
getResult
()
==
null
?
other
.
getResult
()
==
null
:
this
.
getResult
().
equals
(
other
.
getResult
()))
&&
(
this
.
getClientIp
()
==
null
?
other
.
getClientIp
()
==
null
:
this
.
getClientIp
().
equals
(
other
.
getClientIp
()))
&&
(
this
.
getDevice
()
==
null
?
other
.
getDevice
()
==
null
:
this
.
getDevice
().
equals
(
other
.
getDevice
()))
&&
(
this
.
getRemarkInfo
()
==
null
?
other
.
getRemarkInfo
()
==
null
:
this
.
getRemarkInfo
().
equals
(
other
.
getRemarkInfo
()))
&&
(
this
.
getOpenId
()
==
null
?
other
.
getOpenId
()
==
null
:
this
.
getOpenId
().
equals
(
other
.
getOpenId
()))
&&
(
this
.
getCheckName
()
==
null
?
other
.
getCheckName
()
==
null
:
this
.
getCheckName
().
equals
(
other
.
getCheckName
()))
&&
(
this
.
getChannelUser
()
==
null
?
other
.
getChannelUser
()
==
null
:
this
.
getChannelUser
().
equals
(
other
.
getChannelUser
()))
&&
(
this
.
getUserName
()
==
null
?
other
.
getUserName
()
==
null
:
this
.
getUserName
().
equals
(
other
.
getUserName
()))
&&
(
this
.
getExtra
()
==
null
?
other
.
getExtra
()
==
null
:
this
.
getExtra
().
equals
(
other
.
getExtra
()))
&&
(
this
.
getChannelMchId
()
==
null
?
other
.
getChannelMchId
()
==
null
:
this
.
getChannelMchId
().
equals
(
other
.
getChannelMchId
()))
&&
(
this
.
getChannelOrderNo
()
==
null
?
other
.
getChannelOrderNo
()
==
null
:
this
.
getChannelOrderNo
().
equals
(
other
.
getChannelOrderNo
()))
&&
(
this
.
getErrCode
()
==
null
?
other
.
getErrCode
()
==
null
:
this
.
getErrCode
().
equals
(
other
.
getErrCode
()))
&&
(
this
.
getErrMsg
()
==
null
?
other
.
getErrMsg
()
==
null
:
this
.
getErrMsg
().
equals
(
other
.
getErrMsg
()))
&&
(
this
.
getChannelErrCode
()
==
null
?
other
.
getChannelErrCode
()
==
null
:
this
.
getChannelErrCode
().
equals
(
other
.
getChannelErrCode
()))
&&
(
this
.
getChannelErrMsg
()
==
null
?
other
.
getChannelErrMsg
()
==
null
:
this
.
getChannelErrMsg
().
equals
(
other
.
getChannelErrMsg
()))
&&
(
this
.
getExtra
()
==
null
?
other
.
getExtra
()
==
null
:
this
.
getExtra
().
equals
(
other
.
getExtra
()))
&&
(
this
.
getNotifyUrl
()
==
null
?
other
.
getNotifyUrl
()
==
null
:
this
.
getNotifyUrl
().
equals
(
other
.
getNotifyUrl
()))
&&
(
this
.
getParam1
()
==
null
?
other
.
getParam1
()
==
null
:
this
.
getParam1
().
equals
(
other
.
getParam1
()))
&&
(
this
.
getParam2
()
==
null
?
other
.
getParam2
()
==
null
:
this
.
getParam2
().
equals
(
other
.
getParam2
()))
&&
(
this
.
getNotifyUrl
()
==
null
?
other
.
getNotifyUrl
()
==
null
:
this
.
getNotifyUrl
().
equals
(
other
.
getNotifyUrl
()))
&&
(
this
.
getNotifyCount
()
==
null
?
other
.
getNotifyCount
()
==
null
:
this
.
getNotifyCount
().
equals
(
other
.
getNotifyCount
()))
&&
(
this
.
getLastNotifyTime
()
==
null
?
other
.
getLastNotifyTime
()
==
null
:
this
.
getLastNotifyTime
().
equals
(
other
.
getLastNotifyTime
()))
&&
(
this
.
getExpireTime
()
==
null
?
other
.
getExpireTime
()
==
null
:
this
.
getExpireTime
().
equals
(
other
.
getExpireTime
()))
&&
(
this
.
getTransSuccTime
()
==
null
?
other
.
getTransSuccTime
()
==
null
:
this
.
getTransSuccTime
().
equals
(
other
.
getTransSuccTime
()))
&&
(
this
.
getCreateTime
()
==
null
?
other
.
getCreateTime
()
==
null
:
this
.
getCreateTime
().
equals
(
other
.
getCreateTime
()))
...
...
@@ -495,27 +461,25 @@ public class TransOrder implements Serializable {
int
result
=
1
;
result
=
prime
*
result
+
((
getTransOrderId
()
==
null
)
?
0
:
getTransOrderId
().
hashCode
());
result
=
prime
*
result
+
((
getMchId
()
==
null
)
?
0
:
getMchId
().
hashCode
());
result
=
prime
*
result
+
((
getMch
Order
No
()
==
null
)
?
0
:
getMch
Order
No
().
hashCode
());
result
=
prime
*
result
+
((
getMch
Trans
No
()
==
null
)
?
0
:
getMch
Trans
No
().
hashCode
());
result
=
prime
*
result
+
((
getChannelId
()
==
null
)
?
0
:
getChannelId
().
hashCode
());
result
=
prime
*
result
+
((
getAmount
()
==
null
)
?
0
:
getAmount
().
hashCode
());
result
=
prime
*
result
+
((
getCurrency
()
==
null
)
?
0
:
getCurrency
().
hashCode
());
result
=
prime
*
result
+
((
getStatus
()
==
null
)
?
0
:
getStatus
().
hashCode
());
result
=
prime
*
result
+
((
getResult
()
==
null
)
?
0
:
getResult
().
hashCode
());
result
=
prime
*
result
+
((
getClientIp
()
==
null
)
?
0
:
getClientIp
().
hashCode
());
result
=
prime
*
result
+
((
getDevice
()
==
null
)
?
0
:
getDevice
().
hashCode
());
result
=
prime
*
result
+
((
getRemarkInfo
()
==
null
)
?
0
:
getRemarkInfo
().
hashCode
());
result
=
prime
*
result
+
((
getOpenId
()
==
null
)
?
0
:
getOpenId
().
hashCode
());
result
=
prime
*
result
+
((
getCheckName
()
==
null
)
?
0
:
getCheckName
().
hashCode
());
result
=
prime
*
result
+
((
getChannelUser
()
==
null
)
?
0
:
getChannelUser
().
hashCode
());
result
=
prime
*
result
+
((
getUserName
()
==
null
)
?
0
:
getUserName
().
hashCode
());
result
=
prime
*
result
+
((
getExtra
()
==
null
)
?
0
:
getExtra
().
hashCode
());
result
=
prime
*
result
+
((
getChannelMchId
()
==
null
)
?
0
:
getChannelMchId
().
hashCode
());
result
=
prime
*
result
+
((
getChannelOrderNo
()
==
null
)
?
0
:
getChannelOrderNo
().
hashCode
());
result
=
prime
*
result
+
((
getErrCode
()
==
null
)
?
0
:
getErrCode
().
hashCode
());
result
=
prime
*
result
+
((
getErrMsg
()
==
null
)
?
0
:
getErrMsg
().
hashCode
());
result
=
prime
*
result
+
((
getChannelErrCode
()
==
null
)
?
0
:
getChannelErrCode
().
hashCode
());
result
=
prime
*
result
+
((
getChannelErrMsg
()
==
null
)
?
0
:
getChannelErrMsg
().
hashCode
());
result
=
prime
*
result
+
((
getExtra
()
==
null
)
?
0
:
getExtra
().
hashCode
());
result
=
prime
*
result
+
((
getNotifyUrl
()
==
null
)
?
0
:
getNotifyUrl
().
hashCode
());
result
=
prime
*
result
+
((
getParam1
()
==
null
)
?
0
:
getParam1
().
hashCode
());
result
=
prime
*
result
+
((
getParam2
()
==
null
)
?
0
:
getParam2
().
hashCode
());
result
=
prime
*
result
+
((
getNotifyUrl
()
==
null
)
?
0
:
getNotifyUrl
().
hashCode
());
result
=
prime
*
result
+
((
getNotifyCount
()
==
null
)
?
0
:
getNotifyCount
().
hashCode
());
result
=
prime
*
result
+
((
getLastNotifyTime
()
==
null
)
?
0
:
getLastNotifyTime
().
hashCode
());
result
=
prime
*
result
+
((
getExpireTime
()
==
null
)
?
0
:
getExpireTime
().
hashCode
());
result
=
prime
*
result
+
((
getTransSuccTime
()
==
null
)
?
0
:
getTransSuccTime
().
hashCode
());
result
=
prime
*
result
+
((
getCreateTime
()
==
null
)
?
0
:
getCreateTime
().
hashCode
());
...
...
xxpay-dal/src/main/java/org/xxpay/dal/dao/model/TransOrderExample.java
View file @
deee24e5
...
...
@@ -268,73 +268,73 @@ public class TransOrderExample implements Serializable {
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoIsNull
()
{
addCriterion
(
"Mch
Order
No is null"
);
public
Criteria
andMch
Trans
NoIsNull
()
{
addCriterion
(
"Mch
Trans
No is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoIsNotNull
()
{
addCriterion
(
"Mch
Order
No is not null"
);
public
Criteria
andMch
Trans
NoIsNotNull
()
{
addCriterion
(
"Mch
Trans
No is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoEqualTo
(
String
value
)
{
addCriterion
(
"Mch
Order
No ="
,
value
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoEqualTo
(
String
value
)
{
addCriterion
(
"Mch
Trans
No ="
,
value
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoNotEqualTo
(
String
value
)
{
addCriterion
(
"Mch
Order
No <>"
,
value
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoNotEqualTo
(
String
value
)
{
addCriterion
(
"Mch
Trans
No <>"
,
value
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoGreaterThan
(
String
value
)
{
addCriterion
(
"Mch
Order
No >"
,
value
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoGreaterThan
(
String
value
)
{
addCriterion
(
"Mch
Trans
No >"
,
value
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Mch
Order
No >="
,
value
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Mch
Trans
No >="
,
value
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoLessThan
(
String
value
)
{
addCriterion
(
"Mch
Order
No <"
,
value
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoLessThan
(
String
value
)
{
addCriterion
(
"Mch
Trans
No <"
,
value
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Mch
Order
No <="
,
value
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Mch
Trans
No <="
,
value
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoLike
(
String
value
)
{
addCriterion
(
"Mch
Order
No like"
,
value
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoLike
(
String
value
)
{
addCriterion
(
"Mch
Trans
No like"
,
value
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoNotLike
(
String
value
)
{
addCriterion
(
"Mch
Order
No not like"
,
value
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoNotLike
(
String
value
)
{
addCriterion
(
"Mch
Trans
No not like"
,
value
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoIn
(
List
<
String
>
values
)
{
addCriterion
(
"Mch
Order
No in"
,
values
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoIn
(
List
<
String
>
values
)
{
addCriterion
(
"Mch
Trans
No in"
,
values
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Mch
Order
No not in"
,
values
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Mch
Trans
No not in"
,
values
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Mch
Order
No between"
,
value1
,
value2
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Mch
Trans
No between"
,
value1
,
value2
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
public
Criteria
andMch
Order
NoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Mch
Order
No not between"
,
value1
,
value2
,
"mch
Order
No"
);
public
Criteria
andMch
Trans
NoNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Mch
Trans
No not between"
,
value1
,
value2
,
"mch
Trans
No"
);
return
(
Criteria
)
this
;
}
...
...
@@ -598,6 +598,66 @@ public class TransOrderExample implements Serializable {
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
(
Byte
value
)
{
addCriterion
(
"Result ="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotEqualTo
(
Byte
value
)
{
addCriterion
(
"Result <>"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultGreaterThan
(
Byte
value
)
{
addCriterion
(
"Result >"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"Result >="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultLessThan
(
Byte
value
)
{
addCriterion
(
"Result <"
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"Result <="
,
value
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"Result in"
,
values
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"Result not in"
,
values
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"Result between"
,
value1
,
value2
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andResultNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"Result not between"
,
value1
,
value2
,
"result"
);
return
(
Criteria
)
this
;
}
public
Criteria
andClientIpIsNull
()
{
addCriterion
(
"ClientIp is null"
);
return
(
Criteria
)
this
;
...
...
@@ -808,133 +868,73 @@ public class TransOrderExample implements Serializable {
return
(
Criteria
)
this
;
}
public
Criteria
andOpenIdIsNull
()
{
addCriterion
(
"OpenId is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOpenIdIsNotNull
()
{
addCriterion
(
"OpenId is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andOpenIdEqualTo
(
String
value
)
{
addCriterion
(
"OpenId ="
,
value
,
"openId"
);
public
Criteria
andChannelUserIsNull
()
{
addCriterion
(
"ChannelUser is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdNotEqualTo
(
String
value
)
{
addCriterion
(
"
OpenId <>"
,
value
,
"openId
"
);
public
Criteria
and
ChannelUserIsNotNull
(
)
{
addCriterion
(
"
ChannelUser is not null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdGreaterThan
(
String
value
)
{
addCriterion
(
"
OpenId >"
,
value
,
"openId
"
);
public
Criteria
and
ChannelUserEqualTo
(
String
value
)
{
addCriterion
(
"
ChannelUser ="
,
value
,
"channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdGreaterThanOr
EqualTo
(
String
value
)
{
addCriterion
(
"
OpenId >="
,
value
,
"openId
"
);
public
Criteria
and
ChannelUserNot
EqualTo
(
String
value
)
{
addCriterion
(
"
ChannelUser <>"
,
value
,
"channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdLess
Than
(
String
value
)
{
addCriterion
(
"
OpenId <"
,
value
,
"openId
"
);
public
Criteria
and
ChannelUserGreater
Than
(
String
value
)
{
addCriterion
(
"
ChannelUser >"
,
value
,
"channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdLess
ThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
OpenId <
="
,
value
,
"
openId
"
);
public
Criteria
and
ChannelUserGreater
ThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
ChannelUser >
="
,
value
,
"
channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdLike
(
String
value
)
{
addCriterion
(
"
OpenId like"
,
value
,
"openId
"
);
public
Criteria
and
ChannelUserLessThan
(
String
value
)
{
addCriterion
(
"
ChannelUser <"
,
value
,
"channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdNotLike
(
String
value
)
{
addCriterion
(
"
OpenId not like"
,
value
,
"openId
"
);
public
Criteria
and
ChannelUserLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
ChannelUser <="
,
value
,
"channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
OpenId in
"
,
value
s
,
"
openId
"
);
public
Criteria
and
ChannelUserLike
(
String
value
)
{
addCriterion
(
"
ChannelUser like
"
,
value
,
"
channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdNotIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
OpenId
not
in
"
,
value
s
,
"
openId
"
);
public
Criteria
and
ChannelUserNotLike
(
String
value
)
{
addCriterion
(
"
ChannelUser
not
like
"
,
value
,
"
channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdBetween
(
String
value1
,
String
value
2
)
{
addCriterion
(
"
OpenId betwee
n"
,
value
1
,
value2
,
"openId
"
);
public
Criteria
and
ChannelUserIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
ChannelUser i
n"
,
value
s
,
"channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
OpenIdNotBetween
(
String
value1
,
String
value
2
)
{
addCriterion
(
"
OpenId not betwee
n"
,
value
1
,
value2
,
"openId
"
);
public
Criteria
and
ChannelUserNotIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
ChannelUser not i
n"
,
value
s
,
"channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCh
eckNameIsNull
(
)
{
addCriterion
(
"Ch
eckName is null
"
);
public
Criteria
andCh
annelUserBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Ch
annelUser between"
,
value1
,
value2
,
"channelUser
"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameIsNotNull
()
{
addCriterion
(
"CheckName is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameEqualTo
(
Byte
value
)
{
addCriterion
(
"CheckName ="
,
value
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameNotEqualTo
(
Byte
value
)
{
addCriterion
(
"CheckName <>"
,
value
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameGreaterThan
(
Byte
value
)
{
addCriterion
(
"CheckName >"
,
value
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"CheckName >="
,
value
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameLessThan
(
Byte
value
)
{
addCriterion
(
"CheckName <"
,
value
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"CheckName <="
,
value
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"CheckName in"
,
values
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameNotIn
(
List
<
Byte
>
values
)
{
addCriterion
(
"CheckName not in"
,
values
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"CheckName between"
,
value1
,
value2
,
"checkName"
);
return
(
Criteria
)
this
;
}
public
Criteria
andCheckNameNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"CheckName not between"
,
value1
,
value2
,
"checkName"
);
public
Criteria
andChannelUserNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ChannelUser not between"
,
value1
,
value2
,
"channelUser"
);
return
(
Criteria
)
this
;
}
...
...
@@ -1008,76 +1008,6 @@ public class TransOrderExample implements Serializable {
return
(
Criteria
)
this
;
}
public
Criteria
andExtraIsNull
()
{
addCriterion
(
"Extra is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraIsNotNull
()
{
addCriterion
(
"Extra is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraEqualTo
(
String
value
)
{
addCriterion
(
"Extra ="
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraNotEqualTo
(
String
value
)
{
addCriterion
(
"Extra <>"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraGreaterThan
(
String
value
)
{
addCriterion
(
"Extra >"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Extra >="
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraLessThan
(
String
value
)
{
addCriterion
(
"Extra <"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Extra <="
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraLike
(
String
value
)
{
addCriterion
(
"Extra like"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraNotLike
(
String
value
)
{
addCriterion
(
"Extra not like"
,
value
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraIn
(
List
<
String
>
values
)
{
addCriterion
(
"Extra in"
,
values
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"Extra not in"
,
values
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Extra between"
,
value1
,
value2
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExtraNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"Extra not between"
,
value1
,
value2
,
"extra"
);
return
(
Criteria
)
this
;
}
public
Criteria
andChannelMchIdIsNull
()
{
addCriterion
(
"ChannelMchId is null"
);
return
(
Criteria
)
this
;
...
...
@@ -1218,283 +1148,213 @@ public class TransOrderExample implements Serializable {
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeIsNull
()
{
addCriterion
(
"ErrCode is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeIsNotNull
()
{
addCriterion
(
"ErrCode is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeEqualTo
(
String
value
)
{
addCriterion
(
"ErrCode ="
,
value
,
"errCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeNotEqualTo
(
String
value
)
{
addCriterion
(
"ErrCode <>"
,
value
,
"errCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeGreaterThan
(
String
value
)
{
addCriterion
(
"ErrCode >"
,
value
,
"errCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ErrCode >="
,
value
,
"errCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeLessThan
(
String
value
)
{
addCriterion
(
"ErrCode <"
,
value
,
"errCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"ErrCode <="
,
value
,
"errCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeLike
(
String
value
)
{
addCriterion
(
"ErrCode like"
,
value
,
"errCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeNotLike
(
String
value
)
{
addCriterion
(
"ErrCode not like"
,
value
,
"errCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeIn
(
List
<
String
>
values
)
{
addCriterion
(
"ErrCode in"
,
values
,
"errCode"
);
public
Criteria
andChannelErrCodeIsNull
()
{
addCriterion
(
"ChannelErrCode is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrCodeNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ErrCode not
in"
,
values
,
"errCode
"
);
public
Criteria
and
ChannelErrCodeIsNotNull
(
)
{
addCriterion
(
"
Channel
ErrCode
is
not
null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrCodeBetween
(
String
value1
,
String
value
2
)
{
addCriterion
(
"ErrCode
between
"
,
value
1
,
value2
,
"e
rrCode"
);
public
Criteria
and
ChannelErrCodeEqualTo
(
String
value
)
{
addCriterion
(
"
Channel
ErrCode
=
"
,
value
,
"channelE
rrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrCodeNot
Between
(
String
value1
,
String
value
2
)
{
addCriterion
(
"ErrCode
not between"
,
value1
,
value2
,
"e
rrCode"
);
public
Criteria
and
Channel
ErrCodeNot
EqualTo
(
String
value
)
{
addCriterion
(
"
Channel
ErrCode
<>"
,
value
,
"channelE
rrCode"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgIsNull
(
)
{
addCriterion
(
"
ErrMsg is null
"
);
public
Criteria
and
ChannelErrCodeGreaterThan
(
String
value
)
{
addCriterion
(
"
ChannelErrCode >"
,
value
,
"channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgIsNotNull
(
)
{
addCriterion
(
"
ErrMsg is not null
"
);
public
Criteria
and
ChannelErrCodeGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
ChannelErrCode >="
,
value
,
"channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgEqualTo
(
String
value
)
{
addCriterion
(
"
ErrMsg ="
,
value
,
"errMsg
"
);
public
Criteria
and
ChannelErrCodeLessThan
(
String
value
)
{
addCriterion
(
"
ChannelErrCode <"
,
value
,
"channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgNot
EqualTo
(
String
value
)
{
addCriterion
(
"
ErrMsg
<
>
"
,
value
,
"
errMsg
"
);
public
Criteria
and
ChannelErrCodeLessThanOr
EqualTo
(
String
value
)
{
addCriterion
(
"
ChannelErrCode
<
=
"
,
value
,
"
channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgGreaterThan
(
String
value
)
{
addCriterion
(
"
ErrMsg >"
,
value
,
"errMsg
"
);
public
Criteria
and
ChannelErrCodeLike
(
String
value
)
{
addCriterion
(
"
ChannelErrCode like"
,
value
,
"channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgGreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
ErrMsg >="
,
value
,
"errMsg
"
);
public
Criteria
and
ChannelErrCodeNotLike
(
String
value
)
{
addCriterion
(
"
ChannelErrCode not like"
,
value
,
"channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgLessThan
(
String
value
)
{
addCriterion
(
"
ErrMsg <
"
,
value
,
"
errMsg
"
);
public
Criteria
and
ChannelErrCodeIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
ChannelErrCode in
"
,
value
s
,
"
channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgLessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
ErrMsg <=
"
,
value
,
"
errMsg
"
);
public
Criteria
and
ChannelErrCodeNotIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
ChannelErrCode not in
"
,
value
s
,
"
channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgLike
(
String
value
)
{
addCriterion
(
"
ErrMsg like"
,
value
,
"errMsg
"
);
public
Criteria
and
ChannelErrCodeBetween
(
String
value1
,
String
value
2
)
{
addCriterion
(
"
ChannelErrCode between"
,
value1
,
value2
,
"channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgNotLike
(
String
value
)
{
addCriterion
(
"
ErrMsg not like"
,
value
,
"errMsg
"
);
public
Criteria
and
ChannelErrCodeNotBetween
(
String
value1
,
String
value
2
)
{
addCriterion
(
"
ChannelErrCode not between"
,
value1
,
value2
,
"channelErrCode
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgIn
(
List
<
String
>
values
)
{
addCriterion
(
"ErrMsg i
n"
,
values
,
"errMsg
"
);
public
Criteria
and
ChannelErrMsgIsNull
(
)
{
addCriterion
(
"
Channel
ErrMsg i
s null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
ErrMsgNotIn
(
List
<
String
>
values
)
{
addCriterion
(
"ErrMsg not
in"
,
values
,
"errMsg
"
);
public
Criteria
and
ChannelErrMsgIsNotNull
(
)
{
addCriterion
(
"
Channel
ErrMsg
is
not
null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrMsgBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ErrMsg between"
,
value1
,
value2
,
"errMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andErrMsgNotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"ErrMsg not between"
,
value1
,
value2
,
"errMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1IsNull
()
{
addCriterion
(
"Param1 is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1IsNotNull
()
{
addCriterion
(
"Param1 is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1EqualTo
(
String
value
)
{
addCriterion
(
"Param1 ="
,
value
,
"param1"
);
public
Criteria
andChannelErrMsgEqualTo
(
String
value
)
{
addCriterion
(
"ChannelErrMsg ="
,
value
,
"channelErrMsg"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
NotEqualTo
(
String
value
)
{
addCriterion
(
"
Param1
<>"
,
value
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
NotEqualTo
(
String
value
)
{
addCriterion
(
"
ChannelErrMsg
<>"
,
value
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
GreaterThan
(
String
value
)
{
addCriterion
(
"
Param1 >"
,
value
,
"param1
"
);
public
Criteria
and
ChannelErrMsg
GreaterThan
(
String
value
)
{
addCriterion
(
"
ChannelErrMsg >"
,
value
,
"channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
Param1
>="
,
value
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
ChannelErrMsg
>="
,
value
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
LessThan
(
String
value
)
{
addCriterion
(
"
Param1 <"
,
value
,
"param1
"
);
public
Criteria
and
ChannelErrMsg
LessThan
(
String
value
)
{
addCriterion
(
"
ChannelErrMsg <"
,
value
,
"channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
Param1
<="
,
value
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
ChannelErrMsg
<="
,
value
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
Like
(
String
value
)
{
addCriterion
(
"
Param1
like"
,
value
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
Like
(
String
value
)
{
addCriterion
(
"
ChannelErrMsg
like"
,
value
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
NotLike
(
String
value
)
{
addCriterion
(
"
Param1
not like"
,
value
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
NotLike
(
String
value
)
{
addCriterion
(
"
ChannelErrMsg
not like"
,
value
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
In
(
List
<
String
>
values
)
{
addCriterion
(
"
Param1
in"
,
values
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
In
(
List
<
String
>
values
)
{
addCriterion
(
"
ChannelErrMsg
in"
,
values
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
Param1
not in"
,
values
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
ChannelErrMsg
not in"
,
values
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"
Param1
between"
,
value1
,
value2
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"
ChannelErrMsg
between"
,
value1
,
value2
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param1
NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
Param1
not between"
,
value1
,
value2
,
"
param1
"
);
public
Criteria
and
ChannelErrMsg
NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
ChannelErrMsg
not between"
,
value1
,
value2
,
"
channelErrMsg
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
IsNull
()
{
addCriterion
(
"
Param2
is null"
);
public
Criteria
and
Extra
IsNull
()
{
addCriterion
(
"
Extra
is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
IsNotNull
()
{
addCriterion
(
"
Param2
is not null"
);
public
Criteria
and
Extra
IsNotNull
()
{
addCriterion
(
"
Extra
is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
EqualTo
(
String
value
)
{
addCriterion
(
"
Param2
="
,
value
,
"
param2
"
);
public
Criteria
and
Extra
EqualTo
(
String
value
)
{
addCriterion
(
"
Extra
="
,
value
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
NotEqualTo
(
String
value
)
{
addCriterion
(
"
Param2
<>"
,
value
,
"
param2
"
);
public
Criteria
and
Extra
NotEqualTo
(
String
value
)
{
addCriterion
(
"
Extra
<>"
,
value
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
GreaterThan
(
String
value
)
{
addCriterion
(
"
Param2
>"
,
value
,
"
param2
"
);
public
Criteria
and
Extra
GreaterThan
(
String
value
)
{
addCriterion
(
"
Extra
>"
,
value
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
Param2
>="
,
value
,
"
param2
"
);
public
Criteria
and
Extra
GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
Extra
>="
,
value
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
LessThan
(
String
value
)
{
addCriterion
(
"
Param2
<"
,
value
,
"
param2
"
);
public
Criteria
and
Extra
LessThan
(
String
value
)
{
addCriterion
(
"
Extra
<"
,
value
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
Param2
<="
,
value
,
"
param2
"
);
public
Criteria
and
Extra
LessThanOrEqualTo
(
String
value
)
{
addCriterion
(
"
Extra
<="
,
value
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
Like
(
String
value
)
{
addCriterion
(
"
Param2
like"
,
value
,
"
param2
"
);
public
Criteria
and
Extra
Like
(
String
value
)
{
addCriterion
(
"
Extra
like"
,
value
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
NotLike
(
String
value
)
{
addCriterion
(
"
Param2
not like"
,
value
,
"
param2
"
);
public
Criteria
and
Extra
NotLike
(
String
value
)
{
addCriterion
(
"
Extra
not like"
,
value
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
In
(
List
<
String
>
values
)
{
addCriterion
(
"
Param2
in"
,
values
,
"
param2
"
);
public
Criteria
and
Extra
In
(
List
<
String
>
values
)
{
addCriterion
(
"
Extra
in"
,
values
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
Param2
not in"
,
values
,
"
param2
"
);
public
Criteria
and
Extra
NotIn
(
List
<
String
>
values
)
{
addCriterion
(
"
Extra
not in"
,
values
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"
Param2
between"
,
value1
,
value2
,
"
param2
"
);
public
Criteria
and
Extra
Between
(
String
value1
,
String
value2
)
{
addCriterion
(
"
Extra
between"
,
value1
,
value2
,
"
extra
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
Param2
NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
Param2
not between"
,
value1
,
value2
,
"
param2
"
);
public
Criteria
and
Extra
NotBetween
(
String
value1
,
String
value2
)
{
addCriterion
(
"
Extra
not between"
,
value1
,
value2
,
"
extra
"
);
return
(
Criteria
)
this
;
}
...
...
@@ -1568,123 +1428,143 @@ public class TransOrderExample implements Serializable {
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountIsNull
()
{
addCriterion
(
"NotifyCount is null"
);
public
Criteria
andParam1IsNull
()
{
addCriterion
(
"Param1 is null"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1IsNotNull
()
{
addCriterion
(
"Param1 is not null"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountIsNotNull
(
)
{
addCriterion
(
"
NotifyCount is not null
"
);
public
Criteria
and
Param1EqualTo
(
String
value
)
{
addCriterion
(
"
Param1 ="
,
value
,
"param1
"
);
return
(
Criteria
)
this
;
}
public
Criteria
andNotifyCountEqualTo
(
Byte
value
)
{
addCriterion
(
"NotifyCount ="
,
value
,
"notifyCount"
);
public
Criteria
andParam1NotEqualTo
(
String
value
)
{
addCriterion
(
"Param1 <>"
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1GreaterThan
(
String
value
)
{
addCriterion
(
"Param1 >"
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1GreaterThanOrEqualTo
(
String
value
)
{
addCriterion
(
"Param1 >="
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
andParam1LessThan
(
String
value
)
{
addCriterion
(
"Param1 <"
,
value
,
"param1"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountNot
EqualTo
(
Byte
value
)
{
addCriterion
(
"
NotifyCount
<
>
"
,
value
,
"
notifyCount
"
);
public
Criteria
and
Param1LessThanOr
EqualTo
(
String
value
)
{
addCriterion
(
"
Param1
<
=
"
,
value
,
"
param1
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountGreaterThan
(
Byte
value
)
{
addCriterion
(
"
NotifyCount >"
,
value
,
"notifyCount
"
);
public
Criteria
and
Param1Like
(
String
value
)
{
addCriterion
(
"
Param1 like"
,
value
,
"param1
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountGreaterThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"
NotifyCount >="
,
value
,
"notifyCount
"
);
public
Criteria
and
Param1NotLike
(
String
value
)
{
addCriterion
(
"
Param1 not like"
,
value
,
"param1
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountLessThan
(
Byte
value
)
{
addCriterion
(
"
NotifyCount <
"
,
value
,
"
notifyCount
"
);
public
Criteria
and
Param1In
(
List
<
String
>
value
s
)
{
addCriterion
(
"
Param1 in
"
,
value
s
,
"
param1
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountLessThanOrEqualTo
(
Byte
value
)
{
addCriterion
(
"
NotifyCount <=
"
,
value
,
"
notifyCount
"
);
public
Criteria
and
Param1NotIn
(
List
<
String
>
value
s
)
{
addCriterion
(
"
Param1 not in
"
,
value
s
,
"
param1
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountIn
(
List
<
Byte
>
value
s
)
{
addCriterion
(
"
NotifyCount in"
,
value
s
,
"
notifyCount
"
);
public
Criteria
and
Param1Between
(
String
value1
,
String
value
2
)
{
addCriterion
(
"
Param1 between"
,
value1
,
value
2
,
"
param1
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountNotIn
(
List
<
Byte
>
value
s
)
{
addCriterion
(
"
NotifyCount not in"
,
values
,
"notifyCount
"
);
public
Criteria
and
Param1NotBetween
(
String
value1
,
String
value
2
)
{
addCriterion
(
"
Param1 not between"
,
value1
,
value2
,
"param1
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"
NotifyCount between"
,
value1
,
value2
,
"notifyCount
"
);
public
Criteria
and
Param2IsNull
(
)
{
addCriterion
(
"
Param2 is null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
NotifyCountNotBetween
(
Byte
value1
,
Byte
value2
)
{
addCriterion
(
"
NotifyCount not between"
,
value1
,
value2
,
"notifyCount
"
);
public
Criteria
and
Param2IsNotNull
(
)
{
addCriterion
(
"
Param2 is not null
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTimeIsNull
(
)
{
addCriterion
(
"
LastNotifyTime is null
"
);
public
Criteria
and
Param2EqualTo
(
String
value
)
{
addCriterion
(
"
Param2 ="
,
value
,
"param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTimeIsNotNull
(
)
{
addCriterion
(
"
LastNotifyTime is not null
"
);
public
Criteria
and
Param2NotEqualTo
(
String
value
)
{
addCriterion
(
"
Param2 <>"
,
value
,
"param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTimeEqualTo
(
Lo
ng
value
)
{
addCriterion
(
"
LastNotifyTime ="
,
value
,
"lastNotifyTime
"
);
public
Criteria
and
Param2GreaterThan
(
Stri
ng
value
)
{
addCriterion
(
"
Param2 >"
,
value
,
"param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTimeNot
EqualTo
(
Lo
ng
value
)
{
addCriterion
(
"
LastNotifyTime <>"
,
value
,
"lastNotifyTime
"
);
public
Criteria
and
Param2GreaterThanOr
EqualTo
(
Stri
ng
value
)
{
addCriterion
(
"
Param2 >="
,
value
,
"param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTimeGreater
Than
(
Lo
ng
value
)
{
addCriterion
(
"
LastNotifyTime >"
,
value
,
"lastNotifyTime
"
);
public
Criteria
and
Param2Less
Than
(
Stri
ng
value
)
{
addCriterion
(
"
Param2 <"
,
value
,
"param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTimeGreater
ThanOrEqualTo
(
Lo
ng
value
)
{
addCriterion
(
"
LastNotifyTime >="
,
value
,
"lastNotifyTime
"
);
public
Criteria
and
Param2Less
ThanOrEqualTo
(
Stri
ng
value
)
{
addCriterion
(
"
Param2 <="
,
value
,
"param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTimeLessThan
(
Lo
ng
value
)
{
addCriterion
(
"
LastNotifyTime <"
,
value
,
"lastNotifyTime
"
);
public
Criteria
and
Param2Like
(
Stri
ng
value
)
{
addCriterion
(
"
Param2 like"
,
value
,
"param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTimeLessThanOrEqualTo
(
Lo
ng
value
)
{
addCriterion
(
"
LastNotifyTime <="
,
value
,
"lastNotifyTime
"
);
public
Criteria
and
Param2NotLike
(
Stri
ng
value
)
{
addCriterion
(
"
Param2 not like"
,
value
,
"param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTime
In
(
List
<
Lo
ng
>
values
)
{
addCriterion
(
"
LastNotifyTime
in"
,
values
,
"
lastNotifyTime
"
);
public
Criteria
and
Param2
In
(
List
<
Stri
ng
>
values
)
{
addCriterion
(
"
Param2
in"
,
values
,
"
param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTime
NotIn
(
List
<
Lo
ng
>
values
)
{
addCriterion
(
"
LastNotifyTime
not in"
,
values
,
"
lastNotifyTime
"
);
public
Criteria
and
Param2
NotIn
(
List
<
Stri
ng
>
values
)
{
addCriterion
(
"
Param2
not in"
,
values
,
"
param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTime
Between
(
Lo
ng
value1
,
Lo
ng
value2
)
{
addCriterion
(
"
LastNotifyTime
between"
,
value1
,
value2
,
"
lastNotifyTime
"
);
public
Criteria
and
Param2
Between
(
Stri
ng
value1
,
Stri
ng
value2
)
{
addCriterion
(
"
Param2
between"
,
value1
,
value2
,
"
param2
"
);
return
(
Criteria
)
this
;
}
public
Criteria
and
LastNotifyTime
NotBetween
(
Lo
ng
value1
,
Lo
ng
value2
)
{
addCriterion
(
"
LastNotifyTime
not between"
,
value1
,
value2
,
"
lastNotifyTime
"
);
public
Criteria
and
Param2
NotBetween
(
Stri
ng
value1
,
Stri
ng
value2
)
{
addCriterion
(
"
Param2
not between"
,
value1
,
value2
,
"
param2
"
);
return
(
Criteria
)
this
;
}
...
...
@@ -1698,52 +1578,52 @@ public class TransOrderExample implements Serializable {
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeEqualTo
(
Long
value
)
{
public
Criteria
andExpireTimeEqualTo
(
Date
value
)
{
addCriterion
(
"ExpireTime ="
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeNotEqualTo
(
Long
value
)
{
public
Criteria
andExpireTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"ExpireTime <>"
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeGreaterThan
(
Long
value
)
{
public
Criteria
andExpireTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"ExpireTime >"
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeGreaterThanOrEqualTo
(
Long
value
)
{
public
Criteria
andExpireTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"ExpireTime >="
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeLessThan
(
Long
value
)
{
public
Criteria
andExpireTimeLessThan
(
Date
value
)
{
addCriterion
(
"ExpireTime <"
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeLessThanOrEqualTo
(
Long
value
)
{
public
Criteria
andExpireTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"ExpireTime <="
,
value
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeIn
(
List
<
Long
>
values
)
{
public
Criteria
andExpireTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"ExpireTime in"
,
values
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeNotIn
(
List
<
Long
>
values
)
{
public
Criteria
andExpireTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"ExpireTime not in"
,
values
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeBetween
(
Long
value1
,
Long
value2
)
{
public
Criteria
andExpireTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"ExpireTime between"
,
value1
,
value2
,
"expireTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andExpireTimeNotBetween
(
Long
value1
,
Long
value2
)
{
public
Criteria
andExpireTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"ExpireTime not between"
,
value1
,
value2
,
"expireTime"
);
return
(
Criteria
)
this
;
}
...
...
@@ -1758,52 +1638,52 @@ public class TransOrderExample implements Serializable {
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeEqualTo
(
Long
value
)
{
public
Criteria
andTransSuccTimeEqualTo
(
Date
value
)
{
addCriterion
(
"TransSuccTime ="
,
value
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeNotEqualTo
(
Long
value
)
{
public
Criteria
andTransSuccTimeNotEqualTo
(
Date
value
)
{
addCriterion
(
"TransSuccTime <>"
,
value
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeGreaterThan
(
Long
value
)
{
public
Criteria
andTransSuccTimeGreaterThan
(
Date
value
)
{
addCriterion
(
"TransSuccTime >"
,
value
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeGreaterThanOrEqualTo
(
Long
value
)
{
public
Criteria
andTransSuccTimeGreaterThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"TransSuccTime >="
,
value
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeLessThan
(
Long
value
)
{
public
Criteria
andTransSuccTimeLessThan
(
Date
value
)
{
addCriterion
(
"TransSuccTime <"
,
value
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeLessThanOrEqualTo
(
Long
value
)
{
public
Criteria
andTransSuccTimeLessThanOrEqualTo
(
Date
value
)
{
addCriterion
(
"TransSuccTime <="
,
value
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeIn
(
List
<
Long
>
values
)
{
public
Criteria
andTransSuccTimeIn
(
List
<
Date
>
values
)
{
addCriterion
(
"TransSuccTime in"
,
values
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeNotIn
(
List
<
Long
>
values
)
{
public
Criteria
andTransSuccTimeNotIn
(
List
<
Date
>
values
)
{
addCriterion
(
"TransSuccTime not in"
,
values
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeBetween
(
Long
value1
,
Long
value2
)
{
public
Criteria
andTransSuccTimeBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"TransSuccTime between"
,
value1
,
value2
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
public
Criteria
andTransSuccTimeNotBetween
(
Long
value1
,
Long
value2
)
{
public
Criteria
andTransSuccTimeNotBetween
(
Date
value1
,
Date
value2
)
{
addCriterion
(
"TransSuccTime not between"
,
value1
,
value2
,
"transSuccTime"
);
return
(
Criteria
)
this
;
}
...
...
xxpay-dal/src/main/resources/generatorConfig.xml
View file @
deee24e5
...
...
@@ -54,10 +54,13 @@
<javaClientGenerator
targetPackage=
"org.xxpay.dal.dao.mapper"
targetProject=
"src/main/java"
type=
"XMLMAPPER"
/>
<!-- 需要映射的表 -->
<table
tableName=
"t_pay_order"
domainObjectName=
"PayOrder"
><property
name=
"useActualColumnNames"
value=
"true"
/></table>
<table
tableName=
"t_trans_order"
domainObjectName=
"TransOrder"
><property
name=
"useActualColumnNames"
value=
"true"
/></table>
<!--<table tableName="t_pay_order" domainObjectName="PayOrder"><property name="useActualColumnNames" value="true" /></table>
<table tableName="t_pay_channel" domainObjectName="PayChannel"><property name="useActualColumnNames" value="true" /></table>
<table tableName="t_mch_info" domainObjectName="MchInfo"><property name="useActualColumnNames" value="true" /></table>
<table
tableName=
"t_iap_receipt"
domainObjectName=
"IapReceipt"
><property
name=
"useActualColumnNames"
value=
"true"
/></table>
<table tableName="t_iap_receipt" domainObjectName="IapReceipt"><property name="useActualColumnNames" value="true" /></table>-->
<table
tableName=
"t_trans_order"
domainObjectName=
"TransOrder"
><property
name=
"useActualColumnNames"
value=
"true"
/></table>
<table
tableName=
"t_refund_order"
domainObjectName=
"RefundOrder"
><property
name=
"useActualColumnNames"
value=
"true"
/></table>
<!--<table tableName="t_mch_notify" domainObjectName="MchNotify"><property name="useActualColumnNames" value="true" /></table>-->
</context>
</generatorConfiguration>
\ No newline at end of file
xxpay-dal/src/main/resources/org/xxpay/dal/dao/mapper/MchNotifyMapper.xml
0 → 100644
View file @
deee24e5
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"org.xxpay.dal.dao.mapper.MchNotifyMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"org.xxpay.dal.dao.model.MchNotify"
>
<id
column=
"OrderId"
property=
"orderId"
jdbcType=
"VARCHAR"
/>
<result
column=
"MchId"
property=
"mchId"
jdbcType=
"VARCHAR"
/>
<result
column=
"MchOrderNo"
property=
"mchOrderNo"
jdbcType=
"VARCHAR"
/>
<result
column=
"OrderType"
property=
"orderType"
jdbcType=
"VARCHAR"
/>
<result
column=
"NotifyUrl"
property=
"notifyUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"NotifyCount"
property=
"notifyCount"
jdbcType=
"TINYINT"
/>
<result
column=
"Result"
property=
"result"
jdbcType=
"VARCHAR"
/>
<result
column=
"Status"
property=
"status"
jdbcType=
"TINYINT"
/>
<result
column=
"LastNotifyTime"
property=
"lastNotifyTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"CreateTime"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"UpdateTime"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose
>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<where
>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose
>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
OrderId, MchId, MchOrderNo, OrderType, NotifyUrl, NotifyCount, Result, Status, LastNotifyTime,
CreateTime, UpdateTime
</sql>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"org.xxpay.dal.dao.model.MchNotifyExample"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from t_mch_notify
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
<if
test=
"limit != null"
>
<if
test=
"offset != null"
>
limit ${offset}, ${limit}
</if>
<if
test=
"offset == null"
>
limit ${limit}
</if>
</if>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from t_mch_notify
where OrderId = #{orderId,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
delete from t_mch_notify
where OrderId = #{orderId,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"org.xxpay.dal.dao.model.MchNotifyExample"
>
delete from t_mch_notify
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"org.xxpay.dal.dao.model.MchNotify"
>
insert into t_mch_notify (OrderId, MchId, MchOrderNo,
OrderType, NotifyUrl, NotifyCount,
Result, Status, LastNotifyTime,
CreateTime, UpdateTime)
values (#{orderId,jdbcType=VARCHAR}, #{mchId,jdbcType=VARCHAR}, #{mchOrderNo,jdbcType=VARCHAR},
#{orderType,jdbcType=VARCHAR}, #{notifyUrl,jdbcType=VARCHAR}, #{notifyCount,jdbcType=TINYINT},
#{result,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, #{lastNotifyTime,jdbcType=TIMESTAMP},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"org.xxpay.dal.dao.model.MchNotify"
>
insert into t_mch_notify
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"orderId != null"
>
OrderId,
</if>
<if
test=
"mchId != null"
>
MchId,
</if>
<if
test=
"mchOrderNo != null"
>
MchOrderNo,
</if>
<if
test=
"orderType != null"
>
OrderType,
</if>
<if
test=
"notifyUrl != null"
>
NotifyUrl,
</if>
<if
test=
"notifyCount != null"
>
NotifyCount,
</if>
<if
test=
"result != null"
>
Result,
</if>
<if
test=
"status != null"
>
Status,
</if>
<if
test=
"lastNotifyTime != null"
>
LastNotifyTime,
</if>
<if
test=
"createTime != null"
>
CreateTime,
</if>
<if
test=
"updateTime != null"
>
UpdateTime,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"orderId != null"
>
#{orderId,jdbcType=VARCHAR},
</if>
<if
test=
"mchId != null"
>
#{mchId,jdbcType=VARCHAR},
</if>
<if
test=
"mchOrderNo != null"
>
#{mchOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"orderType != null"
>
#{orderType,jdbcType=VARCHAR},
</if>
<if
test=
"notifyUrl != null"
>
#{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"notifyCount != null"
>
#{notifyCount,jdbcType=TINYINT},
</if>
<if
test=
"result != null"
>
#{result,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=TINYINT},
</if>
<if
test=
"lastNotifyTime != null"
>
#{lastNotifyTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"org.xxpay.dal.dao.model.MchNotifyExample"
resultType=
"java.lang.Integer"
>
select count(*) from t_mch_notify
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update t_mch_notify
<set
>
<if
test=
"record.orderId != null"
>
OrderId = #{record.orderId,jdbcType=VARCHAR},
</if>
<if
test=
"record.mchId != null"
>
MchId = #{record.mchId,jdbcType=VARCHAR},
</if>
<if
test=
"record.mchOrderNo != null"
>
MchOrderNo = #{record.mchOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"record.orderType != null"
>
OrderType = #{record.orderType,jdbcType=VARCHAR},
</if>
<if
test=
"record.notifyUrl != null"
>
NotifyUrl = #{record.notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"record.notifyCount != null"
>
NotifyCount = #{record.notifyCount,jdbcType=TINYINT},
</if>
<if
test=
"record.result != null"
>
Result = #{record.result,jdbcType=VARCHAR},
</if>
<if
test=
"record.status != null"
>
Status = #{record.status,jdbcType=TINYINT},
</if>
<if
test=
"record.lastNotifyTime != null"
>
LastNotifyTime = #{record.lastNotifyTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.createTime != null"
>
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updateTime != null"
>
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update t_mch_notify
set OrderId = #{record.orderId,jdbcType=VARCHAR},
MchId = #{record.mchId,jdbcType=VARCHAR},
MchOrderNo = #{record.mchOrderNo,jdbcType=VARCHAR},
OrderType = #{record.orderType,jdbcType=VARCHAR},
NotifyUrl = #{record.notifyUrl,jdbcType=VARCHAR},
NotifyCount = #{record.notifyCount,jdbcType=TINYINT},
Result = #{record.result,jdbcType=VARCHAR},
Status = #{record.status,jdbcType=TINYINT},
LastNotifyTime = #{record.lastNotifyTime,jdbcType=TIMESTAMP},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"org.xxpay.dal.dao.model.MchNotify"
>
update t_mch_notify
<set
>
<if
test=
"mchId != null"
>
MchId = #{mchId,jdbcType=VARCHAR},
</if>
<if
test=
"mchOrderNo != null"
>
MchOrderNo = #{mchOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"orderType != null"
>
OrderType = #{orderType,jdbcType=VARCHAR},
</if>
<if
test=
"notifyUrl != null"
>
NotifyUrl = #{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"notifyCount != null"
>
NotifyCount = #{notifyCount,jdbcType=TINYINT},
</if>
<if
test=
"result != null"
>
Result = #{result,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
Status = #{status,jdbcType=TINYINT},
</if>
<if
test=
"lastNotifyTime != null"
>
LastNotifyTime = #{lastNotifyTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
CreateTime = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
</if>
</set>
where OrderId = #{orderId,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"org.xxpay.dal.dao.model.MchNotify"
>
update t_mch_notify
set MchId = #{mchId,jdbcType=VARCHAR},
MchOrderNo = #{mchOrderNo,jdbcType=VARCHAR},
OrderType = #{orderType,jdbcType=VARCHAR},
NotifyUrl = #{notifyUrl,jdbcType=VARCHAR},
NotifyCount = #{notifyCount,jdbcType=TINYINT},
Result = #{result,jdbcType=VARCHAR},
Status = #{status,jdbcType=TINYINT},
LastNotifyTime = #{lastNotifyTime,jdbcType=TIMESTAMP},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP}
where OrderId = #{orderId,jdbcType=VARCHAR}
</update>
<!-- 单独增加的方法 -->
<insert
id=
"insertSelectiveOnDuplicateKeyUpdate"
parameterType=
"org.xxpay.dal.dao.model.MchNotify"
>
insert into t_mch_notify
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"orderId != null"
>
OrderId,
</if>
<if
test=
"mchId != null"
>
MchId,
</if>
<if
test=
"mchOrderNo != null"
>
MchOrderNo,
</if>
<if
test=
"orderType != null"
>
OrderType,
</if>
<if
test=
"notifyUrl != null"
>
NotifyUrl,
</if>
<if
test=
"notifyCount != null"
>
NotifyCount,
</if>
<if
test=
"result != null"
>
Result,
</if>
<if
test=
"status != null"
>
Status,
</if>
<if
test=
"lastNotifyTime != null"
>
LastNotifyTime,
</if>
<if
test=
"createTime != null"
>
CreateTime,
</if>
<if
test=
"updateTime != null"
>
UpdateTime,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"orderId != null"
>
#{orderId,jdbcType=VARCHAR},
</if>
<if
test=
"mchId != null"
>
#{mchId,jdbcType=VARCHAR},
</if>
<if
test=
"mchOrderNo != null"
>
#{mchOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"orderType != null"
>
#{orderType,jdbcType=VARCHAR},
</if>
<if
test=
"notifyUrl != null"
>
#{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"notifyCount != null"
>
#{notifyCount,jdbcType=TINYINT},
</if>
<if
test=
"result != null"
>
#{result,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=TINYINT},
</if>
<if
test=
"lastNotifyTime != null"
>
#{lastNotifyTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
</trim>
ON DUPLICATE KEY UPDATE OrderId = #{orderId,jdbcType=VARCHAR}
</insert>
</mapper>
\ No newline at end of file
xxpay-dal/src/main/resources/org/xxpay/dal/dao/mapper/RefundOrderMapper.xml
0 → 100644
View file @
deee24e5
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper
namespace=
"org.xxpay.dal.dao.mapper.RefundOrderMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"org.xxpay.dal.dao.model.RefundOrder"
>
<id
column=
"RefundOrderId"
property=
"refundOrderId"
jdbcType=
"VARCHAR"
/>
<result
column=
"PayOrderId"
property=
"payOrderId"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelPayOrderNo"
property=
"channelPayOrderNo"
jdbcType=
"VARCHAR"
/>
<result
column=
"MchId"
property=
"mchId"
jdbcType=
"VARCHAR"
/>
<result
column=
"MchRefundNo"
property=
"mchRefundNo"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelId"
property=
"channelId"
jdbcType=
"VARCHAR"
/>
<result
column=
"PayAmount"
property=
"payAmount"
jdbcType=
"BIGINT"
/>
<result
column=
"RefundAmount"
property=
"refundAmount"
jdbcType=
"BIGINT"
/>
<result
column=
"Currency"
property=
"currency"
jdbcType=
"VARCHAR"
/>
<result
column=
"Status"
property=
"status"
jdbcType=
"TINYINT"
/>
<result
column=
"Result"
property=
"result"
jdbcType=
"TINYINT"
/>
<result
column=
"ClientIp"
property=
"clientIp"
jdbcType=
"VARCHAR"
/>
<result
column=
"Device"
property=
"device"
jdbcType=
"VARCHAR"
/>
<result
column=
"RemarkInfo"
property=
"remarkInfo"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelUser"
property=
"channelUser"
jdbcType=
"VARCHAR"
/>
<result
column=
"UserName"
property=
"userName"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelMchId"
property=
"channelMchId"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelOrderNo"
property=
"channelOrderNo"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelErrCode"
property=
"channelErrCode"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelErrMsg"
property=
"channelErrMsg"
jdbcType=
"VARCHAR"
/>
<result
column=
"Extra"
property=
"extra"
jdbcType=
"VARCHAR"
/>
<result
column=
"NotifyUrl"
property=
"notifyUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"Param1"
property=
"param1"
jdbcType=
"VARCHAR"
/>
<result
column=
"Param2"
property=
"param2"
jdbcType=
"VARCHAR"
/>
<result
column=
"ExpireTime"
property=
"expireTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"RefundSuccTime"
property=
"refundSuccTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"CreateTime"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"UpdateTime"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<where
>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose
>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<where
>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
suffix=
")"
prefixOverrides=
"and"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose
>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
collection=
"criterion.value"
item=
"listItem"
open=
"("
close=
")"
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
RefundOrderId, PayOrderId, ChannelPayOrderNo, MchId, MchRefundNo, ChannelId, PayAmount,
RefundAmount, Currency, Status, Result, ClientIp, Device, RemarkInfo, ChannelUser,
UserName, ChannelMchId, ChannelOrderNo, ChannelErrCode, ChannelErrMsg, Extra, NotifyUrl,
Param1, Param2, ExpireTime, RefundSuccTime, CreateTime, UpdateTime
</sql>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"org.xxpay.dal.dao.model.RefundOrderExample"
>
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from t_refund_order
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
<if
test=
"limit != null"
>
<if
test=
"offset != null"
>
limit ${offset}, ${limit}
</if>
<if
test=
"offset == null"
>
limit ${limit}
</if>
</if>
</select>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from t_refund_order
where RefundOrderId = #{refundOrderId,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
delete from t_refund_order
where RefundOrderId = #{refundOrderId,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"org.xxpay.dal.dao.model.RefundOrderExample"
>
delete from t_refund_order
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"org.xxpay.dal.dao.model.RefundOrder"
>
insert into t_refund_order (RefundOrderId, PayOrderId, ChannelPayOrderNo,
MchId, MchRefundNo, ChannelId,
PayAmount, RefundAmount, Currency,
Status, Result, ClientIp,
Device, RemarkInfo, ChannelUser,
UserName, ChannelMchId, ChannelOrderNo,
ChannelErrCode, ChannelErrMsg, Extra,
NotifyUrl, Param1, Param2,
ExpireTime, RefundSuccTime, CreateTime,
UpdateTime)
values (#{refundOrderId,jdbcType=VARCHAR}, #{payOrderId,jdbcType=VARCHAR}, #{channelPayOrderNo,jdbcType=VARCHAR},
#{mchId,jdbcType=VARCHAR}, #{mchRefundNo,jdbcType=VARCHAR}, #{channelId,jdbcType=VARCHAR},
#{payAmount,jdbcType=BIGINT}, #{refundAmount,jdbcType=BIGINT}, #{currency,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT}, #{result,jdbcType=TINYINT}, #{clientIp,jdbcType=VARCHAR},
#{device,jdbcType=VARCHAR}, #{remarkInfo,jdbcType=VARCHAR}, #{channelUser,jdbcType=VARCHAR},
#{userName,jdbcType=VARCHAR}, #{channelMchId,jdbcType=VARCHAR}, #{channelOrderNo,jdbcType=VARCHAR},
#{channelErrCode,jdbcType=VARCHAR}, #{channelErrMsg,jdbcType=VARCHAR}, #{extra,jdbcType=VARCHAR},
#{notifyUrl,jdbcType=VARCHAR}, #{param1,jdbcType=VARCHAR}, #{param2,jdbcType=VARCHAR},
#{expireTime,jdbcType=TIMESTAMP}, #{refundSuccTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"org.xxpay.dal.dao.model.RefundOrder"
>
insert into t_refund_order
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"refundOrderId != null"
>
RefundOrderId,
</if>
<if
test=
"payOrderId != null"
>
PayOrderId,
</if>
<if
test=
"channelPayOrderNo != null"
>
ChannelPayOrderNo,
</if>
<if
test=
"mchId != null"
>
MchId,
</if>
<if
test=
"mchRefundNo != null"
>
MchRefundNo,
</if>
<if
test=
"channelId != null"
>
ChannelId,
</if>
<if
test=
"payAmount != null"
>
PayAmount,
</if>
<if
test=
"refundAmount != null"
>
RefundAmount,
</if>
<if
test=
"currency != null"
>
Currency,
</if>
<if
test=
"status != null"
>
Status,
</if>
<if
test=
"result != null"
>
Result,
</if>
<if
test=
"clientIp != null"
>
ClientIp,
</if>
<if
test=
"device != null"
>
Device,
</if>
<if
test=
"remarkInfo != null"
>
RemarkInfo,
</if>
<if
test=
"channelUser != null"
>
ChannelUser,
</if>
<if
test=
"userName != null"
>
UserName,
</if>
<if
test=
"channelMchId != null"
>
ChannelMchId,
</if>
<if
test=
"channelOrderNo != null"
>
ChannelOrderNo,
</if>
<if
test=
"channelErrCode != null"
>
ChannelErrCode,
</if>
<if
test=
"channelErrMsg != null"
>
ChannelErrMsg,
</if>
<if
test=
"extra != null"
>
Extra,
</if>
<if
test=
"notifyUrl != null"
>
NotifyUrl,
</if>
<if
test=
"param1 != null"
>
Param1,
</if>
<if
test=
"param2 != null"
>
Param2,
</if>
<if
test=
"expireTime != null"
>
ExpireTime,
</if>
<if
test=
"refundSuccTime != null"
>
RefundSuccTime,
</if>
<if
test=
"createTime != null"
>
CreateTime,
</if>
<if
test=
"updateTime != null"
>
UpdateTime,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"refundOrderId != null"
>
#{refundOrderId,jdbcType=VARCHAR},
</if>
<if
test=
"payOrderId != null"
>
#{payOrderId,jdbcType=VARCHAR},
</if>
<if
test=
"channelPayOrderNo != null"
>
#{channelPayOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"mchId != null"
>
#{mchId,jdbcType=VARCHAR},
</if>
<if
test=
"mchRefundNo != null"
>
#{mchRefundNo,jdbcType=VARCHAR},
</if>
<if
test=
"channelId != null"
>
#{channelId,jdbcType=VARCHAR},
</if>
<if
test=
"payAmount != null"
>
#{payAmount,jdbcType=BIGINT},
</if>
<if
test=
"refundAmount != null"
>
#{refundAmount,jdbcType=BIGINT},
</if>
<if
test=
"currency != null"
>
#{currency,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
#{status,jdbcType=TINYINT},
</if>
<if
test=
"result != null"
>
#{result,jdbcType=TINYINT},
</if>
<if
test=
"clientIp != null"
>
#{clientIp,jdbcType=VARCHAR},
</if>
<if
test=
"device != null"
>
#{device,jdbcType=VARCHAR},
</if>
<if
test=
"remarkInfo != null"
>
#{remarkInfo,jdbcType=VARCHAR},
</if>
<if
test=
"channelUser != null"
>
#{channelUser,jdbcType=VARCHAR},
</if>
<if
test=
"userName != null"
>
#{userName,jdbcType=VARCHAR},
</if>
<if
test=
"channelMchId != null"
>
#{channelMchId,jdbcType=VARCHAR},
</if>
<if
test=
"channelOrderNo != null"
>
#{channelOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"channelErrCode != null"
>
#{channelErrCode,jdbcType=VARCHAR},
</if>
<if
test=
"channelErrMsg != null"
>
#{channelErrMsg,jdbcType=VARCHAR},
</if>
<if
test=
"extra != null"
>
#{extra,jdbcType=VARCHAR},
</if>
<if
test=
"notifyUrl != null"
>
#{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"param1 != null"
>
#{param1,jdbcType=VARCHAR},
</if>
<if
test=
"param2 != null"
>
#{param2,jdbcType=VARCHAR},
</if>
<if
test=
"expireTime != null"
>
#{expireTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"refundSuccTime != null"
>
#{refundSuccTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"org.xxpay.dal.dao.model.RefundOrderExample"
resultType=
"java.lang.Integer"
>
select count(*) from t_refund_order
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
update t_refund_order
<set
>
<if
test=
"record.refundOrderId != null"
>
RefundOrderId = #{record.refundOrderId,jdbcType=VARCHAR},
</if>
<if
test=
"record.payOrderId != null"
>
PayOrderId = #{record.payOrderId,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelPayOrderNo != null"
>
ChannelPayOrderNo = #{record.channelPayOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"record.mchId != null"
>
MchId = #{record.mchId,jdbcType=VARCHAR},
</if>
<if
test=
"record.mchRefundNo != null"
>
MchRefundNo = #{record.mchRefundNo,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelId != null"
>
ChannelId = #{record.channelId,jdbcType=VARCHAR},
</if>
<if
test=
"record.payAmount != null"
>
PayAmount = #{record.payAmount,jdbcType=BIGINT},
</if>
<if
test=
"record.refundAmount != null"
>
RefundAmount = #{record.refundAmount,jdbcType=BIGINT},
</if>
<if
test=
"record.currency != null"
>
Currency = #{record.currency,jdbcType=VARCHAR},
</if>
<if
test=
"record.status != null"
>
Status = #{record.status,jdbcType=TINYINT},
</if>
<if
test=
"record.result != null"
>
Result = #{record.result,jdbcType=TINYINT},
</if>
<if
test=
"record.clientIp != null"
>
ClientIp = #{record.clientIp,jdbcType=VARCHAR},
</if>
<if
test=
"record.device != null"
>
Device = #{record.device,jdbcType=VARCHAR},
</if>
<if
test=
"record.remarkInfo != null"
>
RemarkInfo = #{record.remarkInfo,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelUser != null"
>
ChannelUser = #{record.channelUser,jdbcType=VARCHAR},
</if>
<if
test=
"record.userName != null"
>
UserName = #{record.userName,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelMchId != null"
>
ChannelMchId = #{record.channelMchId,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelOrderNo != null"
>
ChannelOrderNo = #{record.channelOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelErrCode != null"
>
ChannelErrCode = #{record.channelErrCode,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelErrMsg != null"
>
ChannelErrMsg = #{record.channelErrMsg,jdbcType=VARCHAR},
</if>
<if
test=
"record.extra != null"
>
Extra = #{record.extra,jdbcType=VARCHAR},
</if>
<if
test=
"record.notifyUrl != null"
>
NotifyUrl = #{record.notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"record.param1 != null"
>
Param1 = #{record.param1,jdbcType=VARCHAR},
</if>
<if
test=
"record.param2 != null"
>
Param2 = #{record.param2,jdbcType=VARCHAR},
</if>
<if
test=
"record.expireTime != null"
>
ExpireTime = #{record.expireTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.refundSuccTime != null"
>
RefundSuccTime = #{record.refundSuccTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.createTime != null"
>
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updateTime != null"
>
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
update t_refund_order
set RefundOrderId = #{record.refundOrderId,jdbcType=VARCHAR},
PayOrderId = #{record.payOrderId,jdbcType=VARCHAR},
ChannelPayOrderNo = #{record.channelPayOrderNo,jdbcType=VARCHAR},
MchId = #{record.mchId,jdbcType=VARCHAR},
MchRefundNo = #{record.mchRefundNo,jdbcType=VARCHAR},
ChannelId = #{record.channelId,jdbcType=VARCHAR},
PayAmount = #{record.payAmount,jdbcType=BIGINT},
RefundAmount = #{record.refundAmount,jdbcType=BIGINT},
Currency = #{record.currency,jdbcType=VARCHAR},
Status = #{record.status,jdbcType=TINYINT},
Result = #{record.result,jdbcType=TINYINT},
ClientIp = #{record.clientIp,jdbcType=VARCHAR},
Device = #{record.device,jdbcType=VARCHAR},
RemarkInfo = #{record.remarkInfo,jdbcType=VARCHAR},
ChannelUser = #{record.channelUser,jdbcType=VARCHAR},
UserName = #{record.userName,jdbcType=VARCHAR},
ChannelMchId = #{record.channelMchId,jdbcType=VARCHAR},
ChannelOrderNo = #{record.channelOrderNo,jdbcType=VARCHAR},
ChannelErrCode = #{record.channelErrCode,jdbcType=VARCHAR},
ChannelErrMsg = #{record.channelErrMsg,jdbcType=VARCHAR},
Extra = #{record.extra,jdbcType=VARCHAR},
NotifyUrl = #{record.notifyUrl,jdbcType=VARCHAR},
Param1 = #{record.param1,jdbcType=VARCHAR},
Param2 = #{record.param2,jdbcType=VARCHAR},
ExpireTime = #{record.expireTime,jdbcType=TIMESTAMP},
RefundSuccTime = #{record.refundSuccTime,jdbcType=TIMESTAMP},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"org.xxpay.dal.dao.model.RefundOrder"
>
update t_refund_order
<set
>
<if
test=
"payOrderId != null"
>
PayOrderId = #{payOrderId,jdbcType=VARCHAR},
</if>
<if
test=
"channelPayOrderNo != null"
>
ChannelPayOrderNo = #{channelPayOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"mchId != null"
>
MchId = #{mchId,jdbcType=VARCHAR},
</if>
<if
test=
"mchRefundNo != null"
>
MchRefundNo = #{mchRefundNo,jdbcType=VARCHAR},
</if>
<if
test=
"channelId != null"
>
ChannelId = #{channelId,jdbcType=VARCHAR},
</if>
<if
test=
"payAmount != null"
>
PayAmount = #{payAmount,jdbcType=BIGINT},
</if>
<if
test=
"refundAmount != null"
>
RefundAmount = #{refundAmount,jdbcType=BIGINT},
</if>
<if
test=
"currency != null"
>
Currency = #{currency,jdbcType=VARCHAR},
</if>
<if
test=
"status != null"
>
Status = #{status,jdbcType=TINYINT},
</if>
<if
test=
"result != null"
>
Result = #{result,jdbcType=TINYINT},
</if>
<if
test=
"clientIp != null"
>
ClientIp = #{clientIp,jdbcType=VARCHAR},
</if>
<if
test=
"device != null"
>
Device = #{device,jdbcType=VARCHAR},
</if>
<if
test=
"remarkInfo != null"
>
RemarkInfo = #{remarkInfo,jdbcType=VARCHAR},
</if>
<if
test=
"channelUser != null"
>
ChannelUser = #{channelUser,jdbcType=VARCHAR},
</if>
<if
test=
"userName != null"
>
UserName = #{userName,jdbcType=VARCHAR},
</if>
<if
test=
"channelMchId != null"
>
ChannelMchId = #{channelMchId,jdbcType=VARCHAR},
</if>
<if
test=
"channelOrderNo != null"
>
ChannelOrderNo = #{channelOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"channelErrCode != null"
>
ChannelErrCode = #{channelErrCode,jdbcType=VARCHAR},
</if>
<if
test=
"channelErrMsg != null"
>
ChannelErrMsg = #{channelErrMsg,jdbcType=VARCHAR},
</if>
<if
test=
"extra != null"
>
Extra = #{extra,jdbcType=VARCHAR},
</if>
<if
test=
"notifyUrl != null"
>
NotifyUrl = #{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"param1 != null"
>
Param1 = #{param1,jdbcType=VARCHAR},
</if>
<if
test=
"param2 != null"
>
Param2 = #{param2,jdbcType=VARCHAR},
</if>
<if
test=
"expireTime != null"
>
ExpireTime = #{expireTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"refundSuccTime != null"
>
RefundSuccTime = #{refundSuccTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"createTime != null"
>
CreateTime = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
</if>
</set>
where RefundOrderId = #{refundOrderId,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"org.xxpay.dal.dao.model.RefundOrder"
>
update t_refund_order
set PayOrderId = #{payOrderId,jdbcType=VARCHAR},
ChannelPayOrderNo = #{channelPayOrderNo,jdbcType=VARCHAR},
MchId = #{mchId,jdbcType=VARCHAR},
MchRefundNo = #{mchRefundNo,jdbcType=VARCHAR},
ChannelId = #{channelId,jdbcType=VARCHAR},
PayAmount = #{payAmount,jdbcType=BIGINT},
RefundAmount = #{refundAmount,jdbcType=BIGINT},
Currency = #{currency,jdbcType=VARCHAR},
Status = #{status,jdbcType=TINYINT},
Result = #{result,jdbcType=TINYINT},
ClientIp = #{clientIp,jdbcType=VARCHAR},
Device = #{device,jdbcType=VARCHAR},
RemarkInfo = #{remarkInfo,jdbcType=VARCHAR},
ChannelUser = #{channelUser,jdbcType=VARCHAR},
UserName = #{userName,jdbcType=VARCHAR},
ChannelMchId = #{channelMchId,jdbcType=VARCHAR},
ChannelOrderNo = #{channelOrderNo,jdbcType=VARCHAR},
ChannelErrCode = #{channelErrCode,jdbcType=VARCHAR},
ChannelErrMsg = #{channelErrMsg,jdbcType=VARCHAR},
Extra = #{extra,jdbcType=VARCHAR},
NotifyUrl = #{notifyUrl,jdbcType=VARCHAR},
Param1 = #{param1,jdbcType=VARCHAR},
Param2 = #{param2,jdbcType=VARCHAR},
ExpireTime = #{expireTime,jdbcType=TIMESTAMP},
RefundSuccTime = #{refundSuccTime,jdbcType=TIMESTAMP},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP}
where RefundOrderId = #{refundOrderId,jdbcType=VARCHAR}
</update>
</mapper>
\ No newline at end of file
xxpay-dal/src/main/resources/org/xxpay/dal/dao/mapper/TransOrderMapper.xml
View file @
deee24e5
...
...
@@ -4,29 +4,27 @@
<resultMap
id=
"BaseResultMap"
type=
"org.xxpay.dal.dao.model.TransOrder"
>
<id
column=
"TransOrderId"
property=
"transOrderId"
jdbcType=
"VARCHAR"
/>
<result
column=
"MchId"
property=
"mchId"
jdbcType=
"VARCHAR"
/>
<result
column=
"Mch
Order
No"
property=
"mch
Order
No"
jdbcType=
"VARCHAR"
/>
<result
column=
"Mch
Trans
No"
property=
"mch
Trans
No"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelId"
property=
"channelId"
jdbcType=
"VARCHAR"
/>
<result
column=
"Amount"
property=
"amount"
jdbcType=
"BIGINT"
/>
<result
column=
"Currency"
property=
"currency"
jdbcType=
"VARCHAR"
/>
<result
column=
"Status"
property=
"status"
jdbcType=
"TINYINT"
/>
<result
column=
"Result"
property=
"result"
jdbcType=
"TINYINT"
/>
<result
column=
"ClientIp"
property=
"clientIp"
jdbcType=
"VARCHAR"
/>
<result
column=
"Device"
property=
"device"
jdbcType=
"VARCHAR"
/>
<result
column=
"RemarkInfo"
property=
"remarkInfo"
jdbcType=
"VARCHAR"
/>
<result
column=
"OpenId"
property=
"openId"
jdbcType=
"VARCHAR"
/>
<result
column=
"CheckName"
property=
"checkName"
jdbcType=
"TINYINT"
/>
<result
column=
"ChannelUser"
property=
"channelUser"
jdbcType=
"VARCHAR"
/>
<result
column=
"UserName"
property=
"userName"
jdbcType=
"VARCHAR"
/>
<result
column=
"Extra"
property=
"extra"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelMchId"
property=
"channelMchId"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelOrderNo"
property=
"channelOrderNo"
jdbcType=
"VARCHAR"
/>
<result
column=
"ErrCode"
property=
"errCode"
jdbcType=
"VARCHAR"
/>
<result
column=
"ErrMsg"
property=
"errMsg"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelErrCode"
property=
"channelErrCode"
jdbcType=
"VARCHAR"
/>
<result
column=
"ChannelErrMsg"
property=
"channelErrMsg"
jdbcType=
"VARCHAR"
/>
<result
column=
"Extra"
property=
"extra"
jdbcType=
"VARCHAR"
/>
<result
column=
"NotifyUrl"
property=
"notifyUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"Param1"
property=
"param1"
jdbcType=
"VARCHAR"
/>
<result
column=
"Param2"
property=
"param2"
jdbcType=
"VARCHAR"
/>
<result
column=
"NotifyUrl"
property=
"notifyUrl"
jdbcType=
"VARCHAR"
/>
<result
column=
"NotifyCount"
property=
"notifyCount"
jdbcType=
"TINYINT"
/>
<result
column=
"LastNotifyTime"
property=
"lastNotifyTime"
jdbcType=
"BIGINT"
/>
<result
column=
"ExpireTime"
property=
"expireTime"
jdbcType=
"BIGINT"
/>
<result
column=
"TransSuccTime"
property=
"transSuccTime"
jdbcType=
"BIGINT"
/>
<result
column=
"ExpireTime"
property=
"expireTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"TransSuccTime"
property=
"transSuccTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"CreateTime"
property=
"createTime"
jdbcType=
"TIMESTAMP"
/>
<result
column=
"UpdateTime"
property=
"updateTime"
jdbcType=
"TIMESTAMP"
/>
</resultMap>
...
...
@@ -89,10 +87,10 @@
</where>
</sql>
<sql
id=
"Base_Column_List"
>
TransOrderId, MchId, Mch
Order
No, ChannelId, Amount, Currency, Status, ClientIp,
Device,
RemarkInfo,
OpenId, CheckName
, UserName,
Extra,
ChannelMchId, ChannelOrderNo, ErrCode,
ErrMsg,
Param1, Param2, NotifyUrl, NotifyCount, LastNotifyTime
, ExpireTime, TransSuccTime,
CreateTime,
UpdateTime
TransOrderId, MchId, Mch
Trans
No, ChannelId, Amount, Currency, Status,
Result,
ClientIp,
Device,
RemarkInfo,
ChannelUser
, UserName, ChannelMchId, ChannelOrderNo,
Channel
ErrCode,
Channel
ErrMsg,
Extra, NotifyUrl, Param1, Param2
, ExpireTime, TransSuccTime,
CreateTime,
UpdateTime
</sql>
<select
id=
"selectByExample"
resultMap=
"BaseResultMap"
parameterType=
"org.xxpay.dal.dao.model.TransOrderExample"
>
select
...
...
@@ -133,26 +131,24 @@
</if>
</delete>
<insert
id=
"insert"
parameterType=
"org.xxpay.dal.dao.model.TransOrder"
>
insert into t_trans_order (TransOrderId, MchId, Mch
Order
No,
insert into t_trans_order (TransOrderId, MchId, Mch
Trans
No,
ChannelId, Amount, Currency,
Status, ClientIp, Device,
RemarkInfo, OpenId, CheckName,
UserName, Extra, ChannelMchId,
ChannelOrderNo, ErrCode, ErrMsg,
Param1, Param2, NotifyUrl,
NotifyCount, LastNotifyTime, ExpireTime,
TransSuccTime, CreateTime, UpdateTime
)
values (#{transOrderId,jdbcType=VARCHAR}, #{mchId,jdbcType=VARCHAR}, #{mchOrderNo,jdbcType=VARCHAR},
Status, Result, ClientIp,
Device, RemarkInfo, ChannelUser,
UserName, ChannelMchId, ChannelOrderNo,
ChannelErrCode, ChannelErrMsg, Extra,
NotifyUrl, Param1, Param2,
ExpireTime, TransSuccTime, CreateTime,
UpdateTime)
values (#{transOrderId,jdbcType=VARCHAR}, #{mchId,jdbcType=VARCHAR}, #{mchTransNo,jdbcType=VARCHAR},
#{channelId,jdbcType=VARCHAR}, #{amount,jdbcType=BIGINT}, #{currency,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT}, #{clientIp,jdbcType=VARCHAR}, #{device,jdbcType=VARCHAR},
#{remarkInfo,jdbcType=VARCHAR}, #{openId,jdbcType=VARCHAR}, #{checkName,jdbcType=TINYINT},
#{userName,jdbcType=VARCHAR}, #{extra,jdbcType=VARCHAR}, #{channelMchId,jdbcType=VARCHAR},
#{channelOrderNo,jdbcType=VARCHAR}, #{errCode,jdbcType=VARCHAR}, #{errMsg,jdbcType=VARCHAR},
#{param1,jdbcType=VARCHAR}, #{param2,jdbcType=VARCHAR}, #{notifyUrl,jdbcType=VARCHAR},
#{notifyCount,jdbcType=TINYINT}, #{lastNotifyTime,jdbcType=BIGINT}, #{expireTime,jdbcType=BIGINT},
#{transSuccTime,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
#{status,jdbcType=TINYINT}, #{result,jdbcType=TINYINT}, #{clientIp,jdbcType=VARCHAR},
#{device,jdbcType=VARCHAR}, #{remarkInfo,jdbcType=VARCHAR}, #{channelUser,jdbcType=VARCHAR},
#{userName,jdbcType=VARCHAR}, #{channelMchId,jdbcType=VARCHAR}, #{channelOrderNo,jdbcType=VARCHAR},
#{channelErrCode,jdbcType=VARCHAR}, #{channelErrMsg,jdbcType=VARCHAR}, #{extra,jdbcType=VARCHAR},
#{notifyUrl,jdbcType=VARCHAR}, #{param1,jdbcType=VARCHAR}, #{param2,jdbcType=VARCHAR},
#{expireTime,jdbcType=TIMESTAMP}, #{transSuccTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert
id=
"insertSelective"
parameterType=
"org.xxpay.dal.dao.model.TransOrder"
>
insert into t_trans_order
...
...
@@ -163,8 +159,8 @@
<if
test=
"mchId != null"
>
MchId,
</if>
<if
test=
"mch
Order
No != null"
>
Mch
Order
No,
<if
test=
"mch
Trans
No != null"
>
Mch
Trans
No,
</if>
<if
test=
"channelId != null"
>
ChannelId,
...
...
@@ -178,6 +174,9 @@
<if
test=
"status != null"
>
Status,
</if>
<if
test=
"result != null"
>
Result,
</if>
<if
test=
"clientIp != null"
>
ClientIp,
</if>
...
...
@@ -187,44 +186,35 @@
<if
test=
"remarkInfo != null"
>
RemarkInfo,
</if>
<if
test=
"openId != null"
>
OpenId,
</if>
<if
test=
"checkName != null"
>
CheckName,
<if
test=
"channelUser != null"
>
ChannelUser,
</if>
<if
test=
"userName != null"
>
UserName,
</if>
<if
test=
"extra != null"
>
Extra,
</if>
<if
test=
"channelMchId != null"
>
ChannelMchId,
</if>
<if
test=
"channelOrderNo != null"
>
ChannelOrderNo,
</if>
<if
test=
"
e
rrCode != null"
>
ErrCode,
<if
test=
"
channelE
rrCode != null"
>
Channel
ErrCode,
</if>
<if
test=
"
e
rrMsg != null"
>
ErrMsg,
<if
test=
"
channelE
rrMsg != null"
>
Channel
ErrMsg,
</if>
<if
test=
"param1 != null"
>
Param1,
</if>
<if
test=
"param2 != null"
>
Param2,
<if
test=
"extra != null"
>
Extra,
</if>
<if
test=
"notifyUrl != null"
>
NotifyUrl,
</if>
<if
test=
"
notifyCount
!= null"
>
NotifyCount
,
<if
test=
"
param1
!= null"
>
Param1
,
</if>
<if
test=
"
lastNotifyTime
!= null"
>
LastNotifyTime
,
<if
test=
"
param2
!= null"
>
Param2
,
</if>
<if
test=
"expireTime != null"
>
ExpireTime,
...
...
@@ -246,8 +236,8 @@
<if
test=
"mchId != null"
>
#{mchId,jdbcType=VARCHAR},
</if>
<if
test=
"mch
Order
No != null"
>
#{mch
Order
No,jdbcType=VARCHAR},
<if
test=
"mch
Trans
No != null"
>
#{mch
Trans
No,jdbcType=VARCHAR},
</if>
<if
test=
"channelId != null"
>
#{channelId,jdbcType=VARCHAR},
...
...
@@ -261,6 +251,9 @@
<if
test=
"status != null"
>
#{status,jdbcType=TINYINT},
</if>
<if
test=
"result != null"
>
#{result,jdbcType=TINYINT},
</if>
<if
test=
"clientIp != null"
>
#{clientIp,jdbcType=VARCHAR},
</if>
...
...
@@ -270,50 +263,41 @@
<if
test=
"remarkInfo != null"
>
#{remarkInfo,jdbcType=VARCHAR},
</if>
<if
test=
"openId != null"
>
#{openId,jdbcType=VARCHAR},
</if>
<if
test=
"checkName != null"
>
#{checkName,jdbcType=TINYINT},
<if
test=
"channelUser != null"
>
#{channelUser,jdbcType=VARCHAR},
</if>
<if
test=
"userName != null"
>
#{userName,jdbcType=VARCHAR},
</if>
<if
test=
"extra != null"
>
#{extra,jdbcType=VARCHAR},
</if>
<if
test=
"channelMchId != null"
>
#{channelMchId,jdbcType=VARCHAR},
</if>
<if
test=
"channelOrderNo != null"
>
#{channelOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"
e
rrCode != null"
>
#{
e
rrCode,jdbcType=VARCHAR},
<if
test=
"
channelE
rrCode != null"
>
#{
channelE
rrCode,jdbcType=VARCHAR},
</if>
<if
test=
"
e
rrMsg != null"
>
#{
e
rrMsg,jdbcType=VARCHAR},
<if
test=
"
channelE
rrMsg != null"
>
#{
channelE
rrMsg,jdbcType=VARCHAR},
</if>
<if
test=
"param1 != null"
>
#{param1,jdbcType=VARCHAR},
</if>
<if
test=
"param2 != null"
>
#{param2,jdbcType=VARCHAR},
<if
test=
"extra != null"
>
#{extra,jdbcType=VARCHAR},
</if>
<if
test=
"notifyUrl != null"
>
#{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"
notifyCount
!= null"
>
#{
notifyCount
,jdbcType=
TINYINT
},
<if
test=
"
param1
!= null"
>
#{
param1
,jdbcType=
VARCHAR
},
</if>
<if
test=
"
lastNotifyTime
!= null"
>
#{
lastNotifyTime
,jdbcType=
BIGINT
},
<if
test=
"
param2
!= null"
>
#{
param2
,jdbcType=
VARCHAR
},
</if>
<if
test=
"expireTime != null"
>
#{expireTime,jdbcType=
BIGINT
},
#{expireTime,jdbcType=
TIMESTAMP
},
</if>
<if
test=
"transSuccTime != null"
>
#{transSuccTime,jdbcType=
BIGINT
},
#{transSuccTime,jdbcType=
TIMESTAMP
},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
...
...
@@ -338,8 +322,8 @@
<if
test=
"record.mchId != null"
>
MchId = #{record.mchId,jdbcType=VARCHAR},
</if>
<if
test=
"record.mch
Order
No != null"
>
Mch
Order
No = #{record.mch
Order
No,jdbcType=VARCHAR},
<if
test=
"record.mch
Trans
No != null"
>
Mch
Trans
No = #{record.mch
Trans
No,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelId != null"
>
ChannelId = #{record.channelId,jdbcType=VARCHAR},
...
...
@@ -353,6 +337,9 @@
<if
test=
"record.status != null"
>
Status = #{record.status,jdbcType=TINYINT},
</if>
<if
test=
"record.result != null"
>
Result = #{record.result,jdbcType=TINYINT},
</if>
<if
test=
"record.clientIp != null"
>
ClientIp = #{record.clientIp,jdbcType=VARCHAR},
</if>
...
...
@@ -362,50 +349,41 @@
<if
test=
"record.remarkInfo != null"
>
RemarkInfo = #{record.remarkInfo,jdbcType=VARCHAR},
</if>
<if
test=
"record.openId != null"
>
OpenId = #{record.openId,jdbcType=VARCHAR},
</if>
<if
test=
"record.checkName != null"
>
CheckName = #{record.checkName,jdbcType=TINYINT},
<if
test=
"record.channelUser != null"
>
ChannelUser = #{record.channelUser,jdbcType=VARCHAR},
</if>
<if
test=
"record.userName != null"
>
UserName = #{record.userName,jdbcType=VARCHAR},
</if>
<if
test=
"record.extra != null"
>
Extra = #{record.extra,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelMchId != null"
>
ChannelMchId = #{record.channelMchId,jdbcType=VARCHAR},
</if>
<if
test=
"record.channelOrderNo != null"
>
ChannelOrderNo = #{record.channelOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"record.
e
rrCode != null"
>
ErrCode = #{record.
e
rrCode,jdbcType=VARCHAR},
<if
test=
"record.
channelE
rrCode != null"
>
Channel
ErrCode = #{record.
channelE
rrCode,jdbcType=VARCHAR},
</if>
<if
test=
"record.errMsg != null"
>
ErrMsg = #{record.errMsg,jdbcType=VARCHAR},
</if>
<if
test=
"record.param1 != null"
>
Param1 = #{record.param1,jdbcType=VARCHAR},
<if
test=
"record.channelErrMsg != null"
>
ChannelErrMsg = #{record.channelErrMsg,jdbcType=VARCHAR},
</if>
<if
test=
"record.
param2
!= null"
>
Param2
= #{record.
param2
,jdbcType=VARCHAR},
<if
test=
"record.
extra
!= null"
>
Extra
= #{record.
extra
,jdbcType=VARCHAR},
</if>
<if
test=
"record.notifyUrl != null"
>
NotifyUrl = #{record.notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"record.
notifyCount
!= null"
>
NotifyCount
= #{record.
notifyCount
,jdbcType=
TINYINT
},
<if
test=
"record.
param1
!= null"
>
Param1
= #{record.
param1
,jdbcType=
VARCHAR
},
</if>
<if
test=
"record.
lastNotifyTime
!= null"
>
LastNotifyTime = #{record.lastNotifyTime
,jdbcType=
BIGINT
},
<if
test=
"record.
param2
!= null"
>
Param2 = #{record.param2
,jdbcType=
VARCHAR
},
</if>
<if
test=
"record.expireTime != null"
>
ExpireTime = #{record.expireTime,jdbcType=
BIGINT
},
ExpireTime = #{record.expireTime,jdbcType=
TIMESTAMP
},
</if>
<if
test=
"record.transSuccTime != null"
>
TransSuccTime = #{record.transSuccTime,jdbcType=
BIGINT
},
TransSuccTime = #{record.transSuccTime,jdbcType=
TIMESTAMP
},
</if>
<if
test=
"record.createTime != null"
>
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
...
...
@@ -422,29 +400,27 @@
update t_trans_order
set TransOrderId = #{record.transOrderId,jdbcType=VARCHAR},
MchId = #{record.mchId,jdbcType=VARCHAR},
Mch
Order
No = #{record.mch
Order
No,jdbcType=VARCHAR},
Mch
Trans
No = #{record.mch
Trans
No,jdbcType=VARCHAR},
ChannelId = #{record.channelId,jdbcType=VARCHAR},
Amount = #{record.amount,jdbcType=BIGINT},
Currency = #{record.currency,jdbcType=VARCHAR},
Status = #{record.status,jdbcType=TINYINT},
Result = #{record.result,jdbcType=TINYINT},
ClientIp = #{record.clientIp,jdbcType=VARCHAR},
Device = #{record.device,jdbcType=VARCHAR},
RemarkInfo = #{record.remarkInfo,jdbcType=VARCHAR},
OpenId = #{record.openId,jdbcType=VARCHAR},
CheckName = #{record.checkName,jdbcType=TINYINT},
ChannelUser = #{record.channelUser,jdbcType=VARCHAR},
UserName = #{record.userName,jdbcType=VARCHAR},
Extra = #{record.extra,jdbcType=VARCHAR},
ChannelMchId = #{record.channelMchId,jdbcType=VARCHAR},
ChannelOrderNo = #{record.channelOrderNo,jdbcType=VARCHAR},
ErrCode = #{record.errCode,jdbcType=VARCHAR},
ErrMsg = #{record.errMsg,jdbcType=VARCHAR},
ChannelErrCode = #{record.channelErrCode,jdbcType=VARCHAR},
ChannelErrMsg = #{record.channelErrMsg,jdbcType=VARCHAR},
Extra = #{record.extra,jdbcType=VARCHAR},
NotifyUrl = #{record.notifyUrl,jdbcType=VARCHAR},
Param1 = #{record.param1,jdbcType=VARCHAR},
Param2 = #{record.param2,jdbcType=VARCHAR},
NotifyUrl = #{record.notifyUrl,jdbcType=VARCHAR},
NotifyCount = #{record.notifyCount,jdbcType=TINYINT},
LastNotifyTime = #{record.lastNotifyTime,jdbcType=BIGINT},
ExpireTime = #{record.expireTime,jdbcType=BIGINT},
TransSuccTime = #{record.transSuccTime,jdbcType=BIGINT},
ExpireTime = #{record.expireTime,jdbcType=TIMESTAMP},
TransSuccTime = #{record.transSuccTime,jdbcType=TIMESTAMP},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP}
<if
test=
"_parameter != null"
>
...
...
@@ -457,8 +433,8 @@
<if
test=
"mchId != null"
>
MchId = #{mchId,jdbcType=VARCHAR},
</if>
<if
test=
"mch
Order
No != null"
>
Mch
Order
No = #{mch
Order
No,jdbcType=VARCHAR},
<if
test=
"mch
Trans
No != null"
>
Mch
Trans
No = #{mch
Trans
No,jdbcType=VARCHAR},
</if>
<if
test=
"channelId != null"
>
ChannelId = #{channelId,jdbcType=VARCHAR},
...
...
@@ -472,6 +448,9 @@
<if
test=
"status != null"
>
Status = #{status,jdbcType=TINYINT},
</if>
<if
test=
"result != null"
>
Result = #{result,jdbcType=TINYINT},
</if>
<if
test=
"clientIp != null"
>
ClientIp = #{clientIp,jdbcType=VARCHAR},
</if>
...
...
@@ -481,50 +460,41 @@
<if
test=
"remarkInfo != null"
>
RemarkInfo = #{remarkInfo,jdbcType=VARCHAR},
</if>
<if
test=
"openId != null"
>
OpenId = #{openId,jdbcType=VARCHAR},
</if>
<if
test=
"checkName != null"
>
CheckName = #{checkName,jdbcType=TINYINT},
<if
test=
"channelUser != null"
>
ChannelUser = #{channelUser,jdbcType=VARCHAR},
</if>
<if
test=
"userName != null"
>
UserName = #{userName,jdbcType=VARCHAR},
</if>
<if
test=
"extra != null"
>
Extra = #{extra,jdbcType=VARCHAR},
</if>
<if
test=
"channelMchId != null"
>
ChannelMchId = #{channelMchId,jdbcType=VARCHAR},
</if>
<if
test=
"channelOrderNo != null"
>
ChannelOrderNo = #{channelOrderNo,jdbcType=VARCHAR},
</if>
<if
test=
"errCode != null"
>
ErrCode = #{errCode,jdbcType=VARCHAR},
</if>
<if
test=
"errMsg != null"
>
ErrMsg = #{errMsg,jdbcType=VARCHAR},
<if
test=
"channelErrCode != null"
>
ChannelErrCode = #{channelErrCode,jdbcType=VARCHAR},
</if>
<if
test=
"
param1
!= null"
>
Param1 = #{param1
,jdbcType=VARCHAR},
<if
test=
"
channelErrMsg
!= null"
>
ChannelErrMsg = #{channelErrMsg
,jdbcType=VARCHAR},
</if>
<if
test=
"
param2
!= null"
>
Param2 = #{param2
,jdbcType=VARCHAR},
<if
test=
"
extra
!= null"
>
Extra = #{extra
,jdbcType=VARCHAR},
</if>
<if
test=
"notifyUrl != null"
>
NotifyUrl = #{notifyUrl,jdbcType=VARCHAR},
</if>
<if
test=
"
notifyCount
!= null"
>
NotifyCount = #{notifyCount
,jdbcType=
TINYINT
},
<if
test=
"
param1
!= null"
>
Param1 = #{param1
,jdbcType=
VARCHAR
},
</if>
<if
test=
"
lastNotifyTime
!= null"
>
LastNotifyTime = #{lastNotifyTime
,jdbcType=
BIGINT
},
<if
test=
"
param2
!= null"
>
Param2 = #{param2
,jdbcType=
VARCHAR
},
</if>
<if
test=
"expireTime != null"
>
ExpireTime = #{expireTime,jdbcType=
BIGINT
},
ExpireTime = #{expireTime,jdbcType=
TIMESTAMP
},
</if>
<if
test=
"transSuccTime != null"
>
TransSuccTime = #{transSuccTime,jdbcType=
BIGINT
},
TransSuccTime = #{transSuccTime,jdbcType=
TIMESTAMP
},
</if>
<if
test=
"createTime != null"
>
CreateTime = #{createTime,jdbcType=TIMESTAMP},
...
...
@@ -538,29 +508,27 @@
<update
id=
"updateByPrimaryKey"
parameterType=
"org.xxpay.dal.dao.model.TransOrder"
>
update t_trans_order
set MchId = #{mchId,jdbcType=VARCHAR},
Mch
Order
No = #{mch
Order
No,jdbcType=VARCHAR},
Mch
Trans
No = #{mch
Trans
No,jdbcType=VARCHAR},
ChannelId = #{channelId,jdbcType=VARCHAR},
Amount = #{amount,jdbcType=BIGINT},
Currency = #{currency,jdbcType=VARCHAR},
Status = #{status,jdbcType=TINYINT},
Result = #{result,jdbcType=TINYINT},
ClientIp = #{clientIp,jdbcType=VARCHAR},
Device = #{device,jdbcType=VARCHAR},
RemarkInfo = #{remarkInfo,jdbcType=VARCHAR},
OpenId = #{openId,jdbcType=VARCHAR},
CheckName = #{checkName,jdbcType=TINYINT},
ChannelUser = #{channelUser,jdbcType=VARCHAR},
UserName = #{userName,jdbcType=VARCHAR},
Extra = #{extra,jdbcType=VARCHAR},
ChannelMchId = #{channelMchId,jdbcType=VARCHAR},
ChannelOrderNo = #{channelOrderNo,jdbcType=VARCHAR},
ErrCode = #{errCode,jdbcType=VARCHAR},
ErrMsg = #{errMsg,jdbcType=VARCHAR},
ChannelErrCode = #{channelErrCode,jdbcType=VARCHAR},
ChannelErrMsg = #{channelErrMsg,jdbcType=VARCHAR},
Extra = #{extra,jdbcType=VARCHAR},
NotifyUrl = #{notifyUrl,jdbcType=VARCHAR},
Param1 = #{param1,jdbcType=VARCHAR},
Param2 = #{param2,jdbcType=VARCHAR},
NotifyUrl = #{notifyUrl,jdbcType=VARCHAR},
NotifyCount = #{notifyCount,jdbcType=TINYINT},
LastNotifyTime = #{lastNotifyTime,jdbcType=BIGINT},
ExpireTime = #{expireTime,jdbcType=BIGINT},
TransSuccTime = #{transSuccTime,jdbcType=BIGINT},
ExpireTime = #{expireTime,jdbcType=TIMESTAMP},
TransSuccTime = #{transSuccTime,jdbcType=TIMESTAMP},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP}
where TransOrderId = #{transOrderId,jdbcType=VARCHAR}
...
...
xxpay-mgr/src/main/java/org/xxpay/mgr/controller/MchNotifyController.java
0 → 100644
View file @
deee24e5
package
org.xxpay.mgr.controller
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.ui.ModelMap
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.web.bind.annotation.ModelAttribute
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.xxpay.common.util.DateUtil
;
import
org.xxpay.common.util.MyLog
;
import
org.xxpay.dal.dao.model.MchNotify
;
import
org.xxpay.dal.dao.plugin.PageModel
;
import
org.xxpay.mgr.service.MchNotifyService
;
import
java.util.List
;
@Controller
@RequestMapping
(
"/mch_notify"
)
public
class
MchNotifyController
{
private
final
static
MyLog
_log
=
MyLog
.
getLog
(
MchNotifyController
.
class
);
@Autowired
private
MchNotifyService
mchNotifyService
;
@RequestMapping
(
"/list.html"
)
public
String
listInput
(
ModelMap
model
)
{
return
"mch_notify/list"
;
}
@RequestMapping
(
"/list"
)
@ResponseBody
public
String
list
(
@ModelAttribute
MchNotify
mchNotify
,
Integer
pageIndex
,
Integer
pageSize
)
{
PageModel
pageModel
=
new
PageModel
();
int
count
=
mchNotifyService
.
count
(
mchNotify
);
if
(
count
<=
0
)
return
JSON
.
toJSONString
(
pageModel
);
List
<
MchNotify
>
mchNotifyList
=
mchNotifyService
.
getMchNotifyList
((
pageIndex
-
1
)*
pageSize
,
pageSize
,
mchNotify
);
if
(!
CollectionUtils
.
isEmpty
(
mchNotifyList
))
{
JSONArray
array
=
new
JSONArray
();
for
(
MchNotify
po
:
mchNotifyList
)
{
JSONObject
object
=
(
JSONObject
)
JSONObject
.
toJSON
(
po
);
if
(
po
.
getCreateTime
()
!=
null
)
object
.
put
(
"createTime"
,
DateUtil
.
date2Str
(
po
.
getCreateTime
()));
if
(
po
.
getLastNotifyTime
()
!=
null
)
object
.
put
(
"lastNotifyTime"
,
DateUtil
.
date2Str
(
po
.
getLastNotifyTime
()));
array
.
add
(
object
);
}
pageModel
.
setList
(
array
);
}
pageModel
.
setCount
(
count
);
pageModel
.
setMsg
(
"ok"
);
pageModel
.
setRel
(
true
);
return
JSON
.
toJSONString
(
pageModel
);
}
@RequestMapping
(
"/view.html"
)
public
String
viewInput
(
String
orderId
,
ModelMap
model
)
{
MchNotify
item
=
null
;
if
(
StringUtils
.
isNotBlank
(
orderId
))
{
item
=
mchNotifyService
.
selectMchNotify
(
orderId
);
}
if
(
item
==
null
)
{
item
=
new
MchNotify
();
model
.
put
(
"item"
,
item
);
return
"mch_notify/view"
;
}
JSONObject
object
=
(
JSONObject
)
JSON
.
toJSON
(
item
);
if
(
item
.
getCreateTime
()
!=
null
)
object
.
put
(
"createTime"
,
DateUtil
.
date2Str
(
item
.
getCreateTime
()));
if
(
item
.
getUpdateTime
()
!=
null
)
object
.
put
(
"updateTime"
,
DateUtil
.
date2Str
(
item
.
getUpdateTime
()));
if
(
item
.
getLastNotifyTime
()
!=
null
)
object
.
put
(
"lastNotifyTime"
,
DateUtil
.
date2Str
(
item
.
getLastNotifyTime
()));
model
.
put
(
"item"
,
object
);
return
"mch_notify/view"
;
}
}
\ No newline at end of file
xxpay-mgr/src/main/java/org/xxpay/mgr/controller/RefundOrderController.java
0 → 100644
View file @
deee24e5
package
org.xxpay.mgr.controller
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.ui.ModelMap
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.web.bind.annotation.ModelAttribute
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.xxpay.common.util.AmountUtil
;
import
org.xxpay.common.util.DateUtil
;
import
org.xxpay.common.util.MyLog
;
import
org.xxpay.dal.dao.model.RefundOrder
;
import
org.xxpay.dal.dao.plugin.PageModel
;
import
org.xxpay.mgr.service.RefundOrderService
;
import
java.util.List
;
@Controller
@RequestMapping
(
"/refund_order"
)
public
class
RefundOrderController
{
private
final
static
MyLog
_log
=
MyLog
.
getLog
(
RefundOrderController
.
class
);
@Autowired
private
RefundOrderService
refundOrderService
;
@RequestMapping
(
"/list.html"
)
public
String
listInput
(
ModelMap
model
)
{
return
"refund_order/list"
;
}
@RequestMapping
(
"/list"
)
@ResponseBody
public
String
list
(
@ModelAttribute
RefundOrder
refundOrder
,
Integer
pageIndex
,
Integer
pageSize
)
{
PageModel
pageModel
=
new
PageModel
();
int
count
=
refundOrderService
.
count
(
refundOrder
);
if
(
count
<=
0
)
return
JSON
.
toJSONString
(
pageModel
);
List
<
RefundOrder
>
refundOrderList
=
refundOrderService
.
getRefundOrderList
((
pageIndex
-
1
)*
pageSize
,
pageSize
,
refundOrder
);
if
(!
CollectionUtils
.
isEmpty
(
refundOrderList
))
{
JSONArray
array
=
new
JSONArray
();
for
(
RefundOrder
po
:
refundOrderList
)
{
JSONObject
object
=
(
JSONObject
)
JSONObject
.
toJSON
(
po
);
if
(
po
.
getCreateTime
()
!=
null
)
object
.
put
(
"createTime"
,
DateUtil
.
date2Str
(
po
.
getCreateTime
()));
if
(
po
.
getRefundAmount
()
!=
null
)
object
.
put
(
"amount"
,
AmountUtil
.
convertCent2Dollar
(
po
.
getRefundAmount
()+
""
));
array
.
add
(
object
);
}
pageModel
.
setList
(
array
);
}
pageModel
.
setCount
(
count
);
pageModel
.
setMsg
(
"ok"
);
pageModel
.
setRel
(
true
);
return
JSON
.
toJSONString
(
pageModel
);
}
@RequestMapping
(
"/view.html"
)
public
String
viewInput
(
String
refundOrderId
,
ModelMap
model
)
{
RefundOrder
item
=
null
;
if
(
StringUtils
.
isNotBlank
(
refundOrderId
))
{
item
=
refundOrderService
.
selectRefundOrder
(
refundOrderId
);
}
if
(
item
==
null
)
{
item
=
new
RefundOrder
();
model
.
put
(
"item"
,
item
);
return
"refund_order/view"
;
}
JSONObject
object
=
(
JSONObject
)
JSON
.
toJSON
(
item
);
if
(
item
.
getRefundSuccTime
()
!=
null
)
object
.
put
(
"refundSuccTime"
,
DateUtil
.
date2Str
(
item
.
getRefundSuccTime
()));
if
(
item
.
getExpireTime
()
!=
null
)
object
.
put
(
"expireTime"
,
DateUtil
.
date2Str
(
item
.
getExpireTime
()));
if
(
item
.
getRefundAmount
()
!=
null
)
object
.
put
(
"amount"
,
AmountUtil
.
convertCent2Dollar
(
item
.
getRefundAmount
()+
""
));
model
.
put
(
"item"
,
object
);
return
"refund_order/view"
;
}
}
\ No newline at end of file
xxpay-mgr/src/main/java/org/xxpay/mgr/controller/TransOrderController.java
0 → 100644
View file @
deee24e5
package
org.xxpay.mgr.controller
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.ui.ModelMap
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.web.bind.annotation.ModelAttribute
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.xxpay.common.util.AmountUtil
;
import
org.xxpay.common.util.DateUtil
;
import
org.xxpay.common.util.MyLog
;
import
org.xxpay.dal.dao.model.TransOrder
;
import
org.xxpay.dal.dao.plugin.PageModel
;
import
org.xxpay.mgr.service.TransOrderService
;
import
java.util.Date
;
import
java.util.List
;
@Controller
@RequestMapping
(
"/trans_order"
)
public
class
TransOrderController
{
private
final
static
MyLog
_log
=
MyLog
.
getLog
(
TransOrderController
.
class
);
@Autowired
private
TransOrderService
transOrderService
;
@RequestMapping
(
"/list.html"
)
public
String
listInput
(
ModelMap
model
)
{
return
"trans_order/list"
;
}
@RequestMapping
(
"/list"
)
@ResponseBody
public
String
list
(
@ModelAttribute
TransOrder
transOrder
,
Integer
pageIndex
,
Integer
pageSize
)
{
PageModel
pageModel
=
new
PageModel
();
int
count
=
transOrderService
.
count
(
transOrder
);
if
(
count
<=
0
)
return
JSON
.
toJSONString
(
pageModel
);
List
<
TransOrder
>
transOrderList
=
transOrderService
.
getTransOrderList
((
pageIndex
-
1
)*
pageSize
,
pageSize
,
transOrder
);
if
(!
CollectionUtils
.
isEmpty
(
transOrderList
))
{
JSONArray
array
=
new
JSONArray
();
for
(
TransOrder
po
:
transOrderList
)
{
JSONObject
object
=
(
JSONObject
)
JSONObject
.
toJSON
(
po
);
if
(
po
.
getCreateTime
()
!=
null
)
object
.
put
(
"createTime"
,
DateUtil
.
date2Str
(
po
.
getCreateTime
()));
if
(
po
.
getAmount
()
!=
null
)
object
.
put
(
"amount"
,
AmountUtil
.
convertCent2Dollar
(
po
.
getAmount
()+
""
));
array
.
add
(
object
);
}
pageModel
.
setList
(
array
);
}
pageModel
.
setCount
(
count
);
pageModel
.
setMsg
(
"ok"
);
pageModel
.
setRel
(
true
);
return
JSON
.
toJSONString
(
pageModel
);
}
@RequestMapping
(
"/view.html"
)
public
String
viewInput
(
String
transOrderId
,
ModelMap
model
)
{
TransOrder
item
=
null
;
if
(
StringUtils
.
isNotBlank
(
transOrderId
))
{
item
=
transOrderService
.
selectTransOrder
(
transOrderId
);
}
if
(
item
==
null
)
{
item
=
new
TransOrder
();
model
.
put
(
"item"
,
item
);
return
"trans_order/view"
;
}
JSONObject
object
=
(
JSONObject
)
JSON
.
toJSON
(
item
);
if
(
item
.
getTransSuccTime
()
!=
null
)
object
.
put
(
"transSuccTime"
,
DateUtil
.
date2Str
(
item
.
getTransSuccTime
()));
if
(
item
.
getExpireTime
()
!=
null
)
object
.
put
(
"expireTime"
,
DateUtil
.
date2Str
(
item
.
getExpireTime
()));
if
(
item
.
getAmount
()
!=
null
)
object
.
put
(
"amount"
,
AmountUtil
.
convertCent2Dollar
(
item
.
getAmount
()+
""
));
model
.
put
(
"item"
,
object
);
return
"trans_order/view"
;
}
}
\ No newline at end of file
xxpay-mgr/src/main/java/org/xxpay/mgr/service/MchNotifyService.java
0 → 100644
View file @
deee24e5
package
org.xxpay.mgr.service
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Component
;
import
org.xxpay.dal.dao.mapper.MchNotifyMapper
;
import
org.xxpay.dal.dao.mapper.MchNotifyMapper
;
import
org.xxpay.dal.dao.model.MchNotify
;
import
org.xxpay.dal.dao.model.MchNotifyExample
;
import
java.util.List
;
/**
* Created by dingzhiwei on 17/11/03.
*/
@Component
public
class
MchNotifyService
{
@Autowired
private
MchNotifyMapper
mchNotifyMapper
;
public
MchNotify
selectMchNotify
(
String
orderId
)
{
return
mchNotifyMapper
.
selectByPrimaryKey
(
orderId
);
}
public
List
<
MchNotify
>
getMchNotifyList
(
int
offset
,
int
limit
,
MchNotify
mchNotify
)
{
MchNotifyExample
example
=
new
MchNotifyExample
();
example
.
setOrderByClause
(
"createTime DESC"
);
example
.
setOffset
(
offset
);
example
.
setLimit
(
limit
);
MchNotifyExample
.
Criteria
criteria
=
example
.
createCriteria
();
setCriteria
(
criteria
,
mchNotify
);
return
mchNotifyMapper
.
selectByExample
(
example
);
}
public
Integer
count
(
MchNotify
mchNotify
)
{
MchNotifyExample
example
=
new
MchNotifyExample
();
MchNotifyExample
.
Criteria
criteria
=
example
.
createCriteria
();
setCriteria
(
criteria
,
mchNotify
);
return
mchNotifyMapper
.
countByExample
(
example
);
}
void
setCriteria
(
MchNotifyExample
.
Criteria
criteria
,
MchNotify
mchNotify
)
{
if
(
mchNotify
!=
null
)
{
if
(
StringUtils
.
isNotBlank
(
mchNotify
.
getMchId
()))
criteria
.
andMchIdEqualTo
(
mchNotify
.
getMchId
());
if
(
StringUtils
.
isNotBlank
(
mchNotify
.
getOrderId
()))
criteria
.
andOrderIdEqualTo
(
mchNotify
.
getOrderId
());
if
(
StringUtils
.
isNotBlank
(
mchNotify
.
getOrderType
()))
criteria
.
andOrderTypeEqualTo
(
mchNotify
.
getOrderType
());
if
(
StringUtils
.
isNotBlank
(
mchNotify
.
getMchOrderNo
()))
criteria
.
andMchOrderNoEqualTo
(
mchNotify
.
getMchOrderNo
());
if
(
mchNotify
.
getStatus
()
!=
null
&&
mchNotify
.
getStatus
()
!=
-
99
)
criteria
.
andStatusEqualTo
(
mchNotify
.
getStatus
());
}
}
}
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment