From 96b296a4b67ced269cb19cd8ed56ef3d12196092 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 29 Oct 2020 14:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=AF=94=E4=BE=8B=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Model/CompanyGameRatioModel.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Application/Admin/Model/CompanyGameRatioModel.class.php b/Application/Admin/Model/CompanyGameRatioModel.class.php index 793ddd335..6c96925a0 100644 --- a/Application/Admin/Model/CompanyGameRatioModel.class.php +++ b/Application/Admin/Model/CompanyGameRatioModel.class.php @@ -47,6 +47,11 @@ class CompanyGameRatioModel extends Model ]; $res = $this->where($map)->order("begin_time asc")->select(); $data = []; + if(empty($res)){ + $this->getGameMouldRadio($data,$game_id,$company_belong,$begintime,$endtime); + return $data; + } + foreach ($res as $ke => $va) { if($va['begin_time'] <= $begintime){ //