docs(deployment): 更新部署手册和业务架构说明
- 更新MES和WMS服务端口配置说明 - 详细说明产线工位设备配置(扫码枪+拧紧枪) - 明确AGV配送和接驳台的模拟模式与真实对接方案 - 更新WMS中AGV配送默认模拟模式说明 - 完善厂内物流(AGV/接驳台)的业务架构约束 - 修订临时文档为详细的项目问题和解决方案规划
This commit is contained in:
@@ -165,6 +165,34 @@ func (_c *StocktakeItemCreate) SetNillableCounted(v *bool) *StocktakeItemCreate
|
||||
return _c
|
||||
}
|
||||
|
||||
// SetCountedBy sets the "counted_by" field.
|
||||
func (_c *StocktakeItemCreate) SetCountedBy(v string) *StocktakeItemCreate {
|
||||
_c.mutation.SetCountedBy(v)
|
||||
return _c
|
||||
}
|
||||
|
||||
// SetNillableCountedBy sets the "counted_by" field if the given value is not nil.
|
||||
func (_c *StocktakeItemCreate) SetNillableCountedBy(v *string) *StocktakeItemCreate {
|
||||
if v != nil {
|
||||
_c.SetCountedBy(*v)
|
||||
}
|
||||
return _c
|
||||
}
|
||||
|
||||
// SetCountedAt sets the "counted_at" field.
|
||||
func (_c *StocktakeItemCreate) SetCountedAt(v int64) *StocktakeItemCreate {
|
||||
_c.mutation.SetCountedAt(v)
|
||||
return _c
|
||||
}
|
||||
|
||||
// SetNillableCountedAt sets the "counted_at" field if the given value is not nil.
|
||||
func (_c *StocktakeItemCreate) SetNillableCountedAt(v *int64) *StocktakeItemCreate {
|
||||
if v != nil {
|
||||
_c.SetCountedAt(*v)
|
||||
}
|
||||
return _c
|
||||
}
|
||||
|
||||
// SetUpdatedAt sets the "updated_at" field.
|
||||
func (_c *StocktakeItemCreate) SetUpdatedAt(v int64) *StocktakeItemCreate {
|
||||
_c.mutation.SetUpdatedAt(v)
|
||||
@@ -337,6 +365,14 @@ func (_c *StocktakeItemCreate) createSpec() (*StocktakeItem, *sqlgraph.CreateSpe
|
||||
_spec.SetField(stocktakeitem.FieldCounted, field.TypeBool, value)
|
||||
_node.Counted = value
|
||||
}
|
||||
if value, ok := _c.mutation.CountedBy(); ok {
|
||||
_spec.SetField(stocktakeitem.FieldCountedBy, field.TypeString, value)
|
||||
_node.CountedBy = value
|
||||
}
|
||||
if value, ok := _c.mutation.CountedAt(); ok {
|
||||
_spec.SetField(stocktakeitem.FieldCountedAt, field.TypeInt64, value)
|
||||
_node.CountedAt = value
|
||||
}
|
||||
if value, ok := _c.mutation.UpdatedAt(); ok {
|
||||
_spec.SetField(stocktakeitem.FieldUpdatedAt, field.TypeInt64, value)
|
||||
_node.UpdatedAt = value
|
||||
@@ -585,6 +621,48 @@ func (u *StocktakeItemUpsert) UpdateCounted() *StocktakeItemUpsert {
|
||||
return u
|
||||
}
|
||||
|
||||
// SetCountedBy sets the "counted_by" field.
|
||||
func (u *StocktakeItemUpsert) SetCountedBy(v string) *StocktakeItemUpsert {
|
||||
u.Set(stocktakeitem.FieldCountedBy, v)
|
||||
return u
|
||||
}
|
||||
|
||||
// UpdateCountedBy sets the "counted_by" field to the value that was provided on create.
|
||||
func (u *StocktakeItemUpsert) UpdateCountedBy() *StocktakeItemUpsert {
|
||||
u.SetExcluded(stocktakeitem.FieldCountedBy)
|
||||
return u
|
||||
}
|
||||
|
||||
// ClearCountedBy clears the value of the "counted_by" field.
|
||||
func (u *StocktakeItemUpsert) ClearCountedBy() *StocktakeItemUpsert {
|
||||
u.SetNull(stocktakeitem.FieldCountedBy)
|
||||
return u
|
||||
}
|
||||
|
||||
// SetCountedAt sets the "counted_at" field.
|
||||
func (u *StocktakeItemUpsert) SetCountedAt(v int64) *StocktakeItemUpsert {
|
||||
u.Set(stocktakeitem.FieldCountedAt, v)
|
||||
return u
|
||||
}
|
||||
|
||||
// UpdateCountedAt sets the "counted_at" field to the value that was provided on create.
|
||||
func (u *StocktakeItemUpsert) UpdateCountedAt() *StocktakeItemUpsert {
|
||||
u.SetExcluded(stocktakeitem.FieldCountedAt)
|
||||
return u
|
||||
}
|
||||
|
||||
// AddCountedAt adds v to the "counted_at" field.
|
||||
func (u *StocktakeItemUpsert) AddCountedAt(v int64) *StocktakeItemUpsert {
|
||||
u.Add(stocktakeitem.FieldCountedAt, v)
|
||||
return u
|
||||
}
|
||||
|
||||
// ClearCountedAt clears the value of the "counted_at" field.
|
||||
func (u *StocktakeItemUpsert) ClearCountedAt() *StocktakeItemUpsert {
|
||||
u.SetNull(stocktakeitem.FieldCountedAt)
|
||||
return u
|
||||
}
|
||||
|
||||
// SetUpdatedAt sets the "updated_at" field.
|
||||
func (u *StocktakeItemUpsert) SetUpdatedAt(v int64) *StocktakeItemUpsert {
|
||||
u.Set(stocktakeitem.FieldUpdatedAt, v)
|
||||
@@ -867,6 +945,55 @@ func (u *StocktakeItemUpsertOne) UpdateCounted() *StocktakeItemUpsertOne {
|
||||
})
|
||||
}
|
||||
|
||||
// SetCountedBy sets the "counted_by" field.
|
||||
func (u *StocktakeItemUpsertOne) SetCountedBy(v string) *StocktakeItemUpsertOne {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.SetCountedBy(v)
|
||||
})
|
||||
}
|
||||
|
||||
// UpdateCountedBy sets the "counted_by" field to the value that was provided on create.
|
||||
func (u *StocktakeItemUpsertOne) UpdateCountedBy() *StocktakeItemUpsertOne {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.UpdateCountedBy()
|
||||
})
|
||||
}
|
||||
|
||||
// ClearCountedBy clears the value of the "counted_by" field.
|
||||
func (u *StocktakeItemUpsertOne) ClearCountedBy() *StocktakeItemUpsertOne {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.ClearCountedBy()
|
||||
})
|
||||
}
|
||||
|
||||
// SetCountedAt sets the "counted_at" field.
|
||||
func (u *StocktakeItemUpsertOne) SetCountedAt(v int64) *StocktakeItemUpsertOne {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.SetCountedAt(v)
|
||||
})
|
||||
}
|
||||
|
||||
// AddCountedAt adds v to the "counted_at" field.
|
||||
func (u *StocktakeItemUpsertOne) AddCountedAt(v int64) *StocktakeItemUpsertOne {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.AddCountedAt(v)
|
||||
})
|
||||
}
|
||||
|
||||
// UpdateCountedAt sets the "counted_at" field to the value that was provided on create.
|
||||
func (u *StocktakeItemUpsertOne) UpdateCountedAt() *StocktakeItemUpsertOne {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.UpdateCountedAt()
|
||||
})
|
||||
}
|
||||
|
||||
// ClearCountedAt clears the value of the "counted_at" field.
|
||||
func (u *StocktakeItemUpsertOne) ClearCountedAt() *StocktakeItemUpsertOne {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.ClearCountedAt()
|
||||
})
|
||||
}
|
||||
|
||||
// SetUpdatedAt sets the "updated_at" field.
|
||||
func (u *StocktakeItemUpsertOne) SetUpdatedAt(v int64) *StocktakeItemUpsertOne {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
@@ -1316,6 +1443,55 @@ func (u *StocktakeItemUpsertBulk) UpdateCounted() *StocktakeItemUpsertBulk {
|
||||
})
|
||||
}
|
||||
|
||||
// SetCountedBy sets the "counted_by" field.
|
||||
func (u *StocktakeItemUpsertBulk) SetCountedBy(v string) *StocktakeItemUpsertBulk {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.SetCountedBy(v)
|
||||
})
|
||||
}
|
||||
|
||||
// UpdateCountedBy sets the "counted_by" field to the value that was provided on create.
|
||||
func (u *StocktakeItemUpsertBulk) UpdateCountedBy() *StocktakeItemUpsertBulk {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.UpdateCountedBy()
|
||||
})
|
||||
}
|
||||
|
||||
// ClearCountedBy clears the value of the "counted_by" field.
|
||||
func (u *StocktakeItemUpsertBulk) ClearCountedBy() *StocktakeItemUpsertBulk {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.ClearCountedBy()
|
||||
})
|
||||
}
|
||||
|
||||
// SetCountedAt sets the "counted_at" field.
|
||||
func (u *StocktakeItemUpsertBulk) SetCountedAt(v int64) *StocktakeItemUpsertBulk {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.SetCountedAt(v)
|
||||
})
|
||||
}
|
||||
|
||||
// AddCountedAt adds v to the "counted_at" field.
|
||||
func (u *StocktakeItemUpsertBulk) AddCountedAt(v int64) *StocktakeItemUpsertBulk {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.AddCountedAt(v)
|
||||
})
|
||||
}
|
||||
|
||||
// UpdateCountedAt sets the "counted_at" field to the value that was provided on create.
|
||||
func (u *StocktakeItemUpsertBulk) UpdateCountedAt() *StocktakeItemUpsertBulk {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.UpdateCountedAt()
|
||||
})
|
||||
}
|
||||
|
||||
// ClearCountedAt clears the value of the "counted_at" field.
|
||||
func (u *StocktakeItemUpsertBulk) ClearCountedAt() *StocktakeItemUpsertBulk {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
s.ClearCountedAt()
|
||||
})
|
||||
}
|
||||
|
||||
// SetUpdatedAt sets the "updated_at" field.
|
||||
func (u *StocktakeItemUpsertBulk) SetUpdatedAt(v int64) *StocktakeItemUpsertBulk {
|
||||
return u.Update(func(s *StocktakeItemUpsert) {
|
||||
|
||||
Reference in New Issue
Block a user