feat: 完成附件存储重构与磁盘监控功能,同步物料档案与入库单规则更新
1. 新增跨平台磁盘空间监控能力,每日7点自动检测附件目录剩余空间,触发阈值告警 2. 重构附件存储方案为年/月/日/文件类型分层结构,统一MES与WMS的附件管理逻辑 3. 对齐物料档案与入库单的质量状态校验规则,仅合格品计入库存与出库 4. 实现入库单作废功能与区域库位的多级父子结构管理 5. 删除物料简称字段,补充规格型号与单位必填项,统一系统数据口径 6. 新增附件中心与磁盘状态查询接口,完善权限控制与操作日志
This commit is contained in:
@@ -63,11 +63,6 @@ func Name(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldEQ(FieldName, v))
|
||||
}
|
||||
|
||||
// ShortName applies equality check predicate on the "short_name" field. It's identical to ShortNameEQ.
|
||||
func ShortName(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldEQ(FieldShortName, v))
|
||||
}
|
||||
|
||||
// Spec applies equality check predicate on the "spec" field. It's identical to SpecEQ.
|
||||
func Spec(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldEQ(FieldSpec, v))
|
||||
@@ -258,81 +253,6 @@ func NameContainsFold(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldContainsFold(FieldName, v))
|
||||
}
|
||||
|
||||
// ShortNameEQ applies the EQ predicate on the "short_name" field.
|
||||
func ShortNameEQ(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldEQ(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameNEQ applies the NEQ predicate on the "short_name" field.
|
||||
func ShortNameNEQ(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldNEQ(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameIn applies the In predicate on the "short_name" field.
|
||||
func ShortNameIn(vs ...string) predicate.Material {
|
||||
return predicate.Material(sql.FieldIn(FieldShortName, vs...))
|
||||
}
|
||||
|
||||
// ShortNameNotIn applies the NotIn predicate on the "short_name" field.
|
||||
func ShortNameNotIn(vs ...string) predicate.Material {
|
||||
return predicate.Material(sql.FieldNotIn(FieldShortName, vs...))
|
||||
}
|
||||
|
||||
// ShortNameGT applies the GT predicate on the "short_name" field.
|
||||
func ShortNameGT(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldGT(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameGTE applies the GTE predicate on the "short_name" field.
|
||||
func ShortNameGTE(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldGTE(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameLT applies the LT predicate on the "short_name" field.
|
||||
func ShortNameLT(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldLT(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameLTE applies the LTE predicate on the "short_name" field.
|
||||
func ShortNameLTE(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldLTE(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameContains applies the Contains predicate on the "short_name" field.
|
||||
func ShortNameContains(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldContains(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameHasPrefix applies the HasPrefix predicate on the "short_name" field.
|
||||
func ShortNameHasPrefix(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldHasPrefix(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameHasSuffix applies the HasSuffix predicate on the "short_name" field.
|
||||
func ShortNameHasSuffix(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldHasSuffix(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameIsNil applies the IsNil predicate on the "short_name" field.
|
||||
func ShortNameIsNil() predicate.Material {
|
||||
return predicate.Material(sql.FieldIsNull(FieldShortName))
|
||||
}
|
||||
|
||||
// ShortNameNotNil applies the NotNil predicate on the "short_name" field.
|
||||
func ShortNameNotNil() predicate.Material {
|
||||
return predicate.Material(sql.FieldNotNull(FieldShortName))
|
||||
}
|
||||
|
||||
// ShortNameEqualFold applies the EqualFold predicate on the "short_name" field.
|
||||
func ShortNameEqualFold(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldEqualFold(FieldShortName, v))
|
||||
}
|
||||
|
||||
// ShortNameContainsFold applies the ContainsFold predicate on the "short_name" field.
|
||||
func ShortNameContainsFold(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldContainsFold(FieldShortName, v))
|
||||
}
|
||||
|
||||
// SpecEQ applies the EQ predicate on the "spec" field.
|
||||
func SpecEQ(v string) predicate.Material {
|
||||
return predicate.Material(sql.FieldEQ(FieldSpec, v))
|
||||
|
||||
Reference in New Issue
Block a user