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
+12
View File
@@ -65,6 +65,8 @@ const (
FieldRecordedAt = "recorded_at"
// FieldOutboundReason holds the string denoting the outbound_reason field in the database.
FieldOutboundReason = "outbound_reason"
// FieldStocktakeNo holds the string denoting the stocktake_no field in the database.
FieldStocktakeNo = "stocktake_no"
// FieldRemark holds the string denoting the remark field in the database.
FieldRemark = "remark"
// FieldCreatedAt holds the string denoting the created_at field in the database.
@@ -105,6 +107,7 @@ var Columns = []string{
FieldRecordedBy,
FieldRecordedAt,
FieldOutboundReason,
FieldStocktakeNo,
FieldRemark,
FieldCreatedAt,
FieldUpdatedAt,
@@ -139,6 +142,10 @@ var (
DefaultCompletedProcess string
// CompletedProcessValidator is a validator for the "completed_process" field. It is called by the builders before save.
CompletedProcessValidator func(string) error
// DefaultStocktakeNo holds the default value on creation for the "stocktake_no" field.
DefaultStocktakeNo string
// StocktakeNoValidator is a validator for the "stocktake_no" field. It is called by the builders before save.
StocktakeNoValidator func(string) error
// DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultCreatedAt func() int64
// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
@@ -288,6 +295,11 @@ func ByOutboundReason(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldOutboundReason, opts...).ToFunc()
}
// ByStocktakeNo orders the results by the stocktake_no field.
func ByStocktakeNo(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldStocktakeNo, opts...).ToFunc()
}
// ByRemark orders the results by the remark field.
func ByRemark(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldRemark, opts...).ToFunc()
+70
View File
@@ -188,6 +188,11 @@ func OutboundReason(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldOutboundReason, v))
}
// StocktakeNo applies equality check predicate on the "stocktake_no" field. It's identical to StocktakeNoEQ.
func StocktakeNo(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldStocktakeNo, v))
}
// Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func Remark(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRemark, v))
@@ -2013,6 +2018,71 @@ func OutboundReasonContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldOutboundReason, v))
}
// StocktakeNoEQ applies the EQ predicate on the "stocktake_no" field.
func StocktakeNoEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldStocktakeNo, v))
}
// StocktakeNoNEQ applies the NEQ predicate on the "stocktake_no" field.
func StocktakeNoNEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldNEQ(FieldStocktakeNo, v))
}
// StocktakeNoIn applies the In predicate on the "stocktake_no" field.
func StocktakeNoIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldIn(FieldStocktakeNo, vs...))
}
// StocktakeNoNotIn applies the NotIn predicate on the "stocktake_no" field.
func StocktakeNoNotIn(vs ...string) predicate.Inventory {
return predicate.Inventory(sql.FieldNotIn(FieldStocktakeNo, vs...))
}
// StocktakeNoGT applies the GT predicate on the "stocktake_no" field.
func StocktakeNoGT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGT(FieldStocktakeNo, v))
}
// StocktakeNoGTE applies the GTE predicate on the "stocktake_no" field.
func StocktakeNoGTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldGTE(FieldStocktakeNo, v))
}
// StocktakeNoLT applies the LT predicate on the "stocktake_no" field.
func StocktakeNoLT(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLT(FieldStocktakeNo, v))
}
// StocktakeNoLTE applies the LTE predicate on the "stocktake_no" field.
func StocktakeNoLTE(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldLTE(FieldStocktakeNo, v))
}
// StocktakeNoContains applies the Contains predicate on the "stocktake_no" field.
func StocktakeNoContains(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContains(FieldStocktakeNo, v))
}
// StocktakeNoHasPrefix applies the HasPrefix predicate on the "stocktake_no" field.
func StocktakeNoHasPrefix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasPrefix(FieldStocktakeNo, v))
}
// StocktakeNoHasSuffix applies the HasSuffix predicate on the "stocktake_no" field.
func StocktakeNoHasSuffix(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldHasSuffix(FieldStocktakeNo, v))
}
// StocktakeNoEqualFold applies the EqualFold predicate on the "stocktake_no" field.
func StocktakeNoEqualFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEqualFold(FieldStocktakeNo, v))
}
// StocktakeNoContainsFold applies the ContainsFold predicate on the "stocktake_no" field.
func StocktakeNoContainsFold(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldContainsFold(FieldStocktakeNo, v))
}
// RemarkEQ applies the EQ predicate on the "remark" field.
func RemarkEQ(v string) predicate.Inventory {
return predicate.Inventory(sql.FieldEQ(FieldRemark, v))