caixiaofeng 6 ماه پیش
والد
کامیت
79c0605a1a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      flow-app/src/main/resources/mapper/workflow/FlowInstanceDao.xml

+ 2 - 2
flow-app/src/main/resources/mapper/workflow/FlowInstanceDao.xml

@@ -61,7 +61,7 @@
             <include refid="instanceWheres"></include>
         </where>
         ORDER BY
-        RE.id DESC
+        HP.START_TIME_ DESC
     </select>
     <select id="copy" resultMap="BaseResultMap">
         <include refid="instanceColumns"></include>
@@ -73,7 +73,7 @@
             <include refid="instanceWheres"></include>
         </where>
         ORDER BY
-        RE.id DESC
+        HP.START_TIME_ DESC
     </select>
     <select id="getInstance" resultMap="BaseResultMap">
         <include refid="instanceColumns"></include>