feat: 大屏多订单改为同屏并列展示,物料申请新增跨工位借料来源并移除工单完成日期

This commit is contained in:
SunYF
2026-11-02 19:17:05 +08:00
parent 0c03d32682
commit fd2f0e2767
77 changed files with 1773 additions and 664 deletions
-55
View File
@@ -114,11 +114,6 @@ func CreatedBy(v string) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldEQ(FieldCreatedBy, v))
}
// DueDate applies equality check predicate on the "dueDate" field. It's identical to DueDateEQ.
func DueDate(v time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldEQ(FieldDueDate, v))
}
// ProductProcessId applies equality check predicate on the "productProcessId" field. It's identical to ProductProcessIdEQ.
func ProductProcessId(v int) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldEQ(FieldProductProcessId, v))
@@ -839,56 +834,6 @@ func CreatedByContainsFold(v string) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldContainsFold(FieldCreatedBy, v))
}
// DueDateEQ applies the EQ predicate on the "dueDate" field.
func DueDateEQ(v time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldEQ(FieldDueDate, v))
}
// DueDateNEQ applies the NEQ predicate on the "dueDate" field.
func DueDateNEQ(v time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldNEQ(FieldDueDate, v))
}
// DueDateIn applies the In predicate on the "dueDate" field.
func DueDateIn(vs ...time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldIn(FieldDueDate, vs...))
}
// DueDateNotIn applies the NotIn predicate on the "dueDate" field.
func DueDateNotIn(vs ...time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldNotIn(FieldDueDate, vs...))
}
// DueDateGT applies the GT predicate on the "dueDate" field.
func DueDateGT(v time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldGT(FieldDueDate, v))
}
// DueDateGTE applies the GTE predicate on the "dueDate" field.
func DueDateGTE(v time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldGTE(FieldDueDate, v))
}
// DueDateLT applies the LT predicate on the "dueDate" field.
func DueDateLT(v time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldLT(FieldDueDate, v))
}
// DueDateLTE applies the LTE predicate on the "dueDate" field.
func DueDateLTE(v time.Time) predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldLTE(FieldDueDate, v))
}
// DueDateIsNil applies the IsNil predicate on the "dueDate" field.
func DueDateIsNil() predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldIsNull(FieldDueDate))
}
// DueDateNotNil applies the NotNil predicate on the "dueDate" field.
func DueDateNotNil() predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldNotNull(FieldDueDate))
}
// FlowCombinationIsNil applies the IsNil predicate on the "flowCombination" field.
func FlowCombinationIsNil() predicate.WorkOrder {
return predicate.WorkOrder(sql.FieldIsNull(FieldFlowCombination))
-8
View File
@@ -37,8 +37,6 @@ const (
FieldProductSerial = "product_serial"
// FieldCreatedBy holds the string denoting the createdby field in the database.
FieldCreatedBy = "created_by"
// FieldDueDate holds the string denoting the duedate field in the database.
FieldDueDate = "due_date"
// FieldFlowCombination holds the string denoting the flowcombination field in the database.
FieldFlowCombination = "flow_combination"
// FieldProductProcessId holds the string denoting the productprocessid field in the database.
@@ -78,7 +76,6 @@ var Columns = []string{
FieldProjectNo,
FieldProductSerial,
FieldCreatedBy,
FieldDueDate,
FieldFlowCombination,
FieldProductProcessId,
FieldStatus,
@@ -222,11 +219,6 @@ func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldCreatedBy, opts...).ToFunc()
}
// ByDueDate orders the results by the dueDate field.
func ByDueDate(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldDueDate, opts...).ToFunc()
}
// ByProductProcessId orders the results by the productProcessId field.
func ByProductProcessId(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldProductProcessId, opts...).ToFunc()