订单创建时间排序

main
cheney 11 months ago
parent 3558067fd1
commit 1d6a6ca20f
  1. 4
      nakadai/src/main/java/com/huoran/nakadai/mapper/xml/OrderMapper.xml

@ -418,7 +418,7 @@
GROUP BY GROUP BY
o.order_id o.order_id
ORDER BY ORDER BY
o.update_time DESC o.create_time DESC
</select> </select>
<select id="listOrdersByUserId" resultType="com.huoran.nakadai.entity.model.Order"> <select id="listOrdersByUserId" resultType="com.huoran.nakadai.entity.model.Order">
SELECT SELECT
@ -476,7 +476,7 @@
GROUP BY GROUP BY
o.order_id o.order_id
ORDER BY ORDER BY
o.update_time DESC o.create_time DESC
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save