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
765fc576
Commit
765fc576
authored
Mar 18, 2019
by
gary
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、fixbug
parent
f438efef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+7
-7
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
765fc576
...
...
@@ -273,9 +273,9 @@ public class DataImportService extends BaseService {
taxPayerId
=
StringUtils
.
isNotEmpty
(
organizations
.
get
(
0
).
getLegalCode
())
?
organizations
.
get
(
0
).
getLegalCode
()
:
organizations
.
get
(
0
).
getTaxPayerNumber
();
}
String
periodStr
=
sheet
.
getRow
(
2
).
getCell
(
2
).
getStringCellValue
(
).
substring
(
3
);
String
companyName
=
sheet
.
getRow
(
4
).
getCell
(
1
).
getStringCellValue
(
);
String
fileType
=
sheet
.
getRow
(
0
).
getCell
(
2
).
getStringCellValue
(
);
String
periodStr
=
getCellStringValue
(
sheet
.
getRow
(
2
).
getCell
(
2
)
).
substring
(
3
);
String
companyName
=
getCellStringValue
(
sheet
.
getRow
(
4
).
getCell
(
1
)
);
String
fileType
=
getCellStringValue
(
sheet
.
getRow
(
0
).
getCell
(
2
)
);
Integer
period
=
DateUtils
.
strToPeriod
(
periodStr
);
Integer
tmsPeriod
=
DateUtils
.
strToPeriod
(
periodDate
);
...
...
@@ -448,8 +448,8 @@ public class DataImportService extends BaseService {
taxPayerId
=
StringUtils
.
isNotEmpty
(
organizations
.
get
(
0
).
getLegalCode
())
?
organizations
.
get
(
0
).
getLegalCode
()
:
organizations
.
get
(
0
).
getTaxPayerNumber
();
}
String
periodStr
=
sheet
.
getRow
(
2
).
getCell
(
2
).
getStringCellValue
(
).
substring
(
3
);
String
fileType
=
sheet
.
getRow
(
0
).
getCell
(
2
).
getStringCellValue
(
);
String
periodStr
=
getCellStringValue
(
sheet
.
getRow
(
2
).
getCell
(
2
)
).
substring
(
3
);
String
fileType
=
getCellStringValue
(
sheet
.
getRow
(
0
).
getCell
(
2
)
);
Integer
period
=
DateUtils
.
strToPeriod
(
periodStr
);
Integer
tmsPeriod
=
DateUtils
.
strToPeriod
(
periodDate
);
...
...
@@ -595,8 +595,8 @@ public class DataImportService extends BaseService {
taxPayerId
=
StringUtils
.
isNotEmpty
(
organizations
.
get
(
0
).
getLegalCode
())
?
organizations
.
get
(
0
).
getLegalCode
()
:
organizations
.
get
(
0
).
getTaxPayerNumber
();
}
String
periodStr
=
sheet
.
getRow
(
4
).
getCell
(
8
).
getStringCellValue
(
);
String
fileType
=
sheet
.
getRow
(
0
).
getCell
(
0
).
getStringCellValue
(
);
String
periodStr
=
getCellStringValue
(
sheet
.
getRow
(
4
).
getCell
(
8
)
);
String
fileType
=
getCellStringValue
(
sheet
.
getRow
(
0
).
getCell
(
0
)
);
Date
dataDate
=
DateUtils
.
strToDate2
(
sheet
.
getRow
(
4
).
getCell
(
10
).
getStringCellValue
());
Integer
period
=
DateUtils
.
strToPeriod
(
periodStr
);
...
...
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