Commit 3964753d by 陶光胜

门店查询接口

parent 7df86e84
......@@ -404,7 +404,7 @@ public class StoreApiServiceImpl implements StoreApiService {
dynamicSearchDTO.setEnterpriseId(com.gic.enterprise.constants.Constants.INDEX_ENTERPRISEID);
dynamicSearchDTO.setColumnCategoryCode(com.gic.enterprise.constants.Constants.ColumnCategoryCode);
dynamicSearchDTO.setBegin((pageNum - 1) * pageSize);
dynamicSearchDTO.setRecordNumber(pageSize);
dynamicSearchDTO.setRecordNumber(pageSize > 10000 ? 10000 : pageSize);
dynamicSearchDTO.setSortJson(sortJson);
dynamicSearchDTO.setReturnFileds(returnFileds);
logger.info("es查询条件:{}", JSON.toJSONString(dynamicSearchDTO,true));
......
......@@ -68,9 +68,6 @@ public class StoreWidgetApiServiceImpl implements StoreWidgetApiService {
@Override
public ServiceResponse<Page<StoreDTO>> listStoreByStoreWidgetId(Integer enterpriseId, Integer storeWidgetId, int pageNum, int pageSize) {
if(pageSize == Integer.MAX_VALUE){
pageSize = 10000;
}
StoreWidgetDTO storeWidgetDTO = this.storeWidgetService.getStoreWidget(storeWidgetId);
if(storeWidgetDTO != null){
String authSearchParam = storeWidgetDTO.getAuthSearchParam();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment