浏览代码

医保相关

zhengwei 6 年之前
父节点
当前提交
ca76c9994e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/java/com/yihu/quota/service/medicalInsurance/MedicalInsuranceService.java

+ 2 - 0
src/main/java/com/yihu/quota/service/medicalInsurance/MedicalInsuranceService.java

@ -130,6 +130,7 @@ public class MedicalInsuranceService {
                SolrDocumentList list = solrUtil.query(ResourceCore.MasterTable,q1,null,null,0,1,fields);
                doc.putAll(list.get(0));
                doc.put("address", null != list.get(0).get("EHR_001211") ? list.get(0).get("EHR_001211") : "");
                doc.put("event_date_real", doc.getFieldValue("event_date"));
                doc.put("event_date", DateUtil.toString(new Date(doc.getFieldValue("event_date")+"")));
            }
        }
@ -515,6 +516,7 @@ public class MedicalInsuranceService {
                SolrDocumentList list = solrUtil.query(ResourceCore.MasterTable,q1,null,null,0,1,fi1elds);
                doc.putAll(list.get(0));
                doc.put("address", null != list.get(0).get("EHR_001211") ? list.get(0).get("EHR_001211") : "");
                doc.put("event_date_real", doc.getFieldValue("event_date"));
                doc.put("event_date", DateUtil.toString(new Date(doc.getFieldValue("event_date")+"")));
            }
        }