|
|
@@ -1919,8 +1919,8 @@ class OrderController extends BaseController
|
|
|
$id = $get['id'] ?? 0;
|
|
|
$info = CustomClass::getCustom($id);
|
|
|
CustomClass::valid($info, $this->shopId);
|
|
|
-
|
|
|
- $where = ['customId' => $id, 'debt' => 1];
|
|
|
+ $mainId = $this->mainId;
|
|
|
+ $where = ['mainId' => $mainId, 'customId' => $id, 'debt' => 1];
|
|
|
$searchTime = $get['searchTime'] ?? '';
|
|
|
if (!empty($searchTime)) {
|
|
|
$startTime = $get['startTime'] ?? '';
|