WebLinuxStudy

导航

 

status字段按着1,0,2,3排序
orderByRaw("FIELD(status, " . implode(", ", [1, 0, 2, 3]) . ")")

 

posted on 2022-09-20 14:41  WebLinuxStudy  阅读(716)  评论(0)    收藏  举报