Thinkphp5.1 save循环更新同一张表的bug($this->origin)
问题简述:批量更新同一张表数据的状态,只有一条更新成功使用的model更新语句是:$pk = $this->pk;$this->isUpdate(true)->save(array_merge($data, [$pk => $id])) 控制器:$teacherAuditL = new TeacherAuditLogic();$teacherAuditL->infoAudit($sId, $data['audit'], $da