回答編集履歴

1

修正

2023/04/17 13:43

投稿

phper.k
phper.k

スコア3923

test CHANGED
@@ -57,8 +57,8 @@
57
57
 
58
58
  Master::query()
59
59
  ->where([
60
- ['sort_order', '>=', $company->sort_order],
60
+ ['sort_order', '>=', $new_master->sort_order],
61
- ['id', '!=', $company->id]
61
+ ['id', '!=', $new_master->id]
62
62
  ])
63
63
  ->get()
64
64
  ->each(function (Master $master) {