feat: 大屏改为纯流式自适应布局,新增KPI带与产线动态拓扑地图
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"bj_power_mes/ent/alertrule"
|
||||
"bj_power_mes/ent/associationtrace"
|
||||
"bj_power_mes/ent/attachment"
|
||||
"bj_power_mes/ent/backuprecord"
|
||||
"bj_power_mes/ent/callpool"
|
||||
"bj_power_mes/ent/dailyplan"
|
||||
"bj_power_mes/ent/dock"
|
||||
@@ -348,6 +349,44 @@ func init() {
|
||||
attachmentDescID := attachmentFields[0].Descriptor()
|
||||
// attachment.IDValidator is a validator for the "id" field. It is called by the builders before save.
|
||||
attachment.IDValidator = attachmentDescID.Validators[0].(func(int) error)
|
||||
backuprecordFields := schema.BackupRecord{}.Fields()
|
||||
_ = backuprecordFields
|
||||
// backuprecordDescExecutedAt is the schema descriptor for executedAt field.
|
||||
backuprecordDescExecutedAt := backuprecordFields[1].Descriptor()
|
||||
// backuprecord.DefaultExecutedAt holds the default value on creation for the executedAt field.
|
||||
backuprecord.DefaultExecutedAt = backuprecordDescExecutedAt.Default.(func() int64)
|
||||
// backuprecordDescTotalSize is the schema descriptor for totalSize field.
|
||||
backuprecordDescTotalSize := backuprecordFields[5].Descriptor()
|
||||
// backuprecord.DefaultTotalSize holds the default value on creation for the totalSize field.
|
||||
backuprecord.DefaultTotalSize = backuprecordDescTotalSize.Default.(int64)
|
||||
// backuprecordDescStatus is the schema descriptor for status field.
|
||||
backuprecordDescStatus := backuprecordFields[7].Descriptor()
|
||||
// backuprecord.DefaultStatus holds the default value on creation for the status field.
|
||||
backuprecord.DefaultStatus = backuprecordDescStatus.Default.(string)
|
||||
// backuprecord.StatusValidator is a validator for the "status" field. It is called by the builders before save.
|
||||
backuprecord.StatusValidator = backuprecordDescStatus.Validators[0].(func(string) error)
|
||||
// backuprecordDescOperator is the schema descriptor for operator field.
|
||||
backuprecordDescOperator := backuprecordFields[8].Descriptor()
|
||||
// backuprecord.DefaultOperator holds the default value on creation for the operator field.
|
||||
backuprecord.DefaultOperator = backuprecordDescOperator.Default.(string)
|
||||
// backuprecord.OperatorValidator is a validator for the "operator" field. It is called by the builders before save.
|
||||
backuprecord.OperatorValidator = backuprecordDescOperator.Validators[0].(func(string) error)
|
||||
// backuprecordDescChecksum is the schema descriptor for checksum field.
|
||||
backuprecordDescChecksum := backuprecordFields[9].Descriptor()
|
||||
// backuprecord.DefaultChecksum holds the default value on creation for the checksum field.
|
||||
backuprecord.DefaultChecksum = backuprecordDescChecksum.Default.(string)
|
||||
// backuprecord.ChecksumValidator is a validator for the "checksum" field. It is called by the builders before save.
|
||||
backuprecord.ChecksumValidator = backuprecordDescChecksum.Validators[0].(func(string) error)
|
||||
// backuprecordDescScope is the schema descriptor for scope field.
|
||||
backuprecordDescScope := backuprecordFields[10].Descriptor()
|
||||
// backuprecord.DefaultScope holds the default value on creation for the scope field.
|
||||
backuprecord.DefaultScope = backuprecordDescScope.Default.(string)
|
||||
// backuprecord.ScopeValidator is a validator for the "scope" field. It is called by the builders before save.
|
||||
backuprecord.ScopeValidator = backuprecordDescScope.Validators[0].(func(string) error)
|
||||
// backuprecordDescID is the schema descriptor for id field.
|
||||
backuprecordDescID := backuprecordFields[0].Descriptor()
|
||||
// backuprecord.IDValidator is a validator for the "id" field. It is called by the builders before save.
|
||||
backuprecord.IDValidator = backuprecordDescID.Validators[0].(func(int) error)
|
||||
callpoolFields := schema.CallPool{}.Fields()
|
||||
_ = callpoolFields
|
||||
// callpoolDescMaterialCode is the schema descriptor for materialCode field.
|
||||
|
||||
Reference in New Issue
Block a user