Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
O
oms
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
曲欣亮
oms
Commits
38d405da
Commit
38d405da
authored
Mar 05, 2020
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
2d6bd1d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
OrderServiceImpl.java
...ain/java/com/egolm/oms/service/impl/OrderServiceImpl.java
+9
-1
No files found.
src/main/java/com/egolm/oms/service/impl/OrderServiceImpl.java
View file @
38d405da
...
...
@@ -125,8 +125,16 @@ public class OrderServiceImpl implements OrderService {
String
sSalesOrderID
=
(
String
)
commitMap
.
get
(
0
).
get
(
"SalesOrderID"
);
jdbcTemplate
.
update
(
"update tSalesOrder set sFormID = ?, sEmail = ?, sSalesmanNO = ? where sSalesOrderID = ?"
,
formId
,
email
,
salesmanNo
,
sSalesOrderID
);
this
.
sendWxMessage
(
sSalesOrderID
);
return
Rjx
.
jsonOk
().
setData
(
commitMap
).
toJson
();
}
else
{
String
errorMsg
=
""
;
if
(
commitMap
.
size
()>
1
){
errorMsg
=
(
String
)
commitMap
.
get
(
0
).
get
(
"StatusName"
)+
";"
+(
String
)
commitMap
.
get
(
1
).
get
(
"StatusName"
);
}
else
{
errorMsg
=
(
String
)
commitMap
.
get
(
0
).
get
(
"StatusName"
);
}
return
Rjx
.
jsonErr
().
setMessage
(
I18NUtils
.
getMessage
(
LangID
,
"Msg_Submit_Order_failure"
)).
set
(
"errorMsg"
,
errorMsg
).
setData
(
commitMap
).
toJson
();
}
return
Rjx
.
jsonOk
().
setData
(
commitMap
).
toJson
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
Rjx
.
jsonErr
().
set
(
"errorMsg"
,
e
.
getMessage
()).
setMessage
(
I18NUtils
.
getMessage
(
LangID
,
"Msg_Submit_Order_error"
)).
toJson
();
...
...
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