36 lines
1.3 KiB
Markdown
36 lines
1.3 KiB
Markdown
|
|
# Pull Bank Info Date Limit Backend Implementation Plan
|
||
|
|
|
||
|
|
> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
|
||
|
|
|
||
|
|
**Goal:** Confirm the new date restriction is fully handled in the frontend and does not require backend changes.
|
||
|
|
|
||
|
|
**Architecture:** The allowed date window is enforced in the Vue dialog before the request is submitted. The backend request contract remains `projectId`, `idCards`, `startDate`, and `endDate`, so this plan records a no-op backend implementation boundary and the verification needed to avoid accidental API changes.
|
||
|
|
|
||
|
|
**Tech Stack:** Java 21, Spring Boot 3, Maven, existing `ccdi-project` upload APIs
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### Task 1: Verify backend impact is zero
|
||
|
|
|
||
|
|
**Files:**
|
||
|
|
- Review: `docs/plans/2026-03-12-pull-bank-info-date-limit-design.md`
|
||
|
|
- Review: `ccdi-project/src/main/java/com/ruoyi/ccdi/project/controller/`
|
||
|
|
- Review: `ccdi-project/src/main/java/com/ruoyi/ccdi/project/service/`
|
||
|
|
|
||
|
|
**Step 1: Confirm bug scope**
|
||
|
|
|
||
|
|
Check that the requirement only changes frontend date selection and frontend submit validation.
|
||
|
|
|
||
|
|
**Step 2: Verify request contract stays unchanged**
|
||
|
|
|
||
|
|
Confirm the request still submits the same fields:
|
||
|
|
|
||
|
|
- `projectId`
|
||
|
|
- `idCards`
|
||
|
|
- `startDate`
|
||
|
|
- `endDate`
|
||
|
|
|
||
|
|
**Step 3: Keep backend code unchanged**
|
||
|
|
|
||
|
|
Do not modify controller, service, mapper, DTO, or test classes for this task.
|