|
@@ -129,6 +129,8 @@ class Index extends BaseController
|
|
|
$path = $_SERVER['DOCUMENT_ROOT'].$file_path.$rename.".".$ext;
|
|
|
$ins = ['type'=>$ext,'url'=>$path,'barcode'=>$barCode];
|
|
|
Db::table('annex')->insert($ins);
|
|
|
+ $patientId = Db::table('dianapiinfo')->where('Barcode',$barCode)->value('patientId');
|
|
|
+ Db::table('phy_lis_reports')->where('patientId',$patientId)->update(['is_report_url'=>1]);
|
|
|
return 'success';
|
|
|
}
|
|
|
}
|