PSE 强化学习泛化实验复现指南:Jumping Task 上的对比行为相似性嵌入(Contrastive Behavioral Similarity Embeddings)
2026/9/21 19:47:24
数字某字段存在 中文和数字,后台排序 纯数字在前 中文再后
$data = $this->model ->orderRaw("CASE WHEN name REGEXP '^[0-9]+$' THEN 0 ELSE 1 END, CAST(name AS SIGNED) ASC, wifi_district ASC") ->select();name 为排序字段值