Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Lixiaodi
5 years ago
Commit
3540420bab295a1fc3bb6b4cd5574bf041eea93b
1 parent
f5cb04f0
增加字段
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
135 deletions
dal/src/main/java/com/yoho/order/model/RefundRecord.java
dal/src/main/resources/META-INF/mybatis/RefundRecordMapper.xml
dal/src/main/java/com/yoho/order/model/RefundRecord.java
View file @
3540420
package
com
.
yoho
.
order
.
model
;
import
lombok.Data
;
import
lombok.ToString
;
import
java.math.BigDecimal
;
@Data
@ToString
public
class
RefundRecord
{
private
Integer
id
;
...
...
@@ -37,139 +42,6 @@ public class RefundRecord {
private
Boolean
delFlag
;
public
Integer
getId
()
{
return
id
;
}
public
void
setId
(
Integer
id
)
{
this
.
id
=
id
;
}
public
Integer
getCreateDate
()
{
return
createDate
;
}
public
void
setCreateDate
(
Integer
createDate
)
{
this
.
createDate
=
createDate
;
}
public
Integer
getOrderCode
()
{
return
orderCode
;
}
public
void
setOrderCode
(
Integer
orderCode
)
{
this
.
orderCode
=
orderCode
;
}
public
Integer
getUid
()
{
return
uid
;
}
public
void
setUid
(
Integer
uid
)
{
this
.
uid
=
uid
;
}
public
String
getRefundDesc
()
{
return
refundDesc
;
}
public
void
setRefundDesc
(
String
refundDesc
)
{
this
.
refundDesc
=
refundDesc
==
null
?
null
:
refundDesc
.
trim
();
}
public
Byte
getRefundType
()
{
return
refundType
;
}
public
void
setRefundType
(
Byte
refundType
)
{
this
.
refundType
=
refundType
;
}
public
BigDecimal
getRefundAmount
()
{
return
refundAmount
;
}
public
void
setRefundAmount
(
BigDecimal
refundAmount
)
{
this
.
refundAmount
=
refundAmount
;
}
public
Byte
getRefundChannel
()
{
return
refundChannel
;
}
public
void
setRefundChannel
(
Byte
refundChannel
)
{
this
.
refundChannel
=
refundChannel
;
}
public
String
getPayeeName
()
{
return
payeeName
;
}
public
void
setPayeeName
(
String
payeeName
)
{
this
.
payeeName
=
payeeName
==
null
?
null
:
payeeName
.
trim
();
}
public
String
getPayeeAccount
()
{
return
payeeAccount
;
}
public
void
setPayeeAccount
(
String
payeeAccount
)
{
this
.
payeeAccount
=
payeeAccount
==
null
?
null
:
payeeAccount
.
trim
();
}
public
Byte
getRefundStatus
()
{
return
refundStatus
;
}
public
void
setRefundStatus
(
Byte
refundStatus
)
{
this
.
refundStatus
=
refundStatus
;
}
public
String
getGoodsName
()
{
return
goodsName
;
}
public
void
setGoodsName
(
String
goodsName
)
{
this
.
goodsName
=
goodsName
==
null
?
null
:
goodsName
.
trim
();
}
public
String
getGoodsSize
()
{
return
goodsSize
;
}
public
void
setGoodsSize
(
String
goodsSize
)
{
this
.
goodsSize
=
goodsSize
==
null
?
null
:
goodsSize
.
trim
();
}
public
String
getRefundAddress
()
{
return
refundAddress
;
}
public
void
setRefundAddress
(
String
refundAddress
)
{
this
.
refundAddress
=
refundAddress
==
null
?
null
:
refundAddress
.
trim
();
}
public
String
getOperatorName
()
{
return
operatorName
;
}
public
void
setOperatorName
(
String
operatorName
)
{
this
.
operatorName
=
operatorName
==
null
?
null
:
operatorName
.
trim
();
}
public
String
getRemark
()
{
return
remark
;
}
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
==
null
?
null
:
remark
.
trim
();
}
public
Boolean
getDelFlag
()
{
return
delFlag
;
}
private
String
sponsorName
;
public
void
setDelFlag
(
Boolean
delFlag
)
{
this
.
delFlag
=
delFlag
;
}
}
\ No newline at end of file
...
...
dal/src/main/resources/META-INF/mybatis/RefundRecordMapper.xml
View file @
3540420
...
...
@@ -17,13 +17,15 @@
<result
column=
"goods_size"
property=
"goodsSize"
jdbcType=
"VARCHAR"
/>
<result
column=
"refund_address"
property=
"refundAddress"
jdbcType=
"VARCHAR"
/>
<result
column=
"operator_name"
property=
"operatorName"
jdbcType=
"VARCHAR"
/>
<result
column=
"sponsor_name"
property=
"sponsorName"
jdbcType=
"VARCHAR"
/>
<result
column=
"remark"
property=
"remark"
jdbcType=
"VARCHAR"
/>
<result
column=
"del_flag"
property=
"delFlag"
jdbcType=
"BIT"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id, create_date, order_code, uid, refund_desc, refund_type, refund_amount, refund_channel,
payee_name, payee_account, refund_status, goods_name, goods_size, refund_address,
operator_name, remark, del_flag
operator_name, remark, del_flag
,sponsor_name
</sql>
<select
id=
"selectByPrimaryKey"
resultMap=
"BaseResultMap"
parameterType=
"java.lang.Integer"
>
select
...
...
Please
register
or
login
to post a comment