perf: 优化代码生成功能

This commit is contained in:
insistence
2025-02-17 17:43:29 +08:00
parent 25e2a1e931
commit 2b474ddb35
11 changed files with 238 additions and 82 deletions

View File

@@ -98,6 +98,11 @@ class GenUtils:
# 内容字段设置富文本控件
elif column_name.lower().endswith('content'):
column.html_type = GenConstant.HTML_EDITOR
column.create_by = table.create_by
column.create_time = datetime.now()
column.update_by = table.update_by
column.update_time = datetime.now()
@classmethod
def arrays_contains(cls, arr: List[str], target_value: str) -> bool: