liuyunfeng
1 year ago
13 changed files with 780 additions and 0 deletions
@ -0,0 +1,143 @@ |
|||
using Magicodes.ExporterAndImporter.Core; |
|||
using Magicodes.ExporterAndImporter.Excel; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
using Volo.Abp.Application.Dtos; |
|||
|
|||
namespace WY.NewJit.PrintTable |
|||
{ |
|||
/// <summary>
|
|||
/// 零件查询结果DTO
|
|||
/// </summary>
|
|||
[ExcelExporter(Name = "已打印表", AutoFitAllColumn = true, MaxRowNumberOnASheet = 1000)] //一个Sheet最大允许的行数,设置了之后将输出多个Sheet
|
|||
[Serializable] |
|||
public class AlreadyPrintDto |
|||
{ |
|||
/// <summary>
|
|||
/// 对应M100的Id
|
|||
/// </summary>
|
|||
public Guid M100Id { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 业务类型:1 门板 2 其它柱护板 3 柱护板
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "业务类型")] |
|||
[ImporterHeader(Name = "业务类型")] |
|||
public string BusinessType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 产线
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "产线")] |
|||
[ImporterHeader(Name = "产线")] |
|||
public string ProductLine { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 上线时间
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "上线时间")] |
|||
[ImporterHeader(Name = "上线时间")] |
|||
public DateTime OnlineTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 大众排序号
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "大众排序号")] |
|||
[ImporterHeader(Name = "大众排序号")] |
|||
public int HostSN { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 订单号
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "订单号")] |
|||
[ImporterHeader(Name = "订单号")] |
|||
public string KNR { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 底盘号(为空时是补充的断号记录)
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "底盘号")] |
|||
[ImporterHeader(Name = "底盘号")] |
|||
public string VIN { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 车型
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "车型")] |
|||
[ImporterHeader(Name = "车型")] |
|||
public string VehicleModelCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 总成组ID
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "总成组ID")] |
|||
[ImporterHeader(Name = "总成组ID")] |
|||
public Guid? AssemblyID { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 单据状态:1 未解析 2 已解析 4 断号
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "单据状态")] |
|||
[ImporterHeader(Name = "单据状态")] |
|||
public string BillStatus { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 打印类型: 1 顺序打印 2 补账打印
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "打印类型")] |
|||
[ImporterHeader(Name = "打印类型")] |
|||
public int PrintType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 自定义排序号(910001 910002 等)
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "自定义排序号")] |
|||
[ImporterHeader(Name = "自定义排序号")] |
|||
public int HostSN2 { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 描述
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "描述")] |
|||
[ImporterHeader(Name = "描述")] |
|||
public string Description { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 接收时间
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "接收时间")] |
|||
[ImporterHeader(Name = "接收时间")] |
|||
public DateTime? ReceiveTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 创建时间
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "创建时间")] |
|||
[ImporterHeader(Name = "创建时间")] |
|||
public DateTime? CreationTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 创建人
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "创建人")] |
|||
[ImporterHeader(Name = "创建人")] |
|||
public Guid? CreatorId { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 最后修改时间
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "最后修改时间")] |
|||
[ImporterHeader(Name = "最后修改时间")] |
|||
public DateTime? LastModificationTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 最后修改人
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "最后修改人")] |
|||
[ImporterHeader(Name = "最后修改人")] |
|||
public Guid? LastModifierId { get; set; } |
|||
|
|||
|
|||
} |
|||
} |
@ -0,0 +1,141 @@ |
|||
using Magicodes.ExporterAndImporter.Core; |
|||
using Magicodes.ExporterAndImporter.Excel; |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Text; |
|||
using Volo.Abp.Application.Dtos; |
|||
|
|||
namespace WY.NewJit.PrintTable |
|||
{ |
|||
/// <summary>
|
|||
/// 零件查询结果DTO
|
|||
/// </summary>
|
|||
[ExcelExporter(Name = "未打印表", AutoFitAllColumn = true, MaxRowNumberOnASheet = 1000)] //一个Sheet最大允许的行数,设置了之后将输出多个Sheet
|
|||
[Serializable] |
|||
public class WaitPrintDto |
|||
{ |
|||
/// <summary>
|
|||
/// 对应M100的Id
|
|||
/// </summary>
|
|||
public Guid M100Id { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 业务类型:1 门板 2 其它柱护板 3 柱护板
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "业务类型")] |
|||
[ImporterHeader(Name = "业务类型")] |
|||
public string BusinessType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 产线
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "产线")] |
|||
[ImporterHeader(Name = "产线")] |
|||
public string ProductLine { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 上线时间
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "上线时间")] |
|||
[ImporterHeader(Name = "上线时间")] |
|||
public DateTime OnlineTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 大众排序号
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "大众排序号")] |
|||
[ImporterHeader(Name = "大众排序号")] |
|||
public int HostSN { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 订单号
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "订单号")] |
|||
[ImporterHeader(Name = "订单号")] |
|||
public string KNR { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 底盘号(为空时是补充的断号记录)
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "底盘号")] |
|||
[ImporterHeader(Name = "底盘号")] |
|||
public string VIN { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 车型
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "车型")] |
|||
[ImporterHeader(Name = "车型")] |
|||
public string VehicleModelCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 总成组ID
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "总成组ID")] |
|||
[ImporterHeader(Name = "总成组ID")] |
|||
public Guid? AssemblyID { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 单据状态:1 未解析 2 已解析 4 断号
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "单据状态")] |
|||
[ImporterHeader(Name = "单据状态")] |
|||
public string BillStatus { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 打印类型: 1 顺序打印 2 补账打印
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "打印类型")] |
|||
[ImporterHeader(Name = "打印类型")] |
|||
public int PrintType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 自定义排序号(910001 910002 等)
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "自定义排序号")] |
|||
[ImporterHeader(Name = "自定义排序号")] |
|||
public int HostSN2 { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 描述
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "描述")] |
|||
[ImporterHeader(Name = "描述")] |
|||
public string Description { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 接收时间
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "接收时间")] |
|||
[ImporterHeader(Name = "接收时间")] |
|||
public DateTime? ReceiveTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 创建时间
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "创建时间")] |
|||
[ImporterHeader(Name = "创建时间")] |
|||
public DateTime? CreationTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 创建人
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "创建人")] |
|||
[ImporterHeader(Name = "创建人")] |
|||
public Guid? CreatorId { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 最后修改时间
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "最后修改时间")] |
|||
[ImporterHeader(Name = "最后修改时间")] |
|||
public DateTime? LastModificationTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 最后修改人
|
|||
/// </summary>
|
|||
[ExporterHeader(DisplayName = "最后修改人")] |
|||
[ImporterHeader(Name = "最后修改人")] |
|||
public Guid? LastModifierId { get; set; } |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace WY.NewJit.PrintTable |
|||
{ |
|||
internal class AlreadyPrintAppService |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace WY.NewJit.PrintTable |
|||
{ |
|||
internal class WaitPrintAppService |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,113 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Collections.ObjectModel; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Domain.Entities; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace WY.NewJit.PrintTable |
|||
{ |
|||
/// <summary>
|
|||
/// 未打印表
|
|||
/// </summary>
|
|||
public class AlreadyPrint : Entity<Guid> |
|||
{ |
|||
/// <summary>
|
|||
///
|
|||
/// </summary>
|
|||
//public Guid Id { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 3 柱护板
|
|||
/// </summary>
|
|||
public Guid M100Id { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 业务类型:1 门板 2 其它柱护板 3 柱护板
|
|||
/// </summary>
|
|||
public string BusinessType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 产线
|
|||
/// </summary>
|
|||
public string ProductLine { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 上线时间
|
|||
/// </summary>
|
|||
public DateTime OnlineTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 大众排序号
|
|||
/// </summary>
|
|||
public int HostSN { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 订单号
|
|||
/// </summary>
|
|||
public string KNR { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 底盘号(为空时是补充的断号记录)
|
|||
/// </summary>
|
|||
public string VIN { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 车型
|
|||
/// </summary>
|
|||
public string VehicleModelCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 总成组ID
|
|||
/// </summary>
|
|||
public Guid? AssemblyID { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 单据状态:1 未解析 2 已解析 4 断号
|
|||
/// </summary>
|
|||
public string BillStatus { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 打印类型: 1 顺序打印 2 补账打印
|
|||
/// </summary>
|
|||
public int PrintType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 自定义排序号(910001 910002 等)
|
|||
/// </summary>
|
|||
public int HostSN2 { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 描述
|
|||
/// </summary>
|
|||
public string Description { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 接收时间
|
|||
/// </summary>
|
|||
public DateTime? ReceiveTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 创建时间
|
|||
/// </summary>
|
|||
public DateTime? CreationTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 创建人
|
|||
/// </summary>
|
|||
public Guid? CreatorId { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 最后修改时间
|
|||
/// </summary>
|
|||
public DateTime? LastModificationTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 最后修改人
|
|||
/// </summary>
|
|||
public Guid? LastModifierId { get; set; } |
|||
} |
|||
} |
|||
|
@ -0,0 +1,113 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Collections.ObjectModel; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Domain.Entities; |
|||
using Volo.Abp.Domain.Entities.Auditing; |
|||
|
|||
namespace WY.NewJit.PrintTable |
|||
{ |
|||
/// <summary>
|
|||
/// 未打印表
|
|||
/// </summary>
|
|||
public class WaitPrint : Entity<Guid> |
|||
{ |
|||
/// <summary>
|
|||
///
|
|||
/// </summary>
|
|||
//public Guid Id { get; set; }
|
|||
|
|||
/// <summary>
|
|||
/// 3 柱护板
|
|||
/// </summary>
|
|||
public Guid M100Id { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 业务类型:1 门板 2 其它柱护板 3 柱护板
|
|||
/// </summary>
|
|||
public string BusinessType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 产线
|
|||
/// </summary>
|
|||
public string ProductLine { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 上线时间
|
|||
/// </summary>
|
|||
public DateTime OnlineTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 大众排序号
|
|||
/// </summary>
|
|||
public int HostSN { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 订单号
|
|||
/// </summary>
|
|||
public string KNR { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 底盘号(为空时是补充的断号记录)
|
|||
/// </summary>
|
|||
public string VIN { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 车型
|
|||
/// </summary>
|
|||
public string VehicleModelCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 总成组ID
|
|||
/// </summary>
|
|||
public Guid? AssemblyID { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 单据状态:1 未解析 2 已解析 4 断号
|
|||
/// </summary>
|
|||
public string BillStatus { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 打印类型: 1 顺序打印 2 补账打印
|
|||
/// </summary>
|
|||
public int PrintType { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 自定义排序号(910001 910002 等)
|
|||
/// </summary>
|
|||
public int HostSN2 { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 描述
|
|||
/// </summary>
|
|||
public string Description { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 接收时间
|
|||
/// </summary>
|
|||
public DateTime? ReceiveTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 创建时间
|
|||
/// </summary>
|
|||
public DateTime? CreationTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 创建人
|
|||
/// </summary>
|
|||
public Guid? CreatorId { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 最后修改时间
|
|||
/// </summary>
|
|||
public DateTime? LastModificationTime { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 最后修改人
|
|||
/// </summary>
|
|||
public Guid? LastModifierId { get; set; } |
|||
} |
|||
} |
|||
|
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace WY.NewJit.PrintTable.Services |
|||
{ |
|||
internal class AlreadyPrintDomainService |
|||
{ |
|||
} |
|||
} |
@ -0,0 +1,12 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace WY.NewJit.PrintTable.Services |
|||
{ |
|||
internal class WaitPrintDomainService |
|||
{ |
|||
} |
|||
} |
Loading…
Reference in new issue