feat: 完成产线与仓储系统多模块迭代升级
本次迭代覆盖MES与WMS核心业务: 1. 新增接驳台托盘传感器读取与AGV对接能力 2. 完善工单排产、备料流程与权限体系拆分 3. 优化看板接口与前端路由、样式 4. 新增操作日志、库存盘点与角色保护逻辑 5. 修复代理地址、BOM保存等已知问题
This commit is contained in:
@@ -21,6 +21,8 @@ const (
|
||||
FieldPlanQty = "plan_qty"
|
||||
// FieldCompletedQty holds the string denoting the completedqty field in the database.
|
||||
FieldCompletedQty = "completed_qty"
|
||||
// FieldDockCodes holds the string denoting the dockcodes field in the database.
|
||||
FieldDockCodes = "dock_codes"
|
||||
// FieldStatus holds the string denoting the status field in the database.
|
||||
FieldStatus = "status"
|
||||
// FieldOperator holds the string denoting the operator field in the database.
|
||||
@@ -40,6 +42,7 @@ var Columns = []string{
|
||||
FieldPlanDate,
|
||||
FieldPlanQty,
|
||||
FieldCompletedQty,
|
||||
FieldDockCodes,
|
||||
FieldStatus,
|
||||
FieldOperator,
|
||||
FieldCreatedAt,
|
||||
|
||||
@@ -304,6 +304,16 @@ func CompletedQtyLTE(v int) predicate.DailyPlan {
|
||||
return predicate.DailyPlan(sql.FieldLTE(FieldCompletedQty, v))
|
||||
}
|
||||
|
||||
// DockCodesIsNil applies the IsNil predicate on the "dockCodes" field.
|
||||
func DockCodesIsNil() predicate.DailyPlan {
|
||||
return predicate.DailyPlan(sql.FieldIsNull(FieldDockCodes))
|
||||
}
|
||||
|
||||
// DockCodesNotNil applies the NotNil predicate on the "dockCodes" field.
|
||||
func DockCodesNotNil() predicate.DailyPlan {
|
||||
return predicate.DailyPlan(sql.FieldNotNull(FieldDockCodes))
|
||||
}
|
||||
|
||||
// StatusEQ applies the EQ predicate on the "status" field.
|
||||
func StatusEQ(v string) predicate.DailyPlan {
|
||||
return predicate.DailyPlan(sql.FieldEQ(FieldStatus, v))
|
||||
|
||||
Reference in New Issue
Block a user