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
f983e538
Commit
f983e538
authored
Mar 19, 2019
by
gary
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、fixbug
parent
7d81c160
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+5
-5
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
f983e538
...
...
@@ -310,7 +310,7 @@ public class DataImportService extends BaseService {
}
// 所选期间与导入文件期间不相等 且非 所选期间12期导入文件为13期
boolean
isThirteenPeriod
=
period
%
100
==
13
&&
tmsPeriod
%
100
==
12
;
if
(!
tmsPeriod
.
equals
(
period
)
&&
isThirteenPeriod
)
{
if
(!
tmsPeriod
.
equals
(
period
)
&&
!
isThirteenPeriod
)
{
dataImportLog
.
setImportResult
(
false
);
dataImportLog
.
setErrorMsg
(
ErrorMessageCN
.
ExistDataPeriodsError
);
dataImportLogs
.
add
(
dataImportLog
);
...
...
@@ -483,7 +483,7 @@ public class DataImportService extends BaseService {
}
// 所选期间与导入文件期间不相等 且非 所选期间12期导入文件为13期
boolean
isThirteenPeriod
=
period
%
100
==
13
&&
tmsPeriod
%
100
==
12
;
if
(!
tmsPeriod
.
equals
(
period
)
&&
isThirteenPeriod
)
{
if
(!
tmsPeriod
.
equals
(
period
)
&&
!
isThirteenPeriod
)
{
dataImportLog
.
setImportResult
(
false
);
dataImportLog
.
setErrorMsg
(
ErrorMessageCN
.
ExistDataPeriodsError
);
dataImportLogs
.
add
(
dataImportLog
);
...
...
@@ -631,7 +631,7 @@ public class DataImportService extends BaseService {
}
// 所选期间与导入文件期间不相等 且非 所选期间12期导入文件为13期
boolean
isThirteenPeriod
=
period
%
100
==
13
&&
tmsPeriod
%
100
==
12
;
if
(!
tmsPeriod
.
equals
(
period
)
&&
isThirteenPeriod
)
{
if
(!
tmsPeriod
.
equals
(
period
)
&&
!
isThirteenPeriod
)
{
dataImportLog
.
setImportResult
(
false
);
dataImportLog
.
setErrorMsg
(
ErrorMessageCN
.
ExistDataPeriodsError
);
dataImportLogs
.
add
(
dataImportLog
);
...
...
@@ -781,7 +781,7 @@ public class DataImportService extends BaseService {
}
// 所选期间与导入文件期间不相等 且非 所选期间12期导入文件为13期
boolean
isThirteenPeriod
=
period
%
100
==
13
&&
tmsPeriod
%
100
==
12
;
if
(!
tmsPeriod
.
equals
(
period
)
&&
isThirteenPeriod
)
{
if
(!
tmsPeriod
.
equals
(
period
)
&&
!
isThirteenPeriod
)
{
dataImportLog
.
setImportResult
(
false
);
dataImportLog
.
setErrorMsg
(
ErrorMessageCN
.
ExistDataPeriodsError
);
dataImportLogs
.
add
(
dataImportLog
);
...
...
@@ -1301,7 +1301,7 @@ public class DataImportService extends BaseService {
dataImportLog
.
setCompanyName
(
companyName
);
// 所选期间与导入文件期间不相等 且非 所选期间12期导入文件为13期
boolean
isThirteenPeriod
=
period
%
100
==
13
&&
tmsPeriod
%
100
==
12
;
if
(!
tmsPeriod
.
equals
(
period
)
&&
isThirteenPeriod
)
{
if
(!
tmsPeriod
.
equals
(
period
)
&&
!
isThirteenPeriod
)
{
dataImportLog
.
setImportResult
(
false
);
dataImportLog
.
setErrorMsg
(
ErrorMessageCN
.
ExistDataPeriodsError
);
dataImportLogs
.
add
(
dataImportLog
);
...
...
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