feat[订单支付回调模块,排队模块]:订单查询素材列表,设备执行自动触发等

This commit is contained in:
2025-01-18 19:05:51 +08:00
parent 59d28e53f8
commit 9960a696b4
76 changed files with 1147 additions and 363 deletions
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.central.order.mapper.QrCodeMapper">
<select id="findList" resultType="com.central.order.model.QrCode">
select * from qrcodes t
</select>
<resultMap id="QrCodeResultMap" type="com.central.order.model.QrCode">
</resultMap>
<select id="getByCodeId" resultMap="QrCodeResultMap">
SELECT * FROM qrcodes WHERE code_id = #{codeId}
</select>
<insert id="insertQrCode">
INSERT INTO qrcodes (code_id, tourism_id, device_sn)
VALUES (#{codeId}, #{tourismId}, #{deviceSn})
</insert>
</mapper>