Explorar o código

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

上报方法中intime字段未加入
NoNZero %!s(int64=10) %!d(string=hai) anos
pai
achega
74935a87cb
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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();
     }