Merge branch 'ksh'

This commit is contained in:
SeongHyun Kim
2025-12-12 09:15:26 +09:00
14 changed files with 2902 additions and 2196 deletions

View File

@@ -898,9 +898,10 @@ class NumberingRuleService {
switch (part.partType) {
case "sequence": {
// 순번 (현재 순번으로 미리보기, 증가 안 함)
// 순번 (다음 할당될 순번으로 미리보기, 실제 증가는 allocate 시)
const length = autoConfig.sequenceLength || 3;
return String(rule.currentSequence || 1).padStart(length, "0");
const nextSequence = (rule.currentSequence || 0) + 1;
return String(nextSequence).padStart(length, "0");
}
case "number": {