|
|
@@ -23,7 +23,7 @@ class LiveOrderController extends BaseController
|
|
|
if (!empty($has)) {
|
|
|
util::fail('已经在转换了');
|
|
|
}
|
|
|
- $list = LiveOrderClass::getAllByCondition(['mainId' => $mainId,'switchOrder'=>0], null, '*', null, true);
|
|
|
+ $list = LiveOrderClass::getAllByCondition(['mainId' => $mainId, 'switchOrder' => 0], null, '*', null, true);
|
|
|
if (empty($list)) {
|
|
|
util::fail('没有记录需要转换');
|
|
|
}
|
|
|
@@ -253,6 +253,9 @@ class LiveOrderController extends BaseController
|
|
|
$currentName = $liveCustom['customName'] ?? '';
|
|
|
$num = $liveCustom['num'] ?? '';
|
|
|
$customInfo = $customList[$customId] ?? [];
|
|
|
+ if (isset($customInfo['seatSnName']) && !empty($customInfo['seatSnName'])) {
|
|
|
+ $currentName = $customInfo['seatSnName'];
|
|
|
+ }
|
|
|
$seatSn = $customInfo['seatSn'] ?? '';
|
|
|
$table[] = [
|
|
|
'name' => $currentName,
|