docs(deployment): 更新部署手册和业务架构说明
- 更新MES和WMS服务端口配置说明 - 详细说明产线工位设备配置(扫码枪+拧紧枪) - 明确AGV配送和接驳台的模拟模式与真实对接方案 - 更新WMS中AGV配送默认模拟模式说明 - 完善厂内物流(AGV/接驳台)的业务架构约束 - 修订临时文档为详细的项目问题和解决方案规划
This commit is contained in:
@@ -19,6 +19,20 @@ const (
|
||||
FieldOperator = "operator"
|
||||
// FieldTotalTargets holds the string denoting the total_targets field in the database.
|
||||
FieldTotalTargets = "total_targets"
|
||||
// FieldDiffCount holds the string denoting the diff_count field in the database.
|
||||
FieldDiffCount = "diff_count"
|
||||
// FieldAdjusted holds the string denoting the adjusted field in the database.
|
||||
FieldAdjusted = "adjusted"
|
||||
// FieldAdjustNo holds the string denoting the adjust_no field in the database.
|
||||
FieldAdjustNo = "adjust_no"
|
||||
// FieldWrittenAt holds the string denoting the written_at field in the database.
|
||||
FieldWrittenAt = "written_at"
|
||||
// FieldWrittenBy holds the string denoting the written_by field in the database.
|
||||
FieldWrittenBy = "written_by"
|
||||
// FieldUncountedMode holds the string denoting the uncounted_mode field in the database.
|
||||
FieldUncountedMode = "uncounted_mode"
|
||||
// FieldCancelReason holds the string denoting the cancel_reason field in the database.
|
||||
FieldCancelReason = "cancel_reason"
|
||||
// FieldCreatedAt holds the string denoting the created_at field in the database.
|
||||
FieldCreatedAt = "created_at"
|
||||
// FieldFinishedAt holds the string denoting the finished_at field in the database.
|
||||
@@ -34,6 +48,13 @@ var Columns = []string{
|
||||
FieldStatus,
|
||||
FieldOperator,
|
||||
FieldTotalTargets,
|
||||
FieldDiffCount,
|
||||
FieldAdjusted,
|
||||
FieldAdjustNo,
|
||||
FieldWrittenAt,
|
||||
FieldWrittenBy,
|
||||
FieldUncountedMode,
|
||||
FieldCancelReason,
|
||||
FieldCreatedAt,
|
||||
FieldFinishedAt,
|
||||
}
|
||||
@@ -53,6 +74,10 @@ var (
|
||||
DefaultStatus string
|
||||
// DefaultTotalTargets holds the default value on creation for the "total_targets" field.
|
||||
DefaultTotalTargets int
|
||||
// DefaultDiffCount holds the default value on creation for the "diff_count" field.
|
||||
DefaultDiffCount int
|
||||
// DefaultAdjusted holds the default value on creation for the "adjusted" field.
|
||||
DefaultAdjusted bool
|
||||
// DefaultCreatedAt holds the default value on creation for the "created_at" field.
|
||||
DefaultCreatedAt func() int64
|
||||
)
|
||||
@@ -85,6 +110,41 @@ func ByTotalTargets(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldTotalTargets, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByDiffCount orders the results by the diff_count field.
|
||||
func ByDiffCount(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldDiffCount, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByAdjusted orders the results by the adjusted field.
|
||||
func ByAdjusted(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldAdjusted, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByAdjustNo orders the results by the adjust_no field.
|
||||
func ByAdjustNo(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldAdjustNo, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByWrittenAt orders the results by the written_at field.
|
||||
func ByWrittenAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldWrittenAt, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByWrittenBy orders the results by the written_by field.
|
||||
func ByWrittenBy(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldWrittenBy, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByUncountedMode orders the results by the uncounted_mode field.
|
||||
func ByUncountedMode(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldUncountedMode, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCancelReason orders the results by the cancel_reason field.
|
||||
func ByCancelReason(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCancelReason, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCreatedAt orders the results by the created_at field.
|
||||
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCreatedAt, opts...).ToFunc()
|
||||
|
||||
Reference in New Issue
Block a user