|
@@ -61,7 +61,7 @@ class WelcomeMsgPlayletGroupUpdate extends Command
|
61
|
61
|
# step3:剧集组中的剧未发生变化则跳过,否则重新生成推广链接并更新mass_msg_link_record中的记录信息
|
62
|
62
|
DB::beginTransaction();
|
63
|
63
|
# 将不在剧集组的短剧状态更新为禁用
|
64
|
|
- MassMsgLinkRecord::where('playlet_group_id', $playletGroupId)->whereNotIn('playlet_id', $playletListNow)
|
|
64
|
+ MassMsgLinkRecord::where('playlet_group_id', $playletGroupId)->whereNotIn('playlet_id', $playletIdListNow)
|
65
|
65
|
->where('enable', 1)->where('msg_type', 2)->update(['enable' => 0]);
|
66
|
66
|
|
67
|
67
|
foreach ($playletListNow as $playletInfo) {
|