| | |
| | | import com.yeshi.fanli.service.inter.config.BusinessSystemService;
|
| | | import com.yeshi.fanli.service.inter.config.HotSearchService;
|
| | | import com.yeshi.fanli.service.inter.config.SuperHotSearchService;
|
| | | import com.yeshi.fanli.tag.PageEntity;
|
| | | import com.yeshi.common.entity.PageEntity;
|
| | | import com.yeshi.fanli.util.Constant;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | |
|
| | |
| | | * 查询列表- 新后台
|
| | | * @param callback
|
| | | * @param pageIndex
|
| | | * @param platform
|
| | | * @param packages
|
| | | * @param key
|
| | | * @param out
|
| | | */
|
| | |
| | | int pageSize = Constant.PAGE_SIZE;
|
| | |
|
| | | try {
|
| | | List<HotSearch> list = hotSearchService.listQuery(pageIndex - 1, pageSize, key, systemId, useType);
|
| | | List<HotSearch> list = hotSearchService.listQuery(pageIndex - 1, pageSize, key, systemId, useType,acceptData.getSystem());
|
| | | if (list == null || list.size() == 0) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("暂无更多数据"));
|
| | | return;
|
| | | }
|
| | |
|
| | | int count = hotSearchService.countList(key, systemId, useType);
|
| | | int count = hotSearchService.countList(key, systemId, useType,acceptData.getSystem());
|
| | |
|
| | | int totalPage = count % pageSize == 0 ? count / pageSize : count / pageSize + 1;
|
| | | PageEntity pe = new PageEntity(pageIndex, pageSize, count, totalPage);
|