Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sap-service
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sap-service
Commits
aec1a08c
Commit
aec1a08c
authored
Jul 26, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
e9bb927c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
ShippingNotificationServiceImpl.java
...hipping_notfirmation/ShippingNotificationServiceImpl.java
+13
-3
No files found.
src/main/java/com/egolm/sso/services/shipping_notfirmation/ShippingNotificationServiceImpl.java
View file @
aec1a08c
...
@@ -142,14 +142,24 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
...
@@ -142,14 +142,24 @@ public class ShippingNotificationServiceImpl implements ShippingNotificationServ
for
(
int
i
=
0
;
i
<
ITEM_REFERENCE_PO_TYPEs
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
ITEM_REFERENCE_PO_TYPEs
.
size
();
i
++)
{
ITEM_REFERENCE_PO_TYPE
ITEM_REFERENCE_PO_TYPE
=
ITEM_REFERENCE_PO_TYPEs
.
get
(
i
);
ITEM_REFERENCE_PO_TYPE
ITEM_REFERENCE_PO_TYPE
=
ITEM_REFERENCE_PO_TYPEs
.
get
(
i
);
if
(
ITEM_REFERENCE_PO_TYPE
!=
null
)
{
if
(
ITEM_REFERENCE_PO_TYPE
!=
null
)
{
item
.
put
(
"REFERENCE_PO_TYPE_TDID"
+(
i
+
1
),
ITEM_REFERENCE_PO_TYPE
.
getTDID
())
;
String
TDLINE
=
null
;
List
<
ITEM_REFERENCE_PO_DATA
>
ITEM_REFERENCE_PO_DATAs
=
ITEM_REFERENCE_PO_TYPE
.
getITEM_REFERENCE_PO_DATA
();
List
<
ITEM_REFERENCE_PO_DATA
>
ITEM_REFERENCE_PO_DATAs
=
ITEM_REFERENCE_PO_TYPE
.
getITEM_REFERENCE_PO_DATA
();
if
(
ITEM_REFERENCE_PO_DATAs
!=
null
&&
ITEM_REFERENCE_PO_DATAs
.
size
()>
0
)
{
if
(
ITEM_REFERENCE_PO_DATAs
!=
null
&&
ITEM_REFERENCE_PO_DATAs
.
size
()
>
0
)
{
ITEM_REFERENCE_PO_DATA
ITEM_REFERENCE_PO_DATA
=
ITEM_REFERENCE_PO_DATAs
.
get
(
0
);
ITEM_REFERENCE_PO_DATA
ITEM_REFERENCE_PO_DATA
=
ITEM_REFERENCE_PO_DATAs
.
get
(
0
);
if
(
ITEM_REFERENCE_PO_DATA
!=
null
)
{
if
(
ITEM_REFERENCE_PO_DATA
!=
null
)
{
item
.
put
(
"REFERENCE_PO_TYPE_TDLINE"
+(
i
+
1
),
ITEM_REFERENCE_PO_DATA
.
getTDLINE
()
);
TDLINE
=
ITEM_REFERENCE_PO_DATA
.
getTDLINE
(
);
}
}
}
}
String
TDID
=
ITEM_REFERENCE_PO_TYPE
.
getTDID
();
if
(
"ZXI1"
.
equals
(
TDID
))
{
item
.
put
(
"REFERENCE_PO_TYPE_TDID1"
,
TDID
);
item
.
put
(
"REFERENCE_PO_TYPE_TDLINE1"
,
TDLINE
);
}
else
if
(
"ZXI2"
.
equals
(
TDID
))
{
item
.
put
(
"REFERENCE_PO_TYPE_TDID2"
,
TDID
);
item
.
put
(
"REFERENCE_PO_TYPE_TDLINE2"
,
TDLINE
);
}
else
{
throw
new
XRException
(
"Text type undefined ["
+
TDID
+
"] in ITEM_REFERENCE_PO_TYPE"
);
}
}
}
}
}
}
}
...
...
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