处理可能出现的异常

main
yanzai 2 months ago
parent dc89ec26df
commit d05b264fb4

@ -279,7 +279,7 @@ class OrderController extends Controller
$OrderList = DB::table('orders');
$OrderList=$OrderList
->select('id', 'source','title','person_id','checkup_type_id','status','sex', 'name','appointment_number','appointment_date as date', 'appointment_time as time',
->select('id', 'source','title','person_id','checkup_type_id','status','hunjian_status','sex', 'name','appointment_number','appointment_date as date', 'appointment_time as time',
DB::raw("CASE WHEN type = 1 THEN '个检' WHEN type = 2 THEN '团检' ELSE 'unknown' END as type"),
'plan_number','price', 'true_price', 'pay_time', 'refund_time', 'hospital_id','doctor','created_at');

Loading…
Cancel
Save