zhengwei пре 6 година
родитељ
комит
acd82ba702

+ 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", DateUtil.toString(DateUtil.strToDate(doc.get("event_date")+"")));
            }
        }
        long count = solrUtil.count(ResourceCore.SubTable, q, sb.toString());
@ -514,6 +515,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", DateUtil.toString(DateUtil.strToDate(doc.get("event_date")+"")));
            }
        }
        long count = solrUtil.count(ResourceCore.SubTable, q, sb.toString());