fix:永丰售后修复BUG,
1,物料库存获取不到ERP:重新调整触发查询逻辑 2,工序变更导致物料无法出库:配置旧工序 3,测试出库订单ERP推送,任务下发
This commit is contained in:
1 parent
b2a9a38f38
commit
c76e7bb681
69 files changed
+5510
-157
No files matched your search
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace HHWMS.Web.Models.Agv
|
||||
{
|
||||
/// <summary>
|
||||
/// AGV 任务归档镜像(超 1 个月终态任务备份于此,再由 AgvTaskArchiveJob 清理主表)
|
||||
/// 对应《平库AGV方案流程(AGV自调度版).md》10.2 DDL 第 5 段
|
||||
/// </summary>
|
||||
[Index(nameof(TaskNo))]
|
||||
[Index(nameof(CreateTime))]
|
||||
[Table("AgvTaskHistory")]
|
||||
public class AgvTaskHistory : BasePoco
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int ID { get; set; }
|
||||
|
||||
[Display(Name = "AGV.TaskNo", Description = "WMS任务号")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string TaskNo { get; set; }
|
||||
|
||||
[Display(Name = "AGV.SourceCode", Description = "上游任务号")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string SourceCode { get; set; }
|
||||
|
||||
[Display(Name = "AGV.SourceSystem", Description = "上游来源系统标识")]
|
||||
[StringLength(20, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string SourceSystem { get; set; }
|
||||
|
||||
[Display(Name = "AGV.AgvTaskType", Description = "AGV业务类型")]
|
||||
public AgvTaskTypeEnum? AgvTaskType { get; set; }
|
||||
|
||||
[Display(Name = "AGV.FromLocation", Description = "起点库位编码")]
|
||||
[StringLength(64, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string FromLocation { get; set; }
|
||||
|
||||
[Display(Name = "AGV.ToLocation", Description = "终点库位编码")]
|
||||
[StringLength(64, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ToLocation { get; set; }
|
||||
|
||||
[Display(Name = "AGV.FromFloor", Description = "起点楼层")]
|
||||
public int? FromFloor { get; set; }
|
||||
|
||||
[Display(Name = "AGV.ToFloor", Description = "终点楼层")]
|
||||
public int? ToFloor { get; set; }
|
||||
|
||||
[Display(Name = "AGV.ContainerCode", Description = "容器号")]
|
||||
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ContainerCode { get; set; }
|
||||
|
||||
[Display(Name = "AGV.Priority", Description = "优先级")]
|
||||
public int? Priority { get; set; }
|
||||
|
||||
[Display(Name = "AGV.AgvStatus", Description = "归档前任务状态")]
|
||||
public AgvTaskStatusEnum? AgvStatus { get; set; }
|
||||
|
||||
[Display(Name = "AGV.AgvCarNo", Description = "AGV小车编号")]
|
||||
[StringLength(20, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string AgvCarNo { get; set; }
|
||||
|
||||
[Display(Name = "AGV.ErrorMsg", Description = "错误信息")]
|
||||
[StringLength(255, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string ErrorMsg { get; set; }
|
||||
|
||||
[Display(Name = "AGV.BillType", Description = "流水类型")]
|
||||
[StringLength(20, ErrorMessage = "Validate.{0}stringmax{1}")]
|
||||
public string BillType { get; set; }
|
||||
|
||||
[Display(Name = "AGV.Details", Description = "物料明细(JSON)")]
|
||||
public string Details { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 归档时间
|
||||
/// </summary>
|
||||
[Display(Name = "AGV.ArchivedAt", Description = "归档时间")]
|
||||
public DateTime? ArchivedAt { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user