feat: 完成产线与仓储系统多模块迭代升级
本次迭代覆盖MES与WMS核心业务: 1. 新增接驳台托盘传感器读取与AGV对接能力 2. 完善工单排产、备料流程与权限体系拆分 3. 优化看板接口与前端路由、样式 4. 新增操作日志、库存盘点与角色保护逻辑 5. 修复代理地址、BOM保存等已知问题
This commit is contained in:
@@ -60,6 +60,12 @@ func (_c *DailyPlanCreate) SetNillableCompletedQty(v *int) *DailyPlanCreate {
|
||||
return _c
|
||||
}
|
||||
|
||||
// SetDockCodes sets the "dockCodes" field.
|
||||
func (_c *DailyPlanCreate) SetDockCodes(v []string) *DailyPlanCreate {
|
||||
_c.mutation.SetDockCodes(v)
|
||||
return _c
|
||||
}
|
||||
|
||||
// SetStatus sets the "status" field.
|
||||
func (_c *DailyPlanCreate) SetStatus(v string) *DailyPlanCreate {
|
||||
_c.mutation.SetStatus(v)
|
||||
@@ -279,6 +285,10 @@ func (_c *DailyPlanCreate) createSpec() (*DailyPlan, *sqlgraph.CreateSpec) {
|
||||
_spec.SetField(dailyplan.FieldCompletedQty, field.TypeInt, value)
|
||||
_node.CompletedQty = value
|
||||
}
|
||||
if value, ok := _c.mutation.DockCodes(); ok {
|
||||
_spec.SetField(dailyplan.FieldDockCodes, field.TypeJSON, value)
|
||||
_node.DockCodes = value
|
||||
}
|
||||
if value, ok := _c.mutation.Status(); ok {
|
||||
_spec.SetField(dailyplan.FieldStatus, field.TypeString, value)
|
||||
_node.Status = value
|
||||
|
||||
Reference in New Issue
Block a user