; Please enter a commit message to explain why this merge is necessary,
; especially if it merges an updated upstream into a topic branch.
;
; Lines starting with ';' will be ignored, and an empty message aborts
; the commit.
This commit is contained in:
leeheejin
2026-01-13 15:43:24 +09:00
6 changed files with 200 additions and 24 deletions

View File

@@ -5020,6 +5020,12 @@ export class ButtonActionExecutor {
masterDetailRelation = relationResponse.data;
// 버튼 설정에서 채번 규칙 등 추가 설정 가져오기
// 업로드 후 제어: excelAfterUploadFlows를 우선 사용 (통합된 설정)
// masterDetailExcel.afterUploadFlows는 레거시 호환성을 위해 fallback으로만 사용
const afterUploadFlows = config.excelAfterUploadFlows?.length > 0
? config.excelAfterUploadFlows
: config.masterDetailExcel?.afterUploadFlows;
if (config.masterDetailExcel) {
masterDetailExcelConfig = {
...config.masterDetailExcel,
@@ -5030,8 +5036,8 @@ export class ButtonActionExecutor {
detailFkColumn: relationResponse.data.detailFkColumn,
// 채번 규칙 ID 추가 (excelNumberingRuleId를 numberingRuleId로 매핑)
numberingRuleId: config.masterDetailExcel.numberingRuleId || config.excelNumberingRuleId,
// 업로드 후 제어 설정 추가
afterUploadFlows: config.masterDetailExcel.afterUploadFlows || config.excelAfterUploadFlows,
// 업로드 후 제어 설정 (통합: excelAfterUploadFlows 우선)
afterUploadFlows,
};
} else {
// 버튼 설정이 없으면 분할 패널 정보만 사용
@@ -5043,8 +5049,8 @@ export class ButtonActionExecutor {
simpleMode: true, // 기본값으로 간단 모드 사용
// 채번 규칙 ID 추가 (excelNumberingRuleId 사용)
numberingRuleId: config.excelNumberingRuleId,
// 업로드 후 제어 설정 추가
afterUploadFlows: config.excelAfterUploadFlows,
// 업로드 후 제어 설정 (통합: excelAfterUploadFlows 우선)
afterUploadFlows,
};
}