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
77bb7089
Commit
77bb7089
authored
Nov 16, 2018
by
eddie.woo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tb
parent
20ca08a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
soap-client-1.0.jar
atms-api/lib/soap-client-1.0.jar
+0
-0
DataImportService.java
...java/pwc/taxtech/atms/service/impl/DataImportService.java
+2
-2
LgGlBalanceService.java
...ava/pwc/taxtech/atms/service/impl/LgGlBalanceService.java
+2
-1
No files found.
atms-api/lib/soap-client-1.0.jar
View file @
77bb7089
No preview for this file type
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataImportService.java
View file @
77bb7089
...
...
@@ -124,13 +124,13 @@ public class DataImportService extends BaseService {
private
GlBalance
getGlBalance
(
String
code
,
List
<
GlBalance
>
seg3
,
List
<
GlBalance
>
seg4
)
{
for
(
GlBalance
balance
:
seg3
)
{
if
(
StringUtils
.
equals
(
code
,
balance
.
get
Attr
3
()))
{
if
(
StringUtils
.
equals
(
code
,
balance
.
get
Segment
3
()))
{
return
balance
;
}
}
for
(
GlBalance
balance
:
seg4
)
{
if
(
StringUtils
.
equals
(
code
,
balance
.
get
Attr
3
()))
{
if
(
StringUtils
.
equals
(
code
,
balance
.
get
Segment
3
()))
{
return
balance
;
}
}
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/LgGlBalanceService.java
View file @
77bb7089
...
...
@@ -72,9 +72,10 @@ public class LgGlBalanceService extends BaseService {
GlBalance
glBalance
=
new
GlBalance
();
beanUtil
.
copyProperties
(
list
.
get
(
0
),
glBalance
);
glBalance
.
setPeriodName
(
period
);
GlBalanceExample
example
=
new
GlBalanceExample
();
example
.
createCriteria
().
andSegment1EqualTo
(
glBalance
.
getSegment1
()).
andSegment3EqualTo
(
glBalance
.
getSegment3
())
.
andSegment4EqualTo
(
glBalance
.
getSegment4
()).
andPeriodNameEqualTo
(
glBalance
.
getPeriodName
()
);
.
andSegment4EqualTo
(
glBalance
.
getSegment4
()).
andPeriodNameEqualTo
(
period
);
List
<
GlBalance
>
tmpList
;
if
((
tmpList
=
glBalanceMapper
.
selectByExample
(
example
)).
size
()
>
0
)
{
glBalance
.
setId
(
tmpList
.
get
(
0
).
getId
());
...
...
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