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
1fab802e
Commit
1fab802e
authored
Apr 01, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发票申请企业名称修复
parent
2594bb48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
BillingPayInfoController.java
...c/enterprise/web/controller/BillingPayInfoController.java
+6
-5
No files found.
gic-platform-enterprise-web/src/main/java/com/gic/enterprise/web/controller/BillingPayInfoController.java
View file @
1fab802e
...
...
@@ -3,6 +3,7 @@ package com.gic.enterprise.web.controller;
import
java.util.HashMap
;
import
java.util.Map
;
import
com.gic.enterprise.utils.UserDetail
;
import
org.apache.commons.lang.StringUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
...
...
@@ -130,8 +131,8 @@ public class BillingPayInfoController {
return
EnterpriseRestResponse
.
failure
(
serialResponse
);
}
}
Integer
enterpriseId
=
UserDetailUtils
.
getUserDetail
()
.
getEnterpriseId
();
UserDetail
userDetail
=
UserDetailUtils
.
getUserDetail
();
Integer
enterpriseId
=
userDetail
.
getEnterpriseId
();
ServiceResponse
invoiceInfo
=
billingPayInfoApiService
.
saveInvoiceAccountToRedis
(
invoiceDTO
,
enterpriseId
);
if
(
invoiceInfo
.
isSuccess
())
{
InvoiceManageDTO
params
=
new
InvoiceManageDTO
();
...
...
@@ -139,9 +140,9 @@ public class BillingPayInfoController {
params
.
setInvoiceType
(
invoiceType
);
params
.
setBillingAmount
(
billingAmount
);
params
.
setEnterpriseId
(
enterpriseId
);
params
.
setEnterpriseName
(
"test"
);
params
.
setCompanyName
(
"test"
);
params
.
setLogo
(
"test"
);
params
.
setEnterpriseName
(
userDetail
.
getEnterpriseInfo
().
getEnterpriseName
()
);
params
.
setCompanyName
(
userDetail
.
getEnterpriseInfo
().
getCompanyName
()
);
params
.
setLogo
(
userDetail
.
getEnterpriseInfo
().
getLogo
()
);
params
.
setTaxNumber
(
invoiceDTO
.
getTaxNumber
());
params
.
setAccountName
(
invoiceDTO
.
getAccountName
());
params
.
setAddress
(
invoiceDTO
.
getAddress
());
...
...
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