fix[订单模块]:排队,oss路径,自动任务,订单状态等逻辑

This commit is contained in:
2025-01-25 13:21:29 +08:00
parent f57ee5edc6
commit 39a7eb0580
26 changed files with 266 additions and 46 deletions
@@ -4,10 +4,10 @@ server:
spring:
application:
name: order-center
# cloud:
# nacos:
# discovery:
# ip: 119.45.169.13
cloud:
nacos:
discovery:
ip: 119.45.169.13
# cloud:
# nacos:
# discovery:
@@ -34,7 +34,7 @@
</update>
<!-- 查询所有处于排队状态的订单 -->
<select id="getOrdersInQueue" resultType="com.central.order.model.Order">
SELECT * FROM orders WHERE order_status = 1
SELECT * FROM orders WHERE order_status = 1 order by id asc
</select>
<!-- 根据店铺编号和创建时间(当天)查询订单数量 -->