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")+"")));
            }
        }