Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
727121e8
Commit
727121e8
authored
Sep 27, 2021
by
陈斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决代码合并冲突
parent
5eef2c3d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
order-application-service/src/main/java/cn/freemud/adapter/OrderInvoiceAdapter.java
+1
-0
order-application-service/src/main/java/cn/freemud/constant/CommonsConstant.java
+2
-0
order-application-service/src/main/java/cn/freemud/entities/dto/pay/InvoiceCreateRequest.java
+3
-0
No files found.
order-application-service/src/main/java/cn/freemud/adapter/OrderInvoiceAdapter.java
View file @
727121e8
...
@@ -128,6 +128,7 @@ public class OrderInvoiceAdapter {
...
@@ -128,6 +128,7 @@ public class OrderInvoiceAdapter {
request
.
setInvoiceTypeCode
(
InvoiceTypeCodeEnum
.
ELECTRONIC_INVOICE
.
getBwType
());
request
.
setInvoiceTypeCode
(
InvoiceTypeCodeEnum
.
ELECTRONIC_INVOICE
.
getBwType
());
request
.
setInvoiceNo
(
UUID
.
randomUUID
().
toString
().
replaceAll
(
"-"
,
""
));
request
.
setInvoiceNo
(
UUID
.
randomUUID
().
toString
().
replaceAll
(
"-"
,
""
));
request
.
setDrawer
(
createRequest
.
getDrawer
());
request
.
setDrawer
(
createRequest
.
getDrawer
());
request
.
setPriceTaxMark
(
CommonsConstant
.
CONSTANTS_ONE_STRING
);
//含税标记
// 订单商品明细
// 订单商品明细
List
<
InvoiceProductDetailRequest
>
productDetailList
=
new
ArrayList
<>();
List
<
InvoiceProductDetailRequest
>
productDetailList
=
new
ArrayList
<>();
...
...
order-application-service/src/main/java/cn/freemud/constant/CommonsConstant.java
View file @
727121e8
...
@@ -18,6 +18,8 @@ public class CommonsConstant {
...
@@ -18,6 +18,8 @@ public class CommonsConstant {
public
static
final
Integer
CONSTANTS_ONE_INTEGER
=
1
;
public
static
final
Integer
CONSTANTS_ONE_INTEGER
=
1
;
public
static
final
String
CONSTANTS_ONE_STRING
=
"1"
;
public
static
final
String
CONSTANTS_TWO_STRING
=
"2"
;
public
static
final
String
CONSTANTS_TWO_STRING
=
"2"
;
public
static
final
Integer
CONSTANTS_TWO_INTEGER
=
2
;
public
static
final
Integer
CONSTANTS_TWO_INTEGER
=
2
;
...
...
order-application-service/src/main/java/cn/freemud/entities/dto/pay/InvoiceCreateRequest.java
View file @
727121e8
...
@@ -36,6 +36,9 @@ public class InvoiceCreateRequest {
...
@@ -36,6 +36,9 @@ public class InvoiceCreateRequest {
@NotEmpty
(
message
=
"开票人不能为空"
)
@NotEmpty
(
message
=
"开票人不能为空"
)
private
String
drawer
;
private
String
drawer
;
@ApiModelProperty
(
value
=
"含税标志,默认不含税 {0-不含税,1-含税}"
)
private
String
priceTaxMark
=
"0"
;
@ApiModelProperty
(
value
=
"发票明细"
)
@ApiModelProperty
(
value
=
"发票明细"
)
private
List
<
InvoiceProductDetailRequest
>
productDetailList
;
private
List
<
InvoiceProductDetailRequest
>
productDetailList
;
}
}
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