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
0ce7c235
Commit
0ce7c235
authored
Apr 02, 2019
by
chase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
6bd7528b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+4
-7
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
0ce7c235
package
pwc
.
taxtech
.
atms
.
service
.
impl
;
import
java.util.Date
;
import
com.alibaba.fastjson.JSON
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
...
...
@@ -37,7 +35,6 @@ import pwc.taxtech.atms.dto.OperationResultDto;
import
pwc.taxtech.atms.dto.dataimport.DataImportAllParam
;
import
pwc.taxtech.atms.dto.dataimport.DataImportParam
;
import
pwc.taxtech.atms.dto.dataimport.DataProcessParam
;
import
pwc.taxtech.atms.dto.ebsdto.EbsCallRateResp
;
import
pwc.taxtech.atms.dto.ebsdto.EbsCallResp
;
import
pwc.taxtech.atms.dto.vatdto.TrialBalanceDto
;
import
pwc.taxtech.atms.dto.vatdto.TrialBalanceParam
;
...
...
@@ -324,7 +321,7 @@ public class DataImportService extends BaseService {
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"dd-MM-yyyyHH:mm:ss"
);
Date
dataDate
=
sdf
.
parse
(
dataDateStr
);
for
(
int
j
=
11
;
j
<
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
11
;
j
<
=
sheet
.
getLastRowNum
();
j
++)
{
Long
plId
=
idService
.
nextId
();
ProfitLossStatement
pl
=
new
ProfitLossStatement
();
pl
.
setId
(
plId
);
...
...
@@ -498,7 +495,7 @@ public class DataImportService extends BaseService {
String
dataDateStr
=
getCellStringValue
(
sheet
.
getRow
(
0
).
getCell
(
4
)).
substring
(
3
).
replace
(
" "
,
""
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"dd-MM-yyyyHH:mm:ss"
);
Date
dataDate
=
sdf
.
parse
(
dataDateStr
);
for
(
int
j
=
11
;
j
<
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
11
;
j
<
=
sheet
.
getLastRowNum
();
j
++)
{
Long
plId
=
idService
.
nextId
();
BalanceSheet
bl
=
new
BalanceSheet
();
bl
.
setId
(
plId
);
...
...
@@ -646,7 +643,7 @@ public class DataImportService extends BaseService {
continue
;
}
for
(
int
j
=
6
;
j
<
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
6
;
j
<
=
sheet
.
getLastRowNum
();
j
++)
{
Long
id
=
idService
.
nextId
();
CashFlow
cf
=
new
CashFlow
();
cf
.
setId
(
id
);
...
...
@@ -1326,7 +1323,7 @@ public class DataImportService extends BaseService {
continue
;
}
String
unit
=
getCellStringValue
(
sheet
.
getRow
(
1
).
getCell
(
11
)).
replace
(
" "
,
""
).
substring
(
3
);
for
(
int
j
=
3
;
j
<
sheet
.
getLastRowNum
();
j
++)
{
for
(
int
j
=
3
;
j
<
=
sheet
.
getLastRowNum
();
j
++)
{
Long
plId
=
idService
.
nextId
();
CertifiedInvoicesList
cil
=
new
CertifiedInvoicesList
();
cil
.
setId
(
plId
);
...
...
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