Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-common
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a8afc727
authored
Aug 23, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加的字段的get方法中,缺少判空逻辑,造成json解析空指针问题修复
parent
665dc01f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/VoucherShareLogBean.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/basic/VoucherShareLogBean.java
View file @
a8afc727
...
...
@@ -106,8 +106,11 @@ public class VoucherShareLogBean implements Serializable {
}
public
int
getVoucherAmount
()
{
String
[]
vIds
=
voucherIds
.
split
(
","
);
return
vIds
.
length
;
if
(
voucherIds
!=
null
){
String
[]
vIds
=
voucherIds
.
split
(
","
);
return
vIds
.
length
;
}
return
0
;
}
public
int
getSharedVoucherAmount
()
{
...
...
Write
Preview
Markdown
is supported
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