diff --git a/ruoyi-admin/src/main/resources/mapper/AssetTaskDao.xml b/ruoyi-admin/src/main/resources/mapper/AssetTaskDao.xml index 92dc225..5bf7eb3 100644 --- a/ruoyi-admin/src/main/resources/mapper/AssetTaskDao.xml +++ b/ruoyi-admin/src/main/resources/mapper/AssetTaskDao.xml @@ -234,13 +234,7 @@ and b.xtlx = #{req.xtlx} - ORDER BY - CASE - - WHEN b.STATUS = 1 THEN - 0 ELSE 1 - END, - b.STATUS ASC + order by FIELD(status,1,0,3,4,5)