feat: 大屏新增虚拟工位滚动栏与多订单轮播,附件表增加删除原因及彻底清除留痕字段
This commit is contained in:
@@ -27,6 +27,9 @@ var (
|
||||
{Name: "deleted", Type: field.TypeBool, Comment: "逻辑删除标记", Default: false},
|
||||
{Name: "deleted_at", Type: field.TypeInt64, Nullable: true, Comment: "删除时间(unix秒)"},
|
||||
{Name: "deleted_by", Type: field.TypeString, Nullable: true, Comment: "删除人"},
|
||||
{Name: "deleted_reason", Type: field.TypeString, Nullable: true, Comment: "删除说明(删除弹窗填写,警示留痕)"},
|
||||
{Name: "purged_at", Type: field.TypeInt64, Nullable: true, Comment: "彻底清除时间(unix秒,仅删文件留索引)"},
|
||||
{Name: "purged_by", Type: field.TypeString, Nullable: true, Comment: "彻底清除操作人"},
|
||||
{Name: "created_at", Type: field.TypeInt64},
|
||||
}
|
||||
// AttachmentsTable holds the schema information for the "attachments" table.
|
||||
@@ -54,7 +57,7 @@ var (
|
||||
{
|
||||
Name: "attachment_created_at",
|
||||
Unique: false,
|
||||
Columns: []*schema.Column{AttachmentsColumns[16]},
|
||||
Columns: []*schema.Column{AttachmentsColumns[19]},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -67,10 +70,12 @@ var (
|
||||
{Name: "backup_path", Type: field.TypeString, Comment: "备份包(zip)在目标盘的完整路径"},
|
||||
{Name: "total_size", Type: field.TypeInt64, Comment: "备份包总字节数", Default: 0},
|
||||
{Name: "items_json", Type: field.TypeString, Comment: "各数据项及大小(JSON数组:[{name,rows,bytes}])"},
|
||||
{Name: "status", Type: field.TypeString, Size: 16, Comment: "success/failed/partial", Default: "success"},
|
||||
{Name: "status", Type: field.TypeString, Size: 16, Comment: "success/failed/partial/cleanup/cleanup_forced", Default: "success"},
|
||||
{Name: "operator", Type: field.TypeString, Size: 64, Comment: "操作人", Default: ""},
|
||||
{Name: "checksum", Type: field.TypeString, Size: 64, Comment: "备份包校验和(sha256,基于 manifest)", Default: ""},
|
||||
{Name: "scope", Type: field.TypeString, Size: 8, Comment: "写入方 mes/wms", Default: "wms"},
|
||||
{Name: "ack_name", Type: field.TypeString, Size: 64, Comment: "强制清理时填写姓名(警示留痕,非强制清理为空)", Default: ""},
|
||||
{Name: "ack_phone", Type: field.TypeString, Size: 32, Comment: "强制清理时填写手机号(警示留痕,非强制清理为空)", Default: ""},
|
||||
}
|
||||
// BackupRecordTable holds the schema information for the "backup_record" table.
|
||||
BackupRecordTable = &schema.Table{
|
||||
|
||||
Reference in New Issue
Block a user