Public Facility Reservations: Payment and Data Integrity
Improved application states, refunds, revenue aggregation, and supporting-document handling in a shared platform for parking passes, classes, and facility reservations.
Verified contribution window: Jul. - Sep. 2026
Role and scope
Backend and administration maintenance within a company team. These cases describe my verified changes, not sole ownership of the entire service.
A company-team contribution that strengthened server-side refund guards, narrow update paths, and aggregate calculations. No operational performance metric is disclosed.
Workflow
- 1. Application and state
- 2. Payment and refund
- 3. Reporting and cleanup
Key decisions
A shared boundary for refunds and cancellations
Added checks that lock the target record and revalidate existing refund requests, application state, and refundable amounts. Applied transaction rules to the relevant service methods and added rejection paths for duplicate requests.
Narrow updates to protect unrelated data
Separated vehicle edits into a dedicated service and SQL path so payment fields are not overwritten by that operation. Also added capacity checks before assignment confirmation.
Aggregation and document lifecycle
Aligned tax and net-amount calculations with aggregated payments and refunds. Connected document and preview-file cleanup to successful state updates and attachment-reference checks.
- Verification
- Reviewed my Java service, MyBatis SQL, and administration changes and confirmed their presence on the default branch. Refund guards, vehicle-only updates, and aggregate calculations are supported by code changes.
- Limits
- Company tests and production deployments were not rerun during this review. No throughput improvement or incident-reduction percentage is claimed without measurement.
- Takeaway
- State checks and amount calculations need a consistent server-side boundary. Database updates and file deletion have different failure behavior and require separate follow-up checks.

