feat: 大屏多订单改为同屏并列展示,物料申请新增跨工位借料来源并移除工单完成日期
This commit is contained in:
@@ -1094,6 +1094,16 @@ func RejectReasonContainsFold(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldContainsFold(FieldRejectReason, v))
|
||||
}
|
||||
|
||||
// BorrowFromIsNil applies the IsNil predicate on the "borrowFrom" field.
|
||||
func BorrowFromIsNil() predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldIsNull(FieldBorrowFrom))
|
||||
}
|
||||
|
||||
// BorrowFromNotNil applies the NotNil predicate on the "borrowFrom" field.
|
||||
func BorrowFromNotNil() predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldNotNull(FieldBorrowFrom))
|
||||
}
|
||||
|
||||
// OperatorEQ applies the EQ predicate on the "operator" field.
|
||||
func OperatorEQ(v string) predicate.MaterialRequest {
|
||||
return predicate.MaterialRequest(sql.FieldEQ(FieldOperator, v))
|
||||
|
||||
Reference in New Issue
Block a user