zjh
2024-06-13 962d1b2fb12dd90a661748c952825b8cebdcb35d
zjh 本地 2024/06/13 --2
1个文件已修改
58 ■■■■■ 已修改文件
ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethod.java 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ltkj-admin/src/main/java/com/ltkj/web/controller/his/HisApiMethod.java
@@ -306,33 +306,47 @@
        String zlsqdh = orderService.getHuoQuZlsqdh(order.getCardId());
        //2.1.6.5 作废门诊检查申请
        AjaxResult result = controller.Outpindelexamapply(order.getCardId(), "00029", jcsqdh);
        String result1 = getAjaxResult(result);
        JSONObject object = getJSONObject(result1);
        String code = object.getStr("ResultCode");
        if (code.equals("0")) {
            orderService.delHuoQuJcsqdh(order.getCardId());
        }else {
            return false;
        if (null !=jcsqdh){
            AjaxResult result = controller.Outpindelexamapply(order.getCardId(), "00029", jcsqdh);
            String result1 = getAjaxResult(result);
            JSONObject object = getJSONObject(result1);
            String code = object.getStr("ResultCode");
            if (code.equals("0")) {
                orderService.delHuoQuJcsqdh(order.getCardId());
            }else {
                return false;
            }
        }
        //2.1.6.3 作废门诊检验申请
        AjaxResult ajaxResult = controller.Outpindeltestapply(order.getCardId(), "00029", jysqdh);
        String result2 = getAjaxResult(ajaxResult);
        JSONObject object1 = getJSONObject(result2);
        String code1 = object1.getStr("ResultCode");
        if (code1.equals("0")) {
            orderService.delHuoQuJysqdh(order.getCardId());
        }else {
            return false;
        AjaxResult ajaxResult =null;
        String result2 =null;
        JSONObject object1 =null;
        String code1 =null;
        if(null !=jysqdh){
             ajaxResult = controller.Outpindeltestapply(order.getCardId(), "00029", jysqdh);
             result2 = getAjaxResult(ajaxResult);
             object1 = getJSONObject(result2);
             code1 = object1.getStr("ResultCode");
            if (code1.equals("0")) {
                orderService.delHuoQuJysqdh(order.getCardId());
            }else {
                return false;
            }
        }
        //2.1.6.9 作废门诊治疗处置申请
        ajaxResult = controller.Outpintdelreatapply(order.getCardId(), "00029", zlsqdh);
        result2 = getAjaxResult(ajaxResult);
        object1 = getJSONObject(result2);
        code1 = object1.getStr("ResultCode");
        if (!code1.equals("0")){
            return false;
        if(null !=zlsqdh){
            ajaxResult = controller.Outpintdelreatapply(order.getCardId(), "00029", zlsqdh);
            result2 = getAjaxResult(ajaxResult);
            object1 = getJSONObject(result2);
            code1 = object1.getStr("ResultCode");
            if (!code1.equals("0")){
                return false;
            }
        }
        //2.1.3 门诊医生取消接诊
        ajaxResult = controller.Outpinunconapply(order.getCardId(), date, "00029");