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
802cf201
Commit
802cf201
authored
Apr 29, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通知详情修改
parent
a1ff5b93
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
BillingOrderApiService.java
...va/com/gic/enterprise/service/BillingOrderApiService.java
+1
-1
BillingOrderApiServcImpl.java
...terprise/service/outer/impl/BillingOrderApiServcImpl.java
+2
-2
PackageController.java
.../com/gic/enterprise/web/controller/PackageController.java
+1
-1
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/service/BillingOrderApiService.java
View file @
802cf201
...
...
@@ -26,7 +26,7 @@ public interface BillingOrderApiService {
*/
ServiceResponse
<
Integer
>
saveSmsOrderBuyNow
(
BillingOrderDTO
billingOrderDTO
,
SmsPackageOrderItemDTO
smsPackageOrderItemDTO
);
ServiceResponse
<
BillingPayInfoDTO
>
paySmsPackageOrder
(
Integer
enterpriseId
,
Integer
orderId
,
Integer
payType
,
String
authCode
,
Integer
userId
);
ServiceResponse
<
BillingPayInfoDTO
>
paySmsPackageOrder
(
Integer
enterpriseId
,
Integer
orderId
,
Integer
payType
,
String
authCode
,
String
userName
);
/**
* 条件分页查询订单状态
...
...
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/BillingOrderApiServcImpl.java
View file @
802cf201
...
...
@@ -99,7 +99,7 @@ public class BillingOrderApiServcImpl implements BillingOrderApiService {
@Override
@Transactional
public
ServiceResponse
<
BillingPayInfoDTO
>
paySmsPackageOrder
(
Integer
enterpriseId
,
Integer
orderId
,
Integer
payType
,
String
authCode
,
Integer
userId
){
String
authCode
,
String
userName
){
TabBillingOrder
order
=
this
.
billingOrderService
.
getOrderById
(
orderId
);
OutPayDTO
outPayDTO
=
new
OutPayDTO
();
outPayDTO
.
setEnterpriseId
(
enterpriseId
);
...
...
@@ -118,7 +118,7 @@ public class BillingOrderApiServcImpl implements BillingOrderApiService {
outPayDTO
.
setOrderSerialNumber
(
order
.
getSerialNumber
());
outPayDTO
.
setPayType
(
payType
);
outPayDTO
.
setAuthCode
(
authCode
);
outPayDTO
.
setInitiator
User
(
userId
);
outPayDTO
.
setInitiator
Name
(
userName
);
ServiceResponse
<
BillingPayInfoDTO
>
response
=
this
.
billingPayInfoApiService
.
savePrePayInfo
(
outPayDTO
);
if
(
response
.
isSuccess
()){
Integer
payInfoId
=
response
.
getResult
().
getPayInfoId
();
...
...
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/PackageController.java
View file @
802cf201
...
...
@@ -110,7 +110,7 @@ public class PackageController {
this
.
authCodeApiService
.
expireAuthCode
(
authCodeId
);
Integer
enterpriseId
=
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
();
ServiceResponse
<
BillingPayInfoDTO
>
serviceResponse
=
this
.
billingOrderApiService
.
paySmsPackageOrder
(
enterpriseId
,
orderId
,
payType
,
authCode
,
UserDetailUtils
.
getUserDetail
().
getUserI
d
());
paySmsPackageOrder
(
enterpriseId
,
orderId
,
payType
,
authCode
,
UserDetailUtils
.
getUserDetail
().
getUserI
nfo
().
getUserName
());
if
(
serviceResponse
.
isSuccess
()){
LogUtils
.
createLog
(
"套餐包支付"
,
"订单id:"
+
orderId
);
return
RestResponse
.
success
(
serviceResponse
.
getResult
());
...
...
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