Commit a66e951a authored by 张永's avatar 张永

1

parent 8aaf5f86
...@@ -1709,7 +1709,7 @@ public class OrderServiceImpl implements OrderService { ...@@ -1709,7 +1709,7 @@ public class OrderServiceImpl implements OrderService {
Map<String,Object> orderStatusMap = jdbcTemplate.queryForMap(sqlOrderQuery,salesOrderID); Map<String,Object> orderStatusMap = jdbcTemplate.queryForMap(sqlOrderQuery,salesOrderID);
Integer OrderStatus = (Integer)orderStatusMap.get("Status"); Integer OrderStatus = (Integer)orderStatusMap.get("Status");
if(OrderStatus != null) { if(OrderStatus != null) {
if(OrderStatus > 0) { if(OrderStatus != 0) {
String ErrorMsg = orderStatusMap.get("ErrorMsg")+""; String ErrorMsg = orderStatusMap.get("ErrorMsg")+"";
return Rjx.jsonErr().setMessage(ErrorMsg).set("errorMsg", ErrorMsg).setData(orderStatusMap).toJson(); return Rjx.jsonErr().setMessage(ErrorMsg).set("errorMsg", ErrorMsg).setData(orderStatusMap).toJson();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment