|
|
@@ -223,7 +223,7 @@ class OrderIssueService
|
|
|
|
|
|
public function isExistOrderIssueTypeIsEnd($ids): bool
|
|
|
{
|
|
|
- return OrderIssue::query()->whereIn('id', $ids)->where('final_status', '已解决')->count() > 0;
|
|
|
+ return OrderIssueProcessLog::query()->whereIn('order_issue_id',$ids)->where('type','结束')->exists();
|
|
|
}
|
|
|
|
|
|
public function editOrderIssueSecondClientNo($id, $secondClientNo, &$order = null): bool
|