瀏覽代碼

findNoHealthSignFamilyHealth 返回数据key值修改

hh 8 年之前
父節點
當前提交
a990597019
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/main/java/com/yihu/wlyy/web/doctor/sign/DoctorFamilyContractController.java

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

@ -760,12 +760,12 @@ public class DoctorFamilyContractController extends WeixinBaseController {
                        continue;
                        continue;
                    }
                    }
                    JSONObject json = new JSONObject();
                    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();
                    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);
                    array.put(json);
                }
                }
            }
            }