Scenic-area ticketing
Longqingxia
I reconciled ticket counts, supplier cancellations and WeChat refunds separately so visitors could refund part of a booking and still enter with the original code.
22 → 1 HTTP requests to load a page of 20 historical orders in a regression case.
Java 21 / Spring Boot / MySQL
Can visitors still use their ticket code after a partial refund?
A request to refund one ticket locks that ticket. The service checks how many tickets the supplier cancelled and how much WeChat returned. Gate redemptions are recorded separately. In a three-ticket booking, refunding one leaves the other two valid on the same code.
Full-stack development internship at Beijing Fei’erdisi
System design
The visitor Mini Program and operations dashboard share a Spring Boot service. MyBatis and MySQL persist order snapshots, ticket records, payment attempts and refunds.
- Freeze order
- Confirm payment
- Issue tickets
- Refund by quantity
Implementation
- Server-side WeChat Pay confirmation triggers supplier issuance. A persistent outbox, idempotency keys and manual reconciliation handle timeouts and duplicate callbacks.
- A partial refund locks the requested quantity and checks redemption events, supplier balances and original amounts while keeping the remaining tickets usable.
- Historical names, rules and images come from order snapshots. A 20-order regression case went from 22 HTTP requests to one batch summary.
Delivery record Manual acceptance records from October 2026 cover payment, issuance, gate callbacks, and settlement of full and partial refunds. Final product information and public release of the rebuild were still pending.