物料模型与服务支持分类字段及查询优化

本次提交在物料实体、DTO及服务层中新增了与物料分类相关的字段(CateoryName、CategoryCode、MaterialCatory),并在查询表达式中增加了对分类编码的模糊查询条件,提升了物料分类的管理和查询能力。
This commit is contained in:
2025-12-26 16:18:10 +08:00
parent 310967603a
commit a5bf7c9eff
3 changed files with 9 additions and 1 deletions

View File

@@ -6,11 +6,16 @@ namespace DOAN.Model.BZFM.Dto
/// </summary>
public class MmMaterialQueryDto : PagerInfo
{
public object CateoryName;
public string CategoryCode { get; set; }
public string MaterialName { get; set; }
public string MaterialCode { get; set; }
public string Specification { get; set; }
public string TypeLabel { get; set; }
public string Status { get; set; }
public object MaterialCatory { get; set; }
}
/// <summary>

View File

@@ -7,6 +7,8 @@ namespace DOAN.Model.BZFM
[SugarTable("mm_material")]
public class MmMaterial
{
public object CateoryName;
/// <summary>
/// 主键ID
/// </summary>
@@ -91,6 +93,6 @@ namespace DOAN.Model.BZFM
/// 描述
/// </summary>
public string Description { get; set; }
public object MaterialCatory { get; set; }
}
}