|
@@ -310,7 +310,7 @@ class Writereport extends Base
|
|
|
$log['id'] = UUIDs::uuid16();
|
|
|
$log['impression'] = isset($param['impression']) ? $param['impression'] : '';
|
|
|
$log['description'] = isset($param['description']) ? $param['description'] : '';
|
|
|
- $log['report_id'] = $id;
|
|
|
+ $log['report_id'] = $rid;
|
|
|
$log['createdAt'] = date('Y-m-d H:i:s',time());
|
|
|
$log['doctor_id'] = $doctor['id'];
|
|
|
$log['type'] = 1; //写报告
|
|
@@ -318,7 +318,7 @@ class Writereport extends Base
|
|
|
$report_log = DB::table('report_record')->insert($log);
|
|
|
log::record($report_log);
|
|
|
log::record('----日志写入成功----');
|
|
|
- $application = DB::table('remote_application')->where('exam_id',$id)->find();
|
|
|
+ $application = DB::table('remote_application')->where('exam_id',$param['id'])->find();
|
|
|
if($application['req_doctor_id'] == 'c44663d6d3c0b535'){
|
|
|
$tel = '18910184804';
|
|
|
$type = '保存报告';
|