Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
7f84730a
Commit
7f84730a
authored
Nov 17, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
export order
parent
f515b68a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
OutputVATInvoiceInfoDto.java
.../pwc/taxtech/atms/dto/vatdto/OutputVATInvoiceInfoDto.java
+11
-11
ExcelUtil.java
.../src/main/java/pwc/taxtech/atms/thirdparty/ExcelUtil.java
+2
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/dto/vatdto/OutputVATInvoiceInfoDto.java
View file @
7f84730a
...
...
@@ -12,27 +12,27 @@ public class OutputVATInvoiceInfoDto {
private
String
invoiceId
;
private
Integer
invoiceType
;
@ExcelCell
(
index
=
2
)
@ExcelCell
(
index
=
1
)
private
String
invoiceTypeName
;
@ExcelCell
(
index
=
3
)
@ExcelCell
(
index
=
2
)
private
String
classCode
;
@ExcelCell
(
index
=
4
)
@ExcelCell
(
index
=
3
)
private
String
invoiceNumber
;
@ExcelCell
(
index
=
5
)
@ExcelCell
(
index
=
4
)
private
String
buyerName
;
@ExcelCell
(
index
=
6
)
@ExcelCell
(
index
=
5
)
private
String
buyerTaxNumber
;
@ExcelCell
(
index
=
7
)
@ExcelCell
(
index
=
6
)
private
String
bankAccount
;
@ExcelCell
(
index
=
8
)
@ExcelCell
(
index
=
7
)
private
String
phoneNum
;
@ExcelCell
(
index
=
1
)
@ExcelCell
(
index
=
8
)
private
Date
invoiceDate
;
@ExcelCell
(
index
=
9
)
private
String
codeVersion
;
@ExcelCell
(
index
=
10
)
private
String
productName
;
@ExcelCell
(
index
=
11
)
private
String
productName
;
@ExcelCell
(
index
=
10
)
private
String
documentNum
;
@ExcelCell
(
index
=
12
)
private
String
productStandard
;
...
...
@@ -48,7 +48,7 @@ public class OutputVATInvoiceInfoDto {
private
BigDecimal
taxRate
;
@ExcelCell
(
index
=
18
)
private
BigDecimal
taxAmount
;
@ExcelCell
(
index
=
9
)
@ExcelCell
(
index
=
1
9
)
private
String
taxClassCode
;
@JsonProperty
(
"periodID"
)
private
int
periodId
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/thirdparty/ExcelUtil.java
View file @
7f84730a
...
...
@@ -49,7 +49,8 @@ public class ExcelUtil {
private
static
Logger
LG
=
LoggerFactory
.
getLogger
(
ExcelUtil
.
class
);
private
static
final
DecimalFormat
DECIMAL_FORMAT
=
new
DecimalFormat
(
"###,###.00"
);
private
static
final
DecimalFormat
DECIMAL_FORMAT
=
new
DecimalFormat
(
"###,##0.00"
);
/**
* 用来验证excel与Vo中的类型是否一致 <br>
* Map<栏位类型,只能是哪些Cell类型>
...
...
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