humingfen пре 4 година
родитељ
комит
8446a44d56

+ 6 - 4
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/entrance/YkyyEntranceService.java

@ -3164,9 +3164,10 @@ public class YkyyEntranceService {
                logger.info("更新患者信息updateResponse:" + updateContent);
                JSONObject rsult = JSON.parseObject(updateContent);
                Integer s = rsult.getInteger("status");
                if (s != 200) {
                String message = rsult.getString("message");
                if (s != 200 || !message.equals("成功")) {
                    res.put("status", -1);
                    res.put("message", "更新社保卡失败!");
                    res.put("message", message);
                    return res;
                }
            }
@ -3195,9 +3196,10 @@ public class YkyyEntranceService {
                    logger.info("更新患者信息updateResponse:" + updateContent);
                    JSONObject rsult = JSON.parseObject(updateContent);
                    Integer s = rsult.getInteger("status");
                    if (s != 200) {
                    String message = rsult.getString("message");
                    if (s != 200 || !message.equals("成功")) {
                        res.put("status", -1);
                        res.put("message", "更新社保卡失败!");
                        res.put("message", message);
                        return res;
                    }
                }else {