Browse Source

欢迎语剧集更新

houxiaohua 2 years ago
parent
commit
8a6cb95311
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/WelcomeMsgPlayletGroupUpdate.php

+ 1 - 1
app/Console/Commands/WelcomeMsgPlayletGroupUpdate.php

@@ -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) {