|
@@ -2802,6 +2802,7 @@ class RecruitController extends Controller
|
|
|
*/
|
|
|
public function seat_sticker(Content $content, Request $request){
|
|
|
$recruit_id = $request->id;
|
|
|
+
|
|
|
$list = RecruitAppointInfo::where(['recruit_appoint_info.recruit_id' => $recruit_id,'recruit_appoint_info.audit' => 3, 'recruit_ticket.ex_type' => 1])
|
|
|
->join('recruit_ticket', 'recruit_ticket.appoint_id', '=', 'recruit_appoint_info.id','left')
|
|
|
->select('recruit_appoint_info.*','recruit_ticket.*')
|
|
@@ -2815,7 +2816,7 @@ class RecruitController extends Controller
|
|
|
$data[$place] = [];
|
|
|
}
|
|
|
|
|
|
- $room = $v->ex_room == null ? 'empty' : $v->ex_room;
|
|
|
+ $room = $v->ex_room == null ? '' : $v->ex_room;
|
|
|
if(!array_key_exists($room,$data[$place])){
|
|
|
$data[$place][$room] = [];
|
|
|
}
|