작업계획서대로 진행

This commit is contained in:
2026-01-11 01:29:46 +09:00
parent 1b8cd8577e
commit 01bd66d524
51 changed files with 11124 additions and 273 deletions

View File

@@ -11,6 +11,7 @@ interface UpdateProjectBody {
endDate?: string
contractAmount?: number
projectStatus?: string
businessId?: number | null
}
/**
@@ -46,10 +47,11 @@ export default defineEventHandler(async (event) => {
end_date = $6,
contract_amount = $7,
project_status = $8,
business_id = $9,
updated_at = NOW(),
updated_ip = $9,
updated_email = $10
WHERE project_id = $11
updated_ip = $10,
updated_email = $11
WHERE project_id = $12
`, [
body.projectName ?? existing.project_name,
body.projectType ?? existing.project_type ?? 'SI',
@@ -59,6 +61,7 @@ export default defineEventHandler(async (event) => {
body.endDate ?? existing.end_date,
body.contractAmount ?? existing.contract_amount,
body.projectStatus ?? existing.project_status,
body.businessId !== undefined ? body.businessId : existing.business_id,
clientIp,
userEmail,
projectId