Browse Source

findNoHealthSignFamilyHealth 返回数据key值修改

hh 8 years ago
parent
commit
a990597019

+ 5 - 5
src/main/java/com/yihu/wlyy/web/doctor/sign/DoctorFamilyContractController.java

@ -760,12 +760,12 @@ public class DoctorFamilyContractController extends WeixinBaseController {
                        continue;
                    }
                    JSONObject json = new JSONObject();
                    json.put("code", sf.getCode());//签约code
                    json.put("patientCode", sf.getPatient());//患者code
                    json.put("patientName", sf.getName());//患者name
                    json.put("signCode", sf.getCode());//签约code
                    json.put("code", sf.getPatient());//患者code
                    json.put("name", sf.getName());//患者name
                    String idcard=sf.getIdcard();
                    json.put("patientAge",IdCardUtil.getAgeForIdcard(idcard) );//患者年龄
                    json.put("patientSex",IdCardUtil.getSexForIdcard(idcard) );//患者性别
                    json.put("age",IdCardUtil.getAgeForIdcard(idcard) );//患者年龄
                    json.put("sex",IdCardUtil.getSexForIdcard(idcard) );//患者性别
                    array.put(json);
                }
            }