feat: 完成MES工位终端系统全量功能迭代
本次提交包含以下核心变更: 1. 新增按钮级权限控制框架与前端权限校验 2. 新增工位管理、工艺流程、巡检终端等核心业务模块 3. 完善用户体系,支持工位终端专属登录权限 4. 新增文件上传下载、报表查询等配套功能 5. 修复多系统兼容性与交互体验问题 6. 完成所有文档与配置项的规范化更新
This commit is contained in:
@@ -54,6 +54,11 @@ func IDLTE(id int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldLTE(FieldID, id))
|
||||
}
|
||||
|
||||
// FlowId applies equality check predicate on the "flowId" field. It's identical to FlowIdEQ.
|
||||
func FlowId(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldEQ(FieldFlowId, v))
|
||||
}
|
||||
|
||||
// ProcessCode applies equality check predicate on the "processCode" field. It's identical to ProcessCodeEQ.
|
||||
func ProcessCode(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldEQ(FieldProcessCode, v))
|
||||
@@ -89,6 +94,56 @@ func CreatedAt(v time.Time) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// FlowIdEQ applies the EQ predicate on the "flowId" field.
|
||||
func FlowIdEQ(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldEQ(FieldFlowId, v))
|
||||
}
|
||||
|
||||
// FlowIdNEQ applies the NEQ predicate on the "flowId" field.
|
||||
func FlowIdNEQ(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldNEQ(FieldFlowId, v))
|
||||
}
|
||||
|
||||
// FlowIdIn applies the In predicate on the "flowId" field.
|
||||
func FlowIdIn(vs ...int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldIn(FieldFlowId, vs...))
|
||||
}
|
||||
|
||||
// FlowIdNotIn applies the NotIn predicate on the "flowId" field.
|
||||
func FlowIdNotIn(vs ...int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldNotIn(FieldFlowId, vs...))
|
||||
}
|
||||
|
||||
// FlowIdGT applies the GT predicate on the "flowId" field.
|
||||
func FlowIdGT(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldGT(FieldFlowId, v))
|
||||
}
|
||||
|
||||
// FlowIdGTE applies the GTE predicate on the "flowId" field.
|
||||
func FlowIdGTE(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldGTE(FieldFlowId, v))
|
||||
}
|
||||
|
||||
// FlowIdLT applies the LT predicate on the "flowId" field.
|
||||
func FlowIdLT(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldLT(FieldFlowId, v))
|
||||
}
|
||||
|
||||
// FlowIdLTE applies the LTE predicate on the "flowId" field.
|
||||
func FlowIdLTE(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldLTE(FieldFlowId, v))
|
||||
}
|
||||
|
||||
// FlowIdIsNil applies the IsNil predicate on the "flowId" field.
|
||||
func FlowIdIsNil() predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldIsNull(FieldFlowId))
|
||||
}
|
||||
|
||||
// FlowIdNotNil applies the NotNil predicate on the "flowId" field.
|
||||
func FlowIdNotNil() predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldNotNull(FieldFlowId))
|
||||
}
|
||||
|
||||
// ProcessCodeEQ applies the EQ predicate on the "processCode" field.
|
||||
func ProcessCodeEQ(v int) predicate.ProcessStep {
|
||||
return predicate.ProcessStep(sql.FieldEQ(FieldProcessCode, v))
|
||||
|
||||
Reference in New Issue
Block a user