LAPTOP-KB9HII50\70708 vor 11 Monaten
Ursprung
Commit
547f435cac

+ 3 - 3
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/DsyyPrescriptionService.java

@ -741,8 +741,9 @@ public class DsyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO,
        JSONObject rs = JSON.parseObject(content);
        Integer status = rs.getInteger("status");
        if (status==200){
            if(rs.get("obj") instanceof JSONObject){
                object = rs.getJSONObject("obj");
            JSONObject obj = rs.getJSONObject("obj");
            if("00".equals(obj.getString("retCode"))){
                object = obj;
            }else {
                throw new ServiceException(rs.getString("obj"));
            }
@ -750,7 +751,6 @@ public class DsyyPrescriptionService extends BaseJpaService<WlyyPrescriptionDO,
        return object;
    }
    /**
     *  查询住院病人日清单
     *

+ 5 - 4
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/hospital/WlyyFamilyMemberController.java

@ -106,6 +106,7 @@ public class WlyyFamilyMemberController extends EnvelopRestEndpoint {
            }
        }*/
        net.sf.json.JSONArray jsonArray = new JSONArray();
        com.alibaba.fastjson.JSONArray jsonArrayDsyy = new com.alibaba.fastjson.JSONArray();
        if("xm_ykyy_wx".equalsIgnoreCase(wxId)){
            /*jsonArray = ykyyEntranceService.findHisPatientBymMedicare(medicare,clinicId,false);
            if(jsonArray!=null&&jsonArray.size()>0){
@ -163,9 +164,9 @@ public class WlyyFamilyMemberController extends EnvelopRestEndpoint {
            JSONObject object = dsyyPrescriptionService.queryCardListToHospital("",idCard);
            if (object!=null){
                if (object.getString("retCode").equalsIgnoreCase("00")){
                    com.alibaba.fastjson.JSONArray array = object.getJSONArray("cardlist");
                    if(array!=null&&array.size()>0){
                        JSONObject jsonObject= array.getJSONObject(0);
                    jsonArrayDsyy = object.getJSONArray("cardlist");
                    if(jsonArrayDsyy!=null&&jsonArrayDsyy.size()>0){
                        JSONObject jsonObject= jsonArrayDsyy.getJSONObject(0);
                        String Pat_name = jsonObject.getString("userName");
                        String Next_Of_Kin_Phone = jsonObject.getString("phone");
                        if(!Next_Of_Kin_Phone.equalsIgnoreCase(phoneNum)){
@ -252,7 +253,7 @@ public class WlyyFamilyMemberController extends EnvelopRestEndpoint {
            }else if("xm_dsyy_wx".equalsIgnoreCase(wxId)){
                System.out.println("发送第三医院验证码开始");
                int result = 1;
                if (null!=jsonArray&&jsonArray.size() > 0) {
                if (null!=jsonArrayDsyy&&jsonArrayDsyy.size() > 0) {
                    result = dsyyPrescriptionService.SendSms(phoneNum, "您好,您当前操作的验证码是:" + captcha + ",2分钟内有效。如非本人操作,请忽略");
                } else {
                    result = 2;

+ 1 - 0
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/prescription/PrescriptionEndpoint.java

@ -3807,6 +3807,7 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
        try {
            return success("操作成功", dsyyPrescriptionService.queryDayDetailListToHospital(iptNo,patientId,beginDate,endDate));
        } catch (Exception e) {
            e.printStackTrace();
            return Envelop.getError(e.getMessage());
        }
    }