|
@@ -389,7 +389,7 @@ class Inspectregister extends Base
|
|
|
return json_encode(['status'=>'fail','code'=>'1130','msg'=>'已经检查完毕,不允许在此修改']);
|
|
|
}*/
|
|
|
//存在并且有值 则修改
|
|
|
- $patient = DB::table('patient_infos')->where('temp_patient_id',$pid['patient_id'])->update($patient_info);
|
|
|
+ $patient = DB::table('patient_infos')->where('id',$pid['patient_id'])->update($patient_info);
|
|
|
}else{
|
|
|
$p = DB::table('patient_infos')->where('temp_patient_id',$param['pnum'])->find();
|
|
|
if($p){
|