Commit d0234f1d by 阮思源

补内部接口

parent b6855245
......@@ -3,6 +3,7 @@
*/
package com.pcloud.book.consumer.analysisengine;
import com.pcloud.analysisengine.browse.dto.BookServeBrowseCountParameterDTO;
import com.pcloud.analysisengine.browse.dto.BrowseCacheRecordDto;
import com.pcloud.analysisengine.browse.dto.GroupBrowseStatisticVO;
import com.pcloud.analysisengine.browse.dto.SBookAnalyzeDto;
......@@ -160,4 +161,21 @@ public class BrowseRecordConsr {
}
return map;
}
@ParamLog("获取图书下应用浏览次数")
public Map<String, Long> getBookServeBrowseCount(List<Long> adviserIds, List<Long> channelIds,List<Long> bookIds){
Map<String, Long> map = new HashMap<>();
BookServeBrowseCountParameterDTO dto=new BookServeBrowseCountParameterDTO();
dto.setBookIds(bookIds);
dto.setAdviserIds(adviserIds);
dto.setChannelIds(channelIds);
try {
map = ResponseHandleUtil.parseMapResponse(browseRecordService.getBookServeBrowseCount(dto), String.class, Long.class);
} catch (Exception e) {
LOGGER.error("根获取图书下应用浏览次数" + e.getMessage(), e);
}
return map;
}
}
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