feat: ship OA drafts/badges, role dual-track, and test-env deploy tooling.
Add approval instance drafts with menu badges, dual-track user/role read model and role bound names, form-designer outline docs, and bare-metal test deploy scripts. Ignore local test-server credential file. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
7af53fc344
commit
de22678c87
56 files changed
+11861
-6082
No files matched your search
@@ -849,6 +849,30 @@ class OaReceiveAccount(Base):
|
||||
del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记")
|
||||
|
||||
|
||||
class OaInstanceDraft(Base):
|
||||
"""OA发起审批草稿 oa_instance_draft(非模板设计草稿)"""
|
||||
|
||||
__tablename__ = "oa_instance_draft"
|
||||
|
||||
id = Column(String(64), primary_key=True, comment="主键ID")
|
||||
app_id = Column(String(64), nullable=False, comment="应用ID")
|
||||
app_version_id = Column(String(64), nullable=False, comment="暂存时锁定的已发布版本ID")
|
||||
title = Column(String(200), nullable=True, comment="标题")
|
||||
form_data_json = Column(Text, nullable=True, comment="表单数据 JSON")
|
||||
initiator_select_json = Column(Text, nullable=True, comment="发起人自选 JSON")
|
||||
initiator_dept_id = Column(String(64), nullable=True, comment="发起人部门")
|
||||
owner_user_id = Column(String(64), nullable=False, comment="草稿所属人")
|
||||
tenant_no = Column(String(64), nullable=False, default="zkxw", comment="租户编号")
|
||||
order_num = Column(Integer, nullable=True, comment="排序号")
|
||||
remark = Column(String(512), nullable=True, comment="备注")
|
||||
create_by = Column(String(64), nullable=True, comment="创建人id")
|
||||
create_dept_id = Column(String(64), nullable=False, default="", comment="创建人部门ID")
|
||||
create_time = Column(DateTime, nullable=False, default=datetime.now, comment="创建时间")
|
||||
update_by = Column(String(64), nullable=True, comment="更新人id")
|
||||
update_time = Column(DateTime, nullable=False, default=datetime.now, onupdate=datetime.now, comment="更新时间")
|
||||
del_flag = Column(SmallInteger, nullable=False, default=0, comment="删除标记")
|
||||
|
||||
|
||||
class OaInstance(Base):
|
||||
"""OA审批实例 oa_instance"""
|
||||
|
||||
|
||||
Reference in new issue
Block a user