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
c8f1af62
Commit
c8f1af62
authored
Jan 08, 2020
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开票
parent
f0606e79
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
122 additions
and
101 deletions
+122
-101
Invoice.java
...main/java/com/xxfc/platform/universal/entity/Invoice.java
+11
-2
InvoiceVo.java
...java/com/xxfc/platform/universal/entity/vo/InvoiceVo.java
+46
-42
InvoiceBiz.java
.../java/com/xxfc/platform/universal/service/InvoiceBiz.java
+65
-57
No files found.
xx-universal/xx-universal-api/src/main/java/com/xxfc/platform/universal/entity/Invoice.java
View file @
c8f1af62
...
@@ -25,9 +25,11 @@ public class Invoice {
...
@@ -25,9 +25,11 @@ public class Invoice {
private
String
orderId
;
private
String
orderId
;
/**
/**
*
公司代码
*
发票订单表id
*/
*/
private
String
companyCode
;
private
Integer
orderInvoiceId
;
/**
/**
* 发票订单号
* 发票订单号
...
@@ -35,11 +37,18 @@ public class Invoice {
...
@@ -35,11 +37,18 @@ public class Invoice {
private
String
orderNo
;
private
String
orderNo
;
/**
* 公司代码
*/
private
String
companyCode
;
/**
/**
* 机构代码
* 机构代码
*/
*/
private
String
orgCode
;
private
String
orgCode
;
/**
/**
* 发票代码
* 发票代码
*/
*/
...
...
xx-universal/xx-universal-api/src/main/java/com/xxfc/platform/universal/entity/vo/InvoiceVo.java
View file @
c8f1af62
...
@@ -14,56 +14,60 @@ import java.util.List;
...
@@ -14,56 +14,60 @@ import java.util.List;
@Data
@Data
public
class
InvoiceVo
{
public
class
InvoiceVo
{
/**
/**
* 发票分类:01 专票,02 货物运输业增值税专用发票,03 机动车销售统一发票,
* 发票分类:01 专票,02 货物运输业增值税专用发票,03 机动车销售统一发票,
* 04 增值税普通发票,10 增值税普通发票(电子),11 增值税普通发票(卷票),14 增值税普通发票(卷票)
* 04 增值税普通发票,10 增值税普通发票(电子),11 增值税普通发票(卷票),14 增值税普通发票(卷票)
*/
*/
private
Integer
invoiceCategory
=
10
;
private
Integer
invoiceCategory
=
10
;
/**
/**
* 订单id :多个以逗号隔开
* 订单id :多个以逗号隔开
*/
*/
private
String
orderId
;
private
String
orderId
;
/**
* 发票订单表id
*/
private
Integer
orderInvoiceId
;
/**
/**
* 备注
* 备注
*/
*/
private
String
remark
;
private
String
remark
;
/**
/**
* 购买方名称
* 购买方名称
*/
*/
private
String
purchaserName
;
private
String
purchaserName
;
/**
/**
* 购买方纳税人识别号
* 购买方纳税人识别号
*/
*/
private
String
purchaserTaxCode
;
private
String
purchaserTaxCode
;
/**
/**
* 购方邮箱
* 购方邮箱
*/
*/
private
String
purchaserEmail
;
private
String
purchaserEmail
;
/**
/**
* 购买方地址电话
* 购买方地址电话
*/
*/
private
String
purchaserAddressPhone
;
private
String
purchaserAddressPhone
;
/**
/**
* 购买方银行账号
* 购买方银行账号
*/
*/
private
String
purchaserAccountBank
;
private
String
purchaserAccountBank
;
/**
/**
* 开票内容
* 开票内容
*/
*/
private
String
content
;
private
String
content
;
/**
* 购方手机
*/
private
String
purchaserPhone
;
/**
* 购方手机
*/
private
String
purchaserPhone
;
private
List
<
OrderData
>
orders
;
private
List
<
OrderData
>
orders
;
}
}
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/service/InvoiceBiz.java
View file @
c8f1af62
This diff is collapsed.
Click to expand it.
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