1ㅊㅏ완료

This commit is contained in:
2026-01-05 02:36:13 +09:00
parent c2f499037b
commit 615a221aa5
9 changed files with 600 additions and 252 deletions

View File

@@ -71,6 +71,12 @@ export default defineEventHandler(async (event) => {
params.push(q.year)
}
// 주차 필터 (단일)
if (q.week) {
conditions.push(`r.report_week = $${paramIndex++}`)
params.push(q.week)
}
// 주차 범위 필터
if (q.weekFrom) {
conditions.push(`r.report_week >= $${paramIndex++}`)