Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
f0606e79
Commit
f0606e79
authored
Jan 08, 2020
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开票
parent
4a22dcb5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
InvoiceController.java
...xxfc/platform/universal/controller/InvoiceController.java
+11
-0
No files found.
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/controller/InvoiceController.java
View file @
f0606e79
...
@@ -43,12 +43,23 @@ public class InvoiceController extends BaseController<InvoiceBiz, Invoice> {
...
@@ -43,12 +43,23 @@ public class InvoiceController extends BaseController<InvoiceBiz, Invoice> {
return
ObjectRestResponse
.
succ
(
mapList
);
return
ObjectRestResponse
.
succ
(
mapList
);
}
}
/**
* 开票接口
* @param invoiceVo
* @return
* @throws Exception
*/
@PostMapping
(
"/invoicing"
)
@PostMapping
(
"/invoicing"
)
public
ObjectRestResponse
invoicing
(
@RequestBody
InvoiceVo
invoiceVo
)
throws
Exception
{
public
ObjectRestResponse
invoicing
(
@RequestBody
InvoiceVo
invoiceVo
)
throws
Exception
{
String
invoicing
=
baseBiz
.
Invoicing
(
invoiceVo
);
String
invoicing
=
baseBiz
.
Invoicing
(
invoiceVo
);
return
ObjectRestResponse
.
succ
(
invoicing
);
return
ObjectRestResponse
.
succ
(
invoicing
);
}
}
/**
* 查询开票结果
* @param invoiceSerialNum
* @return
*/
@GetMapping
(
"/result"
)
@GetMapping
(
"/result"
)
public
ObjectRestResponse
invoiceResult
(
@RequestParam
(
"invoiceSerialNum"
)
String
invoiceSerialNum
){
public
ObjectRestResponse
invoiceResult
(
@RequestParam
(
"invoiceSerialNum"
)
String
invoiceSerialNum
){
List
<
Map
<
String
,
Object
>>
result
=
baseBiz
.
invoiceResult
(
invoiceSerialNum
);
List
<
Map
<
String
,
Object
>>
result
=
baseBiz
.
invoiceResult
(
invoiceSerialNum
);
...
...
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