Procházet zdrojové kódy

前台标段上报时间显示问题

上报方法中intime字段未加入
NoNZero před 10 roky
rodič
revize
74935a87cb
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      protected/class/numofperact.php

+ 2 - 1
protected/class/numofperact.php

@@ -28,7 +28,8 @@ class NumofperAct {
         $this->__numofperact->currdone = $currdone;
         $this->__numofperact->curralltotal = $curralltotal;
         $this->__numofperact->currstatus = 'checking';
-        $this->__numofperact->audittime = time();
+        $this->__numofperact->audittime = 0;
+        $this->__numofperact->intime = time();
         return $this->__numofperact->insert();
     }