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