| | |
| | | String code = object.getStr("ResultCode"); |
| | | if (code.equals("0")) { |
| | | orderService.delHuoQuJcsqdh(order.getCardId()); |
| | | } else { |
| | | return false; |
| | | } |
| | | // else { |
| | | // return false; |
| | | // } |
| | | } |
| | | |
| | | } |
| | |
| | | code1 = object1.getStr("ResultCode"); |
| | | if (code1.equals("0")) { |
| | | orderService.delHuoQuJysqdh(order.getCardId()); |
| | | } else { |
| | | return false; |
| | | } |
| | | // else { |
| | | // return false; |
| | | // } |
| | | } |
| | | } |
| | | |
| | |
| | | result2 = getAjaxResult(ajaxResult); |
| | | object1 = getJSONObject(result2); |
| | | code1 = object1.getStr("ResultCode"); |
| | | if (!code1.equals("0")) { |
| | | return false; |
| | | } |
| | | // if (!code1.equals("0")) { |
| | | // return false; |
| | | // } |
| | | } |
| | | } |
| | | //2.1.3 门诊医生取消接诊 |
| | |
| | | result2 = getAjaxResult(ajaxResult); |
| | | object1 = getJSONObject(result2); |
| | | code1 = object1.getStr("ResultCode"); |
| | | if (!code1.equals("0")) { |
| | | return false; |
| | | } |
| | | // if (!code1.equals("0")) { |
| | | // return false; |
| | | // } |
| | | return true; |
| | | } |
| | | |