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');