|
|
@@ -127,7 +127,7 @@ public class CmsGroupController {
|
|
|
mapBuilder.field(GroupsTrips::getId, groupId);
|
|
|
}
|
|
|
SearchResult<GroupsTrips> search = beanSearcher.search(GroupsTrips.class, mapBuilder
|
|
|
- .field(GroupsTrips::getAccount, StringUtils.isBlank(account) ? null : account).op(Operator.EndWith)
|
|
|
+ .field(GroupsTrips::getAccount, StringUtils.isBlank(account) ? null : account).op(Operator.Contain)
|
|
|
.build()
|
|
|
);
|
|
|
search.getDataList().forEach(data -> {
|
|
|
@@ -162,7 +162,7 @@ public class CmsGroupController {
|
|
|
}
|
|
|
|
|
|
List<ExcelGroupRelationData> list = beanSearcher.searchAll(ExcelGroupRelationData.class, mapBuilder
|
|
|
- .field(ExcelGroupRelationData::getAccount, StringUtils.isBlank(account) ? null : account).op(Operator.EndWith)
|
|
|
+ .field(ExcelGroupRelationData::getAccount, StringUtils.isBlank(account) ? null : account).op(Operator.Contain)
|
|
|
.build()
|
|
|
);
|
|
|
EasyExcelUtils.createExcelStreamMutilByEasyExcel(response, ExcelGroupRelationData.class, list, "发布车票列表", "发布车票列表", ExcelTypeEnum.XLSX, null);
|