Browse Source

环比 添加top参数

wangxingwang 6 years ago
parent
commit
6f9a38032c

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

@ -211,7 +211,7 @@ public class MedicalInsuranceService {
        Map<String, Long> groupMap = solrUtil.groupCountLte(ResourceCore.MasterTable, null, fqAll, demographicId, 0, -1, 3);
        for (String idCard : idCardList) {
            Map<String, Object> mapInfo = new HashMap();
            SolrDocumentList query = solrUtil.query(ResourceCore.MasterTable, "demographic_id:" + idCard, fqAll, null, 0, 1, fields);
            SolrDocumentList query = solrUtil.query(ResourceCore.MasterTable, "demographic_id:\"" + idCard + "\"", fqAll, null, 0, 1, fields);
            if (null != query && query.size() > 0) {
                String rowKey = null != query.get(0).get("rowkey") ? query.get(0).get("rowkey") + "" : "";
                String sex = null != query.get(0).get("patient_sex") ? query.get(0).get("patient_sex") + "" : "";

+ 1 - 1
src/main/resources/bootstrap.yml

@ -1,6 +1,6 @@
spring:
  application:
    name: svr-quota
    name: svr-quota-xw
  cloud:
    config:
      username: user