|
@@ -227,7 +227,7 @@ class Application extends Base
|
|
|
return json_encode(['status'=>'fail','code'=>'1120','msg'=>'每个医院同一个检查只能申请一次']);
|
|
|
}
|
|
|
//不等于9 代表
|
|
|
- $a_info = DB::table('remote_application')->where($where)->where('exam_id',$param['id'])->where('report_status','not in','12,5,9')->find();
|
|
|
+ $a_info = DB::table('remote_application')->where($where)->where('exam_id',$param['id'])->where('report_status','not in',',12,5,9')->find();
|
|
|
if($a_info){
|
|
|
return json_encode(['status'=>'fail','code'=>'1120','msg'=>'该申请目标医院存在未完成报告,只有报告完成后才能再次发起申请']);
|
|
|
}
|