|
|
@@ -154,7 +154,7 @@ public class WeComSendMsgJob {
|
|
|
String sort = "datastat.fission_rate desc, video.score desc";
|
|
|
String type = "企微-社群";
|
|
|
String channel = "sum";
|
|
|
- List<ContentPlatformVideo> videoList = getVideoByStrategy(thirdPartWeComStaff.getThirdStaffId(), dt, datastatDt, type, channel, videoMinScore,
|
|
|
+ List<ContentPlatformVideo> videoList = getVideoByStrategy(thirdPartWeComStaff.getThirdStaffId(), roomId, dt, datastatDt, type, channel, videoMinScore,
|
|
|
sentVideoIds, 1, 100, sort);
|
|
|
if (CollectionUtils.isEmpty(videoList)) {
|
|
|
LarkRobotUtil.sendWeComThirdPartMessage(
|
|
|
@@ -184,6 +184,7 @@ public class WeComSendMsgJob {
|
|
|
}
|
|
|
|
|
|
private List<ContentPlatformVideo> getVideoByStrategy(Long staffId,
|
|
|
+ String roomId,
|
|
|
String dt,
|
|
|
String datastatDt,
|
|
|
String type,
|
|
|
@@ -212,7 +213,7 @@ public class WeComSendMsgJob {
|
|
|
break;
|
|
|
case "tag":
|
|
|
String tagName = staffConfig.getString("tagName");
|
|
|
- list = videoApiService.getTagVideoList(tagName, sentVideoIds, pageNum, pageSize);
|
|
|
+ list = videoApiService.getTagVideoList(tagName, roomId, sentVideoIds, pageNum, pageSize);
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
|
break;
|
|
|
}
|