SELECT * from project where project_status=2 order by (case when task_progress=“招标” THEN 1 when task_progress=“等待确认” THEN 2 when task_progress=“工作中” THEN 3 else 4 END),pk_project_id desc
执行结果如下图所示: 本文转载自:https://blog.csdn.net/mm_ling/article/details/88691195