Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-enterprise
Commits
def1b698
Commit
def1b698
authored
Mar 13, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订购详情服务修改,如果是空,不再返回错误,而是null
parent
7952ed79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletions
+18
-1
EnterpriseController.java
...om/gic/operation/web/controller/EnterpriseController.java
+17
-0
TransferApprovalServiceVO.java
...peration/web/vo/enterprise/TransferApprovalServiceVO.java
+1
-1
No files found.
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/EnterpriseController.java
View file @
def1b698
...
...
@@ -15,6 +15,7 @@ import com.gic.enterprise.qo.EnterpriseQO;
import
com.gic.enterprise.utils.AutoCreatePasswordUtils
;
import
com.gic.enterprise.utils.UserDetailUtils
;
import
com.gic.finance.constant.EnterprisePlatformTypeEnum
;
import
com.gic.finance.constant.OrderTypeEnum
;
import
com.gic.marketing.process.api.service.sms.SmsSendApiService
;
import
com.gic.open.api.dto.market.MarketUserDTO
;
import
com.gic.open.api.service.market.MarketAppCategoryApiService
;
...
...
@@ -545,6 +546,7 @@ public class EnterpriseController {
//如果是空的,说明订购记录不走财务转账审批
if
(
vo
==
null
)
{
vo
=
new
TransferApprovalServiceVO
();
vo
.
setOrderNumber
(
orderNum
);
}
ServiceResponse
<
OrderDTO
>
orderResult
=
orderApiService
.
getOrderForFinance
(
orderNum
);
...
...
@@ -555,6 +557,21 @@ public class EnterpriseController {
vo
.
setPayType
(
orderDTO
.
getPayType
());
//支付流水号
vo
.
setPayInfoSerialNumber
(
orderDTO
.
getPayNumber
());
if
(
vo
.
getOrderType
()
==
null
)
{
//没有走财务转账审批
Integer
serveType
=
orderDTO
.
getServeType
();
if
(
serveType
!=
null
)
{
if
(
serveType
.
intValue
()
==
1
)
{
vo
.
setOrderType
(
OrderTypeEnum
.
SERVICE
.
getCode
());
}
else
if
(
serveType
.
intValue
()
==
2
)
{
vo
.
setOrderType
(
OrderTypeEnum
.
PACKAGE
.
getCode
());
}
else
if
(
serveType
.
intValue
()
==
3
)
{
vo
.
setOrderType
(
OrderTypeEnum
.
EXTENSION_PACKAGE
.
getCode
());
}
}
}
vo
.
setTotalCountFee
(
vo
.
getPlannedAmount
());
vo
.
setRelationOrderType
(
orderDTO
.
getOrderType
());
vo
.
setOperType
(
orderDTO
.
getOperType
());
...
...
gic-platform-operation-web/src/main/java/com/gic/operation/web/vo/enterprise/TransferApprovalServiceVO.java
View file @
def1b698
...
...
@@ -361,7 +361,7 @@ public class TransferApprovalServiceVO implements Serializable{
public
String
getRelationOrderTypeStr
()
{
//1购买 2续费 3升级 4扩容
if
(
o
rderType
==
null
)
{
if
(
relationO
rderType
==
null
)
{
return
"--"
;
}
if
(
relationOrderType
.
intValue
()
==
1
)
{
...
...
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