修改了background代码!!!!import 修改了库存日志数据库,前端修改,添加库存日志导出功能

This commit is contained in:
2025-01-20 15:55:34 +08:00
parent f781c59473
commit 8bc94c1257
11 changed files with 226 additions and 183 deletions

View File

@@ -7,7 +7,7 @@ namespace DOAN.Model.PBL.Dto
public class InventorylogQueryDto : PagerInfo
{
public string RackCode { get; set; }
public string Partnumber { get; set; }
public int? Operation { get; set; }
}
@@ -20,6 +20,7 @@ namespace DOAN.Model.PBL.Dto
public string Id { get; set; }
public string RackCode { get; set; }
public string Partnumber { get; set; }
public int? Operation { get; set; }
@@ -36,4 +37,13 @@ namespace DOAN.Model.PBL.Dto
}
/// <summary>
/// 库存日志查询对象
/// </summary>
public class InventorylogExportDto
{
public string StartTime { get; set; }
public string EndTime { get; set; }
}
}

View File

@@ -31,7 +31,6 @@ public class StoragelocationDto
public int? PackageNum { get; set; }
/// <summary>
/// 箱子数
/// </summary>
@@ -44,4 +43,16 @@ public class StoragelocationDto
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}
/// <summary>
/// 料架表零件号聚合结果
/// </summary>
public class StoragelocationPartNumberGroupDto
{
public string RackCode { get; set; }
public string Partnumber { get; set; }
public string MirrorshellName { get; set; }
public string Productname { get; set; }
public int PackageNum { get; set; } = 0;
}

View File

@@ -11,47 +11,62 @@ namespace DOAN.Model.PBL
/// 雪花
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
[ExcelIgnore]
public string Id { get; set; }
/// <summary>
/// 料架号
/// </summary>
[SugarColumn(ColumnName = "rack_code")]
[ExcelColumn(Name = "料架号")]
public string RackCode { get; set; }
/// <summary>
/// 零件号
/// </summary>
[SugarColumn(ColumnName = "partnumber")]
[ExcelColumn(Name = "零件号")]
public string Partnumber { get; set; }
/// <summary>
/// 操作1出、2入库
/// </summary>
[ExcelColumn(Name = "操作1出库、2入库 ")]
public int? Operation { get; set; }
/// <summary>
/// 箱子数
/// </summary>
[SugarColumn(ColumnName = "package_num")]
[ExcelColumn(Name = "箱子变动数")]
public int? PackageNum { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "cREATED_BY")]
[ExcelColumn(Name = "生成来源")]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "cREATED_TIME")]
[ExcelColumn(Name = "生成时间", Format = "yyyy-MM-dd HH:mm:ss")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "uPDATED_BY")]
[ExcelIgnore]
public string UpdatedBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "uPDATED_TIME")]
[ExcelIgnore]
public DateTime? UpdatedTime { get; set; }
}