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
f1eeb082
Commit
f1eeb082
authored
Dec 10, 2018
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
2e790698
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+4
-10
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
f1eeb082
...
...
@@ -73,20 +73,14 @@ public class DataImportService extends BaseService {
calendar
.
set
(
Calendar
.
MONTH
,
i
-
1
);
GlBalanceExample
example
=
new
GlBalanceExample
();
//科目段
GlBalanceExample
.
Criteria
c
=
example
.
createCriteria
().
andSegment1EqualTo
(
organization
.
getClientCode
())
.
andPeriodNameEqualTo
(
dateFormat
.
format
(
calendar
.
getTime
()));
// if(CollectionUtils.isNotEmpty(etCodeList)){
c
.
andSegment3In
(
etCodeList
);
// }
example
.
createCriteria
().
andSegment1EqualTo
(
organization
.
getClientCode
())
.
andPeriodNameEqualTo
(
dateFormat
.
format
(
calendar
.
getTime
())).
andSegment3In
(
etCodeList
);
List
<
GlBalance
>
sg3List
=
glBalanceMapper
.
selectByExample
(
example
);
GlBalanceExample
example2
=
new
GlBalanceExample
();
//明细段
GlBalanceExample
.
Criteria
c2
=
example2
.
createCriteria
().
andSegment1EqualTo
(
organization
.
getClientCode
())
.
andPeriodNameEqualTo
(
dateFormat
.
format
(
calendar
.
getTime
()));
// if(CollectionUtils.isNotEmpty(etCodeList)){
c2
.
andSegment4In
(
etCodeList
);
// }
example2
.
createCriteria
().
andSegment1EqualTo
(
organization
.
getClientCode
())
.
andPeriodNameEqualTo
(
dateFormat
.
format
(
calendar
.
getTime
())).
andSegment4In
(
etCodeList
);
List
<
GlBalance
>
sg4List
=
glBalanceMapper
.
selectByExample
(
example2
);
for
(
StandardAccount
standardAccount
:
stdAccountList
)
{
...
...
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