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
42945b67
Commit
42945b67
authored
Aug 12, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
a19f184c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ZMISD009SOCREATIONServiceTask.java
..._MI_SD_009_SO_CREATION/ZMISD009SOCREATIONServiceTask.java
+4
-3
No files found.
src/main/java/com/egolm/sso/clients/Z_MI_SD_009_SO_CREATION/ZMISD009SOCREATIONServiceTask.java
View file @
42945b67
...
@@ -83,14 +83,15 @@ public class ZMISD009SOCREATIONServiceTask {
...
@@ -83,14 +83,15 @@ public class ZMISD009SOCREATIONServiceTask {
public
void
sendData
(
ZMISD009SOCREATION
ZMISD009SOCREATION
,
Map
<
String
,
Object
>
headerMap
)
{
public
void
sendData
(
ZMISD009SOCREATION
ZMISD009SOCREATION
,
Map
<
String
,
Object
>
headerMap
)
{
Date
now
=
new
Date
();
Date
now
=
new
Date
();
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
timeString
=
DateUtil
.
formatDate
(
now
,
"yyyyMMddHHmmssSSS"
);
String
TRACE_NO
=
(
String
)
headerMap
.
get
(
"TRACE_NO"
);
String
traceNo
=
(
String
)
headerMap
.
get
(
"TRACE_NO"
);
String
KUNNR
=
(
String
)
headerMap
.
get
(
"KUNNR"
);
String
disCode
=
(
String
)
headerMap
.
get
(
"KUNNR"
);
String
message
=
null
;
String
message
=
null
;
String
errorMessage
=
null
;
String
errorMessage
=
null
;
boolean
isSuccess
=
false
;
boolean
isSuccess
=
false
;
ZDTSD009SOCREATION
ZDTSD009SOCREATIONBean
=
new
ZDTSD009SOCREATION
();
ZDTSD009SOCREATION
ZDTSD009SOCREATIONBean
=
new
ZDTSD009SOCREATION
();
try
{
try
{
Header
header
=
new
Header
();
Header
header
=
new
Header
();
String
KUNNR
=
(
String
)
headerMap
.
get
(
"KUNNR"
);
Long
ID
=
(
Long
)
headerMap
.
get
(
"ID"
);
Long
ID
=
(
Long
)
headerMap
.
get
(
"ID"
);
String
BSTKD_E
=
(
String
)
headerMap
.
get
(
"BSTKD_E"
);
String
BSTKD_E
=
(
String
)
headerMap
.
get
(
"BSTKD_E"
);
String
VBELN
=
(
String
)
headerMap
.
get
(
"VBELN"
);
String
VBELN
=
(
String
)
headerMap
.
get
(
"VBELN"
);
...
@@ -142,7 +143,7 @@ public class ZMISD009SOCREATIONServiceTask {
...
@@ -142,7 +143,7 @@ public class ZMISD009SOCREATIONServiceTask {
logger
.
error
(
"数据上传日志记录失败"
,
e1
);
logger
.
error
(
"数据上传日志记录失败"
,
e1
);
}
}
try
{
try
{
common
.
saveOrderTracking
(
TRACE_NO
,
"SoCreation"
,
null
,
KUNNR
,
"D"
,
(
isSuccess
?
"S"
:
"F"
),
message
,
errorMessage
);
common
.
saveOrderTracking
(
traceNo
,
"SoCreation"
,
null
,
disCode
,
"D"
,
(
isSuccess
?
"S"
:
"F"
),
message
,
errorMessage
);
}
catch
(
Throwable
e1
)
{
}
catch
(
Throwable
e1
)
{
logger
.
error
(
"追踪数据保存失败"
,
e1
);
logger
.
error
(
"追踪数据保存失败"
,
e1
);
}
}
...
...
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