채번 자동생성기능
This commit is contained in:
@@ -207,11 +207,12 @@ export class AutoGenerationUtils {
|
||||
* 자동생성 타입별 설명 가져오기
|
||||
*/
|
||||
static getTypeDescription(type: AutoGenerationType): string {
|
||||
const descriptions: Record<AutoGenerationType, string> = {
|
||||
const descriptions: Record<string, string> = {
|
||||
uuid: "고유 식별자 (UUID) 생성",
|
||||
current_user: "현재 로그인한 사용자 ID",
|
||||
current_time: "현재 날짜/시간",
|
||||
sequence: "순차적 번호 생성",
|
||||
numbering_rule: "채번 규칙 기반 코드 생성",
|
||||
random_string: "랜덤 문자열 생성",
|
||||
random_number: "랜덤 숫자 생성",
|
||||
company_code: "현재 회사 코드",
|
||||
@@ -246,6 +247,9 @@ export class AutoGenerationUtils {
|
||||
case "sequence":
|
||||
return `${options.prefix || ""}1${options.suffix || ""}`;
|
||||
|
||||
case "numbering_rule":
|
||||
return "CODE-20251104-001"; // 채번 규칙 미리보기
|
||||
|
||||
case "random_string":
|
||||
return `${options.prefix || ""}ABC123${options.suffix || ""}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user