Prechádzať zdrojové kódy

优化委托编号时间跨度

huangsanjia 2 rokov pred
rodič
commit
b0f144de12
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      application/admin/controller/Entrust.php

+ 1 - 1
application/admin/controller/Entrust.php

@@ -755,7 +755,7 @@ class Entrust extends Backend
             $this->error('参数错误');
         }
         $beginTime = date('Y-m-d 00:00:00');
-        $endTime = date('Y-m-d 24:00:00');
+        $endTime = date('Y-m-d 23:59:59');
         $num = Db::name('entrust')->where('sample_no','like','%'.$params.'%')->where('create','between',[$beginTime,$endTime])->count();
 //        if ($company == '亚欣'){//亚欣送样从100开始
 //            $num = $num+100;