docs(deployment): 更新部署手册和业务架构说明

- 更新MES和WMS服务端口配置说明
- 详细说明产线工位设备配置(扫码枪+拧紧枪)
- 明确AGV配送和接驳台的模拟模式与真实对接方案
- 更新WMS中AGV配送默认模拟模式说明
- 完善厂内物流(AGV/接驳台)的业务架构约束
- 修订临时文档为详细的项目问题和解决方案规划
This commit is contained in:
SunYF
2026-09-20 14:52:36 +08:00
parent 5a33028003
commit f35e9b5b75
57 changed files with 6096 additions and 1000 deletions
+44
View File
@@ -548,6 +548,20 @@ func (_u *InventoryUpdate) ClearOutboundReason() *InventoryUpdate {
return _u
}
// SetStocktakeNo sets the "stocktake_no" field.
func (_u *InventoryUpdate) SetStocktakeNo(v string) *InventoryUpdate {
_u.mutation.SetStocktakeNo(v)
return _u
}
// SetNillableStocktakeNo sets the "stocktake_no" field if the given value is not nil.
func (_u *InventoryUpdate) SetNillableStocktakeNo(v *string) *InventoryUpdate {
if v != nil {
_u.SetStocktakeNo(*v)
}
return _u
}
// SetRemark sets the "remark" field.
func (_u *InventoryUpdate) SetRemark(v string) *InventoryUpdate {
_u.mutation.SetRemark(v)
@@ -654,6 +668,11 @@ func (_u *InventoryUpdate) check() error {
return &ValidationError{Name: "completed_process", err: fmt.Errorf(`ent: validator failed for field "Inventory.completed_process": %w`, err)}
}
}
if v, ok := _u.mutation.StocktakeNo(); ok {
if err := inventory.StocktakeNoValidator(v); err != nil {
return &ValidationError{Name: "stocktake_no", err: fmt.Errorf(`ent: validator failed for field "Inventory.stocktake_no": %w`, err)}
}
}
return nil
}
@@ -819,6 +838,9 @@ func (_u *InventoryUpdate) sqlSave(ctx context.Context) (_node int, err error) {
if _u.mutation.OutboundReasonCleared() {
_spec.ClearField(inventory.FieldOutboundReason, field.TypeString)
}
if value, ok := _u.mutation.StocktakeNo(); ok {
_spec.SetField(inventory.FieldStocktakeNo, field.TypeString, value)
}
if value, ok := _u.mutation.Remark(); ok {
_spec.SetField(inventory.FieldRemark, field.TypeString, value)
}
@@ -1378,6 +1400,20 @@ func (_u *InventoryUpdateOne) ClearOutboundReason() *InventoryUpdateOne {
return _u
}
// SetStocktakeNo sets the "stocktake_no" field.
func (_u *InventoryUpdateOne) SetStocktakeNo(v string) *InventoryUpdateOne {
_u.mutation.SetStocktakeNo(v)
return _u
}
// SetNillableStocktakeNo sets the "stocktake_no" field if the given value is not nil.
func (_u *InventoryUpdateOne) SetNillableStocktakeNo(v *string) *InventoryUpdateOne {
if v != nil {
_u.SetStocktakeNo(*v)
}
return _u
}
// SetRemark sets the "remark" field.
func (_u *InventoryUpdateOne) SetRemark(v string) *InventoryUpdateOne {
_u.mutation.SetRemark(v)
@@ -1497,6 +1533,11 @@ func (_u *InventoryUpdateOne) check() error {
return &ValidationError{Name: "completed_process", err: fmt.Errorf(`ent: validator failed for field "Inventory.completed_process": %w`, err)}
}
}
if v, ok := _u.mutation.StocktakeNo(); ok {
if err := inventory.StocktakeNoValidator(v); err != nil {
return &ValidationError{Name: "stocktake_no", err: fmt.Errorf(`ent: validator failed for field "Inventory.stocktake_no": %w`, err)}
}
}
return nil
}
@@ -1679,6 +1720,9 @@ func (_u *InventoryUpdateOne) sqlSave(ctx context.Context) (_node *Inventory, er
if _u.mutation.OutboundReasonCleared() {
_spec.ClearField(inventory.FieldOutboundReason, field.TypeString)
}
if value, ok := _u.mutation.StocktakeNo(); ok {
_spec.SetField(inventory.FieldStocktakeNo, field.TypeString, value)
}
if value, ok := _u.mutation.Remark(); ok {
_spec.SetField(inventory.FieldRemark, field.TypeString, value)
}