fix(优惠券中心):新增用户查询优惠券逻辑接口,和用户核销优惠券逻辑

This commit is contained in:
2025-09-01 12:26:48 +08:00
parent 3175832c31
commit 20fa3ddd23
26 changed files with 2384 additions and 30 deletions
@@ -114,4 +114,32 @@
ORDER BY id ASC
</select>
<!-- 根据手机号查询乘客列表 -->
<select id="selectByPhone" resultType="com.central.coupon.entity.CtripPassenger">
SELECT
id,
order_id,
item_id,
passenger_id,
passenger_name,
passenger_type,
id_type,
id_number,
phone,
gender,
birth_date,
age_type,
nationality_code,
nationality_name,
remark,
create_time,
update_time,
create_by,
update_by,
tenant_id
FROM t_ctrip_passenger
WHERE phone = #{phone}
ORDER BY create_time DESC
</select>
</mapper>