feat: 完成产线与仓储系统多模块迭代升级
本次迭代覆盖MES与WMS核心业务: 1. 新增接驳台托盘传感器读取与AGV对接能力 2. 完善工单排产、备料流程与权限体系拆分 3. 优化看板接口与前端路由、样式 4. 新增操作日志、库存盘点与角色保护逻辑 5. 修复代理地址、BOM保存等已知问题
This commit is contained in:
@@ -142,23 +142,23 @@ func init() {
|
||||
// dailyplan.DefaultCompletedQty holds the default value on creation for the completedQty field.
|
||||
dailyplan.DefaultCompletedQty = dailyplanDescCompletedQty.Default.(int)
|
||||
// dailyplanDescStatus is the schema descriptor for status field.
|
||||
dailyplanDescStatus := dailyplanFields[5].Descriptor()
|
||||
dailyplanDescStatus := dailyplanFields[6].Descriptor()
|
||||
// dailyplan.DefaultStatus holds the default value on creation for the status field.
|
||||
dailyplan.DefaultStatus = dailyplanDescStatus.Default.(string)
|
||||
// dailyplan.StatusValidator is a validator for the "status" field. It is called by the builders before save.
|
||||
dailyplan.StatusValidator = dailyplanDescStatus.Validators[0].(func(string) error)
|
||||
// dailyplanDescOperator is the schema descriptor for operator field.
|
||||
dailyplanDescOperator := dailyplanFields[6].Descriptor()
|
||||
dailyplanDescOperator := dailyplanFields[7].Descriptor()
|
||||
// dailyplan.DefaultOperator holds the default value on creation for the operator field.
|
||||
dailyplan.DefaultOperator = dailyplanDescOperator.Default.(string)
|
||||
// dailyplan.OperatorValidator is a validator for the "operator" field. It is called by the builders before save.
|
||||
dailyplan.OperatorValidator = dailyplanDescOperator.Validators[0].(func(string) error)
|
||||
// dailyplanDescCreatedAt is the schema descriptor for createdAt field.
|
||||
dailyplanDescCreatedAt := dailyplanFields[7].Descriptor()
|
||||
dailyplanDescCreatedAt := dailyplanFields[8].Descriptor()
|
||||
// dailyplan.DefaultCreatedAt holds the default value on creation for the createdAt field.
|
||||
dailyplan.DefaultCreatedAt = dailyplanDescCreatedAt.Default.(func() time.Time)
|
||||
// dailyplanDescUpdatedAt is the schema descriptor for updatedAt field.
|
||||
dailyplanDescUpdatedAt := dailyplanFields[8].Descriptor()
|
||||
dailyplanDescUpdatedAt := dailyplanFields[9].Descriptor()
|
||||
// dailyplan.DefaultUpdatedAt holds the default value on creation for the updatedAt field.
|
||||
dailyplan.DefaultUpdatedAt = dailyplanDescUpdatedAt.Default.(func() time.Time)
|
||||
// dailyplan.UpdateDefaultUpdatedAt holds the default value on update for the updatedAt field.
|
||||
|
||||
Reference in New Issue
Block a user