Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-finance
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-platform-finance
Commits
15e10d4e
Commit
15e10d4e
authored
Mar 10, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务管理订购详情修改
parent
3eb80e9b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
ServiceInfoVO.java
...b/src/main/java/com/gic/finance/web/vo/ServiceInfoVO.java
+13
-1
TransferApprovalServiceVO.java
...ava/com/gic/finance/web/vo/TransferApprovalServiceVO.java
+5
-5
No files found.
gic-platform-finance-web/src/main/java/com/gic/finance/web/vo/ServiceInfoVO.java
View file @
15e10d4e
...
...
@@ -90,7 +90,19 @@ public class ServiceInfoVO implements Serializable{
}
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
skuInfo
);
JSONObject
period
=
jsonObject
.
getJSONObject
(
"period"
);
return
period
.
get
(
"effect_time"
)
+
(
String
)
period
.
get
(
"name"
);
Integer
unitNum
=
(
Integer
)
period
.
get
(
"effect_time_unit"
);
String
unit
=
""
;
if
(
unitNum
!=
null
)
{
unit
=
unitNum
.
toString
();
}
if
(
"3"
.
equals
(
unit
))
{
unit
=
"年"
;
}
else
if
(
"2"
.
equals
(
unit
))
{
unit
=
"月"
;
}
else
{
unit
=
"天"
;
}
return
period
.
get
(
"effect_time"
)
+
unit
;
}
public
String
getServeInfo
()
{
...
...
gic-platform-finance-web/src/main/java/com/gic/finance/web/vo/TransferApprovalServiceVO.java
View file @
15e10d4e
...
...
@@ -332,16 +332,16 @@ public class TransferApprovalServiceVO implements Serializable{
public
String
getRelationOrderTypeStr
()
{
//1购买 2续费 3升级 4扩容
if
(
o
rderType
==
null
)
{
if
(
relationO
rderType
==
null
)
{
return
"--"
;
}
if
(
o
rderType
.
intValue
()
==
1
)
{
if
(
relationO
rderType
.
intValue
()
==
1
)
{
return
"服务开通"
;
}
else
if
(
o
rderType
.
intValue
()
==
2
)
{
}
else
if
(
relationO
rderType
.
intValue
()
==
2
)
{
return
"服务续费"
;
}
else
if
(
o
rderType
.
intValue
()
==
3
)
{
}
else
if
(
relationO
rderType
.
intValue
()
==
3
)
{
return
"版本升级"
;
}
else
if
(
o
rderType
.
intValue
()
==
4
)
{
}
else
if
(
relationO
rderType
.
intValue
()
==
4
)
{
return
"license扩容"
;
}
return
"未知"
;
...
...
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