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