wang jun 1 年之前
父節點
當前提交
0de0ef2801
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/common/server/SouhuanAnalysis.php

+ 2 - 2
application/common/server/SouhuanAnalysis.php

@@ -73,8 +73,8 @@ class SouhuanAnalysis
             $time = date('Y-m-d H:i:s');
             $shupdateData = ['receive_time' => $time];
             $shupdateWhere = ['facility_id' => $fid];
-            $m_f = new FacilityModel();
-            $row = $m_f->updateinfo($shupdateWhere, $shupdateData);
+            $m_sh = new ShinfoModel();
+            $row = $m_sh->updateinfo($shupdateWhere, $shupdateData);
             if (empty($row)) {
                 $errmsg = '设备:' . $device_id_code . " receive_time 修改失败";
                 Log::write($errmsg, 'shouhuan');