zhengwei %!s(int64=6) %!d(string=hai) anos
pai
achega
4ef5da6d1b

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

@ -130,7 +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")+"")));
                doc.put("event_date", DateUtil.toString(new Date(doc.getFieldValue("event_date")+"")));
            }
        }
        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);
                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")+"")));
                doc.put("event_date", DateUtil.toString(new Date(doc.getFieldValue("event_date")+"")));
            }
        }
        long count = solrUtil.count(ResourceCore.SubTable, q, sb.toString());