wanggang
1 year ago
9 changed files with 5579 additions and 180 deletions
@ -1,160 +1,165 @@ |
|||||
using Magicodes.ExporterAndImporter.Core; |
|
||||
using System; |
using System; |
||||
using System.Collections.Generic; |
|
||||
using System.ComponentModel.DataAnnotations; |
using System.ComponentModel.DataAnnotations; |
||||
using System.Linq; |
using Magicodes.ExporterAndImporter.Core; |
||||
using System.Text; |
|
||||
using System.Threading.Tasks; |
|
||||
using Volo.Abp.Application.Dtos; |
using Volo.Abp.Application.Dtos; |
||||
|
|
||||
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos |
namespace Win.Sfs.SettleAccount.Entities.BQ.Dtos; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// PUB发运数据
|
||||
|
/// </summary>
|
||||
|
public class PUB_SE_DETAIL_DTO : EntityDto<Guid> |
||||
{ |
{ |
||||
/// <summary>
|
/// <summary>
|
||||
/// PUB发运数据
|
/// 期间
|
||||
/// </summary>
|
/// </summary>
|
||||
public class PUB_SE_DETAIL_DTO : EntityDto<Guid> |
[Display(Name = "期间")] |
||||
{ |
public int Version { set; get; } |
||||
/// <summary>
|
|
||||
/// 期间
|
/// <summary>
|
||||
/// </summary>
|
/// 发货时间
|
||||
[Display(Name = "期间")] |
/// </summary>
|
||||
public int Version { set; get; } |
[Display(Name = "发货时间")] |
||||
|
public DateTime ShippingDate { set; get; } |
||||
/// <summary>
|
|
||||
/// 发货时间
|
/// <summary>
|
||||
/// </summary>
|
/// 发运单号
|
||||
[Display(Name = "发货时间")] |
/// </summary>
|
||||
public DateTime ShippingDate { set; get; } |
[Display(Name = "发运单号")] |
||||
|
public string WmsBillNum { set; get; } |
||||
/// <summary>
|
|
||||
/// 发运单号
|
/// <summary>
|
||||
/// </summary>
|
/// 零件号
|
||||
[Display(Name = "发运单号")] |
/// </summary>
|
||||
public string WmsBillNum { set; get; } |
[Display(Name = "零件号")] |
||||
|
public string LU { get; set; } |
||||
/// <summary>
|
|
||||
/// 零件号
|
/// <summary>
|
||||
/// </summary>
|
/// 生产号
|
||||
[Display(Name = "零件号")] |
/// </summary>
|
||||
public string LU { get; set; } |
[Display(Name = "生产号")] |
||||
|
public string PN { get; set; } |
||||
/// <summary>
|
|
||||
/// 生产号
|
/// <summary>
|
||||
/// </summary>
|
/// 组合键值(LU+PN)
|
||||
[Display(Name = "生产号")] |
/// </summary>
|
||||
public string PN { get; set; } |
[Display(Name = "组合键值(LU+PN)")] |
||||
|
public string KeyCode { get; set; } |
||||
/// <summary>
|
|
||||
/// 组合键值(LU+PN)
|
/// <summary>
|
||||
/// </summary>
|
/// 数量
|
||||
[Display(Name = "组合键值(LU+PN)")] |
/// </summary>
|
||||
public string KeyCode { get; set; } |
[Display(Name = "数量")] |
||||
|
public decimal Qty { get; set; } |
||||
/// <summary>
|
|
||||
/// 数量
|
/// <summary>
|
||||
/// </summary>
|
/// 日顺序号
|
||||
[Display(Name = "数量")] |
/// </summary>
|
||||
public decimal Qty { get; set; } |
[Display(Name = "日顺序号")] |
||||
|
public string SeqNumber { get; set; } |
||||
/// <summary>
|
|
||||
/// 日顺序号
|
/// <summary>
|
||||
/// </summary>
|
/// 小总成号
|
||||
[Display(Name = "日顺序号")] |
/// </summary>
|
||||
public string SeqNumber { get; set; } |
[Display(Name = "小总成号")] |
||||
|
public string AssemblyCode { get; set; } |
||||
/// <summary>
|
|
||||
/// 小总成号
|
/// <summary>
|
||||
/// </summary>
|
/// 注塑码
|
||||
[Display(Name = "小总成号")] |
/// </summary>
|
||||
public string AssemblyCode { get; set; } |
[Display(Name = "注塑码")] |
||||
|
public string InjectionCode { get; set; } |
||||
/// <summary>
|
|
||||
/// 注塑码
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "注塑码")] |
|
||||
public string InjectionCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 订单时间
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "订单时间")] |
|
||||
public DateTime BeginDate { get; set; } |
|
||||
} |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 导出
|
|
||||
/// </summary>
|
|
||||
public class PUB_SE_DETAIL_EXPORT_DTO |
|
||||
{ |
|
||||
/// <summary>
|
|
||||
/// 期间
|
|
||||
/// </summary>
|
|
||||
[ExporterHeader(DisplayName = "日顺序号")] |
|
||||
public int Version { set; get; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 发货时间
|
|
||||
/// </summary>
|
|
||||
[ExporterHeader(DisplayName = "日顺序号")] |
|
||||
public DateTime ShippingDate { set; get; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 发运单号
|
|
||||
/// </summary>
|
|
||||
[ExporterHeader(DisplayName = "日顺序号")] |
|
||||
public string WmsBillNum { set; get; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 零件号
|
|
||||
/// </summary>
|
|
||||
[ExporterHeader(DisplayName = "日顺序号")] |
|
||||
public string LU { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 生产号
|
|
||||
/// </summary>
|
|
||||
[ExporterHeader(DisplayName = "日顺序号")] |
|
||||
public string PN { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 组合键值(LU+PN)
|
|
||||
/// </summary>
|
|
||||
[ExporterHeader(DisplayName = "日顺序号")] |
|
||||
public string KeyCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 数量
|
|
||||
/// </summary>
|
|
||||
[ExporterHeader(DisplayName = "日顺序号")] |
|
||||
public decimal Qty { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 日顺序号
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "日顺序号")] |
|
||||
[ExporterHeader(DisplayName = "日顺序号")] |
|
||||
public string SeqNumber { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 小总成号
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "小总成号")] |
|
||||
[ExporterHeader(DisplayName = "小总成号")] |
|
||||
public string AssemblyCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 注塑码
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "注塑码")] |
|
||||
[ExporterHeader(DisplayName = "注塑码")] |
|
||||
public string InjectionCode { get; set; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// 订单时间
|
|
||||
/// </summary>
|
|
||||
[Display(Name = "订单时间")] |
|
||||
[ExporterHeader(DisplayName = "订单时间")] |
|
||||
public DateTime BeginDate { get; set; } |
|
||||
} |
|
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 订单时间
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "订单时间")] |
||||
|
public DateTime BeginDate { get; set; } |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 查询
|
||||
|
/// </summary>
|
||||
|
public class PUB_SE_DETAIL_RequestDto : RequestDto |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 业务类别
|
||||
|
/// </summary>
|
||||
|
public EnumBusinessType BusinessType { get; set; } |
||||
|
} |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 导出
|
||||
|
/// </summary>
|
||||
|
public class PUB_SE_DETAIL_EXPORT_DTO |
||||
|
{ |
||||
|
/// <summary>
|
||||
|
/// 期间
|
||||
|
/// </summary>
|
||||
|
[ExporterHeader(DisplayName = "日顺序号")] |
||||
|
public int Version { set; get; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 发货时间
|
||||
|
/// </summary>
|
||||
|
[ExporterHeader(DisplayName = "日顺序号")] |
||||
|
public DateTime ShippingDate { set; get; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 发运单号
|
||||
|
/// </summary>
|
||||
|
[ExporterHeader(DisplayName = "日顺序号")] |
||||
|
public string WmsBillNum { set; get; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 零件号
|
||||
|
/// </summary>
|
||||
|
[ExporterHeader(DisplayName = "日顺序号")] |
||||
|
public string LU { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 生产号
|
||||
|
/// </summary>
|
||||
|
[ExporterHeader(DisplayName = "日顺序号")] |
||||
|
public string PN { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 组合键值(LU+PN)
|
||||
|
/// </summary>
|
||||
|
[ExporterHeader(DisplayName = "日顺序号")] |
||||
|
public string KeyCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 数量
|
||||
|
/// </summary>
|
||||
|
[ExporterHeader(DisplayName = "日顺序号")] |
||||
|
public decimal Qty { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 日顺序号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "日顺序号")] |
||||
|
[ExporterHeader(DisplayName = "日顺序号")] |
||||
|
public string SeqNumber { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 小总成号
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "小总成号")] |
||||
|
[ExporterHeader(DisplayName = "小总成号")] |
||||
|
public string AssemblyCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 注塑码
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "注塑码")] |
||||
|
[ExporterHeader(DisplayName = "注塑码")] |
||||
|
public string InjectionCode { get; set; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// 订单时间
|
||||
|
/// </summary>
|
||||
|
[Display(Name = "订单时间")] |
||||
|
[ExporterHeader(DisplayName = "订单时间")] |
||||
|
public DateTime BeginDate { get; set; } |
||||
} |
} |
||||
|
File diff suppressed because it is too large
@ -0,0 +1,216 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class _202307311 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "CreatorId", |
||||
|
table: "Set_VmiLog", |
||||
|
type: "uniqueidentifier", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "Set_VmiLog", |
||||
|
type: "datetime2", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "LastModifierId", |
||||
|
table: "Set_VmiLog", |
||||
|
type: "uniqueidentifier", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Batch", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "BillTime", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "datetime2", |
||||
|
nullable: false, |
||||
|
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified)); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "CustId", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "DeliveryHose", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "DeliveryIndex", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "DnBillNum", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<DateTime>( |
||||
|
name: "DnBillTime", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "datetime2", |
||||
|
nullable: false, |
||||
|
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified)); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "DnOper", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "FromErpLocCode", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "FromHose", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "FromLocCode", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Oper", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "PartCode", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Remark", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "ToErpLocCode", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "ToHose", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "ToLocCode", |
||||
|
table: "Set_PUB_SE_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "CreatorId", |
||||
|
table: "Set_VmiLog"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "LastModificationTime", |
||||
|
table: "Set_VmiLog"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "LastModifierId", |
||||
|
table: "Set_VmiLog"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Batch", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "BillTime", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "CustId", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DeliveryHose", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DeliveryIndex", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DnBillNum", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DnBillTime", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "DnOper", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "FromErpLocCode", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "FromHose", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "FromLocCode", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Oper", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "PartCode", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Remark", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "ToErpLocCode", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "ToHose", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "ToLocCode", |
||||
|
table: "Set_PUB_SE_DETAIL"); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue