|
@@ -1304,7 +1304,7 @@ class RecruitController extends Controller
|
|
|
return response()->json(['status' => 0, 'msg' => '请输入审核原因!'], '200');
|
|
|
}
|
|
|
if($status == -1){
|
|
|
- $info = RecruitSupplement::where('appoint_id', $ids)->first();
|
|
|
+ $info = RecruitSupplement::where('appoint_id', $ids)->where('type','supplement')->first();
|
|
|
$appointinfo = RecruitAppointInfo::where('id', $ids)->first();
|
|
|
//写日志
|
|
|
$log = [
|
|
@@ -1324,7 +1324,7 @@ class RecruitController extends Controller
|
|
|
}
|
|
|
if($status == 1){
|
|
|
$reason = $reason ?? '符合报考条件';
|
|
|
- $info = RecruitSupplement::where('appoint_id', $ids)->first();
|
|
|
+ $info = RecruitSupplement::where('appoint_id', $ids)->where('type','supplement')->first();
|
|
|
$appointinfo = RecruitAppointInfo::where('id', $ids)->first();
|
|
|
//写日志
|
|
|
$log = [
|