Commit 2c6ff00b authored by Quxl's avatar Quxl

x

parent 2e8138a8
......@@ -66,7 +66,8 @@ public class OrderServiceImpl implements OrderService {
rjx = Rjx.jsonOk();
rjx.setData(resultMap);
} else {
rjx = Rjx.jsonErr();
Map<String, Object> lastest = resultMap.get(resultMap.size() - 1);
rjx = Rjx.jsonErr().setMessage((String)lastest.get("ErrorMsg"));
}
return rjx.toJson();
} catch(UncategorizedSQLException se) {
......
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