|
@@ -1136,7 +1136,7 @@ class Writereport extends Base
|
|
|
$arr = array();
|
|
|
foreach ($rinfo as $k => $v) {
|
|
|
$remote_info = DB::table('remote_application')->where('id',$v['remote_application_id'])->find();
|
|
|
- Message::read($doctor['id'],$remote_info['remote_application_id'],4);
|
|
|
+ Message::read($doctor['id'],$remote_info['id'],4);
|
|
|
if($remote_info['report_status'] == 8 || $remote_info['report_status'] == 9){
|
|
|
$arr = $v;
|
|
|
$remote_did = DB::table('doctors')->where('id',$v['report_doctor_id'])->field('realname')->find();
|