Browse Source

添加挂号类型名称regType

hzp 8 years ago
parent
commit
5e52fb9fc9

+ 13 - 0
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/third/guahao/GuahaoXMService.java

@ -165,6 +165,17 @@ public class GuahaoXMService implements IGuahaoService {
            String status = e.attributeValue("status");
            // 诊查费
            String fee = e.attributeValue("fee");
            // 号源类型
            String regType = "普通号";
            if(!StringUtils.isEmpty(e.attributeValue("reg_type")))
            {
                regType = e.attributeValue("reg_type");
            }
            else if(!StringUtils.isEmpty(e.attributeValue("type")))
            {
                regType = e.attributeValue("type");
            }
            Map<String, Object> map = new HashMap<>();
            map.put("date", date);
            map.put("time", time);
@ -172,6 +183,8 @@ public class GuahaoXMService implements IGuahaoService {
            map.put("used", used);
            map.put("status", status);
            map.put("fee", fee);
            map.put("regType", regType);
            // 排班信息
            List<?> sections = e.elements();
            List<Map<String, String>> arrangeList = new ArrayList<>();