日志分表 任务日志 操作日志 接口日志

添加对应的日志文件
修改主子表的表结构信息
删除无关字段信息
测试添加数据到历史表中
This commit is contained in:
zhougf committed 2024-03-15 18:45:10 +08:00
1 parent ebdd40c518
commit 4f2ba2a3ee
101 files changed
+1004 -418

No files matched your search

+1 -5
View File
@@ -14,7 +14,7 @@ namespace HHWMS.Web.Models
public new int ID { get; set; }
[Display(Name = "Inventory.ReceiptCode")]
public int ReceiptHeaderId { get; set; }
public int HeaderId { get; set; }
public ReceiptHeader ReceiptHeader { get; set; }
@@ -26,10 +26,6 @@ namespace HHWMS.Web.Models
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialCode { get; set; }
[Display(Name = "Inventory.UniqueCode", Description = "唯一编码")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string UniqueCode { get; set; }
[Display(Name = "Inventory.MaterialType", Description = "物料类型")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialType { get; set; }
@@ -10,12 +10,11 @@ namespace HHWMS.Web.Models
public class ReceiptDetailHistory : BasePoco
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public new int ID { get; set; }
[Display(Name = "Inventory.ReceiptCode")]
public int ReceiptHeaderHistoryId { get; set; }
public ReceiptHeaderHistory ReceiptHeaderHistory { get; set; }
public int HeaderId { get; set; }
[Display(Name = "Task.ZoneCode", Description = "库区")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
@@ -25,10 +24,6 @@ namespace HHWMS.Web.Models
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialCode { get; set; }
[Display(Name = "Inventory.UniqueCode", Description = "唯一编码")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string UniqueCode { get; set; }
[Display(Name = "Inventory.MaterialType", Description = "物料类型")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string MaterialType { get; set; }
@@ -53,6 +53,5 @@ namespace HHWMS.Web.Models
[Display(Name = "_Admin.Remark", Description = "备注")]
public string Remark { get; set; }
public ICollection<ReceiptDetailHistory> ReceiptDetailsHistories { get; set; }
}
}