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
d58e5ff2
Commit
d58e5ff2
authored
Aug 09, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
f988e474
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
ZMISD009SOCREATIONServiceTask.java
..._MI_SD_009_SO_CREATION/ZMISD009SOCREATIONServiceTask.java
+8
-3
No files found.
src/main/java/com/egolm/sso/clients/Z_MI_SD_009_SO_CREATION/ZMISD009SOCREATIONServiceTask.java
View file @
d58e5ff2
...
...
@@ -66,9 +66,9 @@ public class ZMISD009SOCREATIONServiceTask {
for
(
Map
<
String
,
Object
>
headerMap
:
headerList
)
{
String
TRACE_NO
=
(
String
)
headerMap
.
get
(
"TRACE_NO"
);
String
KUNNR
=
(
String
)
headerMap
.
get
(
"KUNNR"
);
String
result
=
"S"
;
String
message
=
null
;
String
errorMessage
=
null
;
boolean
isSuccess
=
false
;
try
{
ZDTSD009SOCREATION
ZDTSD009SOCREATIONBean
=
new
ZDTSD009SOCREATION
();
Header
header
=
new
Header
();
...
...
@@ -114,13 +114,18 @@ public class ZMISD009SOCREATIONServiceTask {
ZMISD009SOCREATION
.
zMISD009SOCREATION
(
ZDTSD009SOCREATIONBean
);
jdbcTemplate
.
update
(
"UPDATE t_so_creation_header SET SEND_STATUS = 'Y', SEND_TIME = NOW() WHERE ID = ?"
,
ID
);
}
catch
(
Throwable
e
)
{
result
=
"F"
;
isSuccess
=
false
;
message
=
ThrowableUtil
.
getThrowableDesc
(
e
);
errorMessage
=
ThrowableUtil
.
getCaused
(
e
).
getMessage
();
logger
.
error
(
"数据上传错误"
,
e
);
}
finally
{
try
{
common
.
saveOrderTracking
(
TRACE_NO
,
traceName
,
null
,
KUNNR
,
traceAction
,
result
,
message
,
errorMessage
);
common
.
saveApiAccessLog
(
""
,
"http://xiprd:8000/sap/xi/engine"
,
isSuccess
?
"S"
:
"F"
);
}
catch
(
Exception
e1
)
{
logger
.
error
(
"数据上传日志记录失败"
,
e1
);
}
try
{
common
.
saveOrderTracking
(
TRACE_NO
,
traceName
,
null
,
KUNNR
,
traceAction
,
(
isSuccess
?
"S"
:
"F"
),
message
,
errorMessage
);
}
catch
(
Throwable
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