这家伙有点懒,还没写个性签名!
orderBy(new \yii\db\Expression('case when id in (1, 3) then 1 else 0 end'));
好,用另外的方案进行了,我试试这个