From 51a0557cddf7d453090bce6aff499ad2511faf3d Mon Sep 17 00:00:00 2001 From: yaooo <272523191@qq.com> Date: Tue, 19 Dec 2023 16:25:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/adminapi/lists/bid/BidBiddingDecisionLists.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/adminapi/lists/bid/BidBiddingDecisionLists.php b/app/adminapi/lists/bid/BidBiddingDecisionLists.php index 80a71b8f6..07a8649b2 100644 --- a/app/adminapi/lists/bid/BidBiddingDecisionLists.php +++ b/app/adminapi/lists/bid/BidBiddingDecisionLists.php @@ -59,7 +59,8 @@ class BidBiddingDecisionLists extends BaseAdminDataLists implements ListsSearchI ->where($this->searchWhere) ->whereNull('bbd.delete_time') ->leftJoin('project p','p.id = bbd.project_id') - ->field('bbd.*, p.name as project_name, p.project_code') + ->leftJoin('custom ct','ct.id = p.custom_id') + ->field('bbd.*, p.custom_id, p.name as project_name, p.project_code, ct.name as custom_name') ->limit($this->limitOffset, $this->limitLength) ->order(['bbd.id' => 'desc']) ->select()->each(function($item, $key){