|
|
@@ -48,7 +48,7 @@ class ModifyController extends BaseController
|
|
|
if (!empty($data)) {
|
|
|
$arr = json_decode($data, true);
|
|
|
if (!empty($arr)) {
|
|
|
- $list = ModifyClass::getAllByCondition(['mainId' => $this->mainId], 'addTime asc', '*', null, true);
|
|
|
+ $list = ModifyClass::getAllByCondition(['mainId' => $this->mainId], 'inTurn asc,addTime asc', '*', null, true);
|
|
|
if (count($list) >= 15) {
|
|
|
if ($list[0]) {
|
|
|
$list[0]->delete();
|