Browse Source

当班产量明细显示

qiuenguang 1 year ago
parent
commit
b1455cdf46
1 changed files with 1 additions and 6 deletions
  1. 1 6
      application/api/controller/Facility.php

+ 1 - 6
application/api/controller/Facility.php

@@ -503,12 +503,7 @@ class Facility extends Api
         if (empty($machine) || empty($workOrder) || empty($team)){
             $this->success('');
         }
-        $newTime = date('Y-m-d H:i:s',time());
-        if ($newTime < date('Y-m-d 08:30:00')) {
-            $sczlTime = date('Y-m-d 00:00:00', time() - 86400);
-        }else{
-            $sczlTime = date('Y-m-d 00:00:00');
-        }
+        $sczlTime = date('Y-m-d 00:00:00',time());
         $name = \db('工单_基本资料')->where('Gd_gdbh',$workOrder)->field('rtrim(Gd_cpmc) as productName')->find();
         $where = [
             'sczl_gdbh' => $workOrder,