caixiaofeng 6 hónapja
szülő
commit
79c0605a1a

+ 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>