|
...
|
...
|
@@ -12,6 +12,7 @@ use App\Models\Inquiry\InquiryInfo; |
|
|
|
use App\Models\Inquiry\InquiryProject;
|
|
|
|
use App\Models\Inquiry\InquiryProjectRoute;
|
|
|
|
use App\Models\Inquiry\InquiryRelayDetail;
|
|
|
|
use App\Models\Inquiry\InquiryRelayDetailLog;
|
|
|
|
use Illuminate\Support\Arr;
|
|
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
use Illuminate\Support\Str;
|
|
...
|
...
|
@@ -385,4 +386,23 @@ class InquiryForwardLogic extends BaseLogic |
|
|
|
$lists = $model->listsWith($map, $page, $row, $order, $filed, 'desc', ['detailLog']);
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 停止转发
|
|
|
|
* @return array
|
|
|
|
* @throws \App\Exceptions\AsideGlobalException
|
|
|
|
* @throws \App\Exceptions\BsideGlobalException
|
|
|
|
* @author Akun
|
|
|
|
* @date 2025/03/10 11:00
|
|
|
|
*/
|
|
|
|
public function stopInquiry()
|
|
|
|
{
|
|
|
|
$model = new InquiryRelayDetailLog();
|
|
|
|
$rs = $model->edit(['status' => InquiryRelayDetailLog::STATUS_STOP], ['detail_id' => $this->param['id']]);
|
|
|
|
|
|
|
|
if ($rs === false) {
|
|
|
|
$this->fail('设置失败');
|
|
|
|
}
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|