|
@@ -2808,8 +2808,8 @@ public class AmsSaleOrderServiceImpl implements IAmsSaleOrderService {
|
|
try{
|
|
try{
|
|
JSONObject result = new JSONObject(s);
|
|
JSONObject result = new JSONObject(s);
|
|
//如果status不为1,抛出异常
|
|
//如果status不为1,抛出异常
|
|
- if(!result.getString("status").equals("1")){
|
|
|
|
- throw new Exception("上传金蝶失败!请重试派车:"+result.getJSONObject("exception").getString("message"));
|
|
|
|
|
|
+ if(!result.getJSONObject("res").getString("status").equals("1")){
|
|
|
|
+ throw new Exception("上传金蝶失败!请重试派车:"+result.getJSONObject("requestException").getString("message"));
|
|
}
|
|
}
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|