|
|
@@ -274,7 +274,7 @@ public class CustomerApiController {
|
|
|
//20230426曹老师要求合约查询保险人和被保险人 都查询出合约列表
|
|
|
String qSearch = "(applicantscustid:"+scustid+"%20OR%insuredscustid:"+scustid+")";
|
|
|
if( StringUtils.isNotEmpty(deptCode)){
|
|
|
- qSearch = "(applicantscustid:"+scustid+"%20OR%insuredscustid:"+scustid+")"+"%20AND%20policybelong:"+deptCode+"";
|
|
|
+ qSearch = "(applicantscustid:"+scustid+"%20OR%20insuredscustid:"+scustid+")"+"%20AND%20policybelong:"+deptCode+"";
|
|
|
}
|
|
|
scriptRequest = new Request("GET", "/shanglifeecif.insurancearrangement/_search?size=100&pretty=true&sort=padate:asc&q="+qSearch);
|
|
|
|