31 changed files with 104599 additions and 435 deletions
@ -1,47 +1,13 @@ |
|||
using DocumentFormat.OpenXml.Wordprocessing; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Data; |
|||
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
|||
|
|||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|||
|
|||
public class UnplannedReceiptJobDetailDTO : SfsJobRecommendToDetailDTOBase |
|||
{ |
|||
/// <summary>
|
|||
/// 原因代码
|
|||
/// </summary>
|
|||
[Display(Name = "原因代码")] |
|||
public string ReasonCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 专案
|
|||
/// </summary>
|
|||
[Display(Name = "专案")] |
|||
public string CaseCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 项目分类
|
|||
/// </summary>
|
|||
[Display(Name = "项目分类")] |
|||
public string ProjCapacityCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 次交易码
|
|||
/// </summary>
|
|||
[Display(Name = "次交易码")] |
|||
public string OnceBusiCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 扩展属性
|
|||
/// </summary>
|
|||
[Display(Name = "扩展属性")] |
|||
public ExtraPropertyDictionary ExtraProperties { get; set; } = new ExtraPropertyDictionary(); |
|||
|
|||
/// <summary>
|
|||
/// 说明
|
|||
/// </summary>
|
|||
[Display(Name = "说明")] |
|||
public string Explain { get; set; } |
|||
|
|||
|
|||
public ExtraPropertyDictionary ExtraProperties { get; set; } = new(); |
|||
} |
|||
|
@ -1,45 +1,13 @@ |
|||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|||
|
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Data; |
|||
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
|||
|
|||
namespace Win_in.Sfs.Wms.Store.Application.Contracts; |
|||
|
|||
public class UnplannedReceiptJobDetailInput : SfsJobRecommendToDetailInputBase, IHasExtraProperties |
|||
{ |
|||
/// <summary>
|
|||
/// 原因代码
|
|||
/// </summary>
|
|||
[Display(Name = "原因代码")] |
|||
public string ReasonCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 专案
|
|||
/// </summary>
|
|||
[Display(Name = "专案")] |
|||
public string CaseCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 项目分类
|
|||
/// </summary>
|
|||
[Display(Name = "项目分类")] |
|||
public string ProjCapacityCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 次交易码
|
|||
/// </summary>
|
|||
[Display(Name = "次交易码")] |
|||
public string OnceBusiCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 扩展属性
|
|||
/// </summary>
|
|||
[Display(Name = "扩展属性")] |
|||
public ExtraPropertyDictionary ExtraProperties { get; set; } = new ExtraPropertyDictionary(); |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 说明
|
|||
/// </summary>
|
|||
[Display(Name = "说明")] |
|||
public string Explain { get; set; } |
|||
public ExtraPropertyDictionary ExtraProperties { get; set; } = new(); |
|||
} |
|||
|
@ -1,45 +1,12 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
using Volo.Abp.Data; |
|||
using Win_in.Sfs.Shared.Domain.Shared.Enums.Store; |
|||
|
|||
namespace Win_in.Sfs.Wms.Store.Domain; |
|||
|
|||
public class UnplannedReceiptJobDetail : SfsJobRecommendToDetailEntityBase, IHasExtraProperties |
|||
{ |
|||
|
|||
/// <summary>
|
|||
/// 原因代码
|
|||
/// </summary>
|
|||
public string ReasonCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 专案
|
|||
/// </summary>
|
|||
[Display(Name = "专案")] |
|||
public string CaseCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 项目分类
|
|||
/// </summary>
|
|||
[Display(Name = "项目分类")] |
|||
public string ProjCapacityCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 次交易码
|
|||
/// </summary>
|
|||
[Display(Name = "次交易码")] |
|||
public string OnceBusiCode { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// 扩展属性
|
|||
/// </summary>
|
|||
public ExtraPropertyDictionary ExtraProperties { get; set; } = new ExtraPropertyDictionary(); |
|||
|
|||
|
|||
/// <summary>
|
|||
/// 说明
|
|||
/// </summary>
|
|||
[Display(Name = "说明")] |
|||
public string Explain { get; set; } |
|||
|
|||
public ExtraPropertyDictionary ExtraProperties { get; set; } = new(); |
|||
} |
|||
|
File diff suppressed because it is too large
@ -0,0 +1,256 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Win_in.Sfs.Wms.Store.Migrations |
|||
{ |
|||
public partial class Updata_UnplannedReceipt2 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "CaseCode", |
|||
table: "Job_UnplannedReceiptJobDetail"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Explain", |
|||
table: "Job_UnplannedReceiptJobDetail"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "OnceBusiCode", |
|||
table: "Job_UnplannedReceiptJobDetail"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ProjCapacityCode", |
|||
table: "Job_UnplannedReceiptJobDetail"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ReasonCode", |
|||
table: "Job_UnplannedReceiptJobDetail"); |
|||
|
|||
migrationBuilder.RenameColumn( |
|||
name: "MesDeliveryNo", |
|||
table: "Store_DeliverRequestDetail", |
|||
newName: "MesDeliveryContainer"); |
|||
|
|||
migrationBuilder.RenameColumn( |
|||
name: "MesDeliveryNo", |
|||
table: "Store_DeliverNoteDetail", |
|||
newName: "MesDeliveryContainer"); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ErpLocationCode", |
|||
table: "Store_UnplannedReceiptRequestDetail", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TyrpNumber", |
|||
table: "Store_ExchangeData", |
|||
type: "nvarchar(64)", |
|||
maxLength: 64, |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)"); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "MesTruckNumber", |
|||
table: "Store_DeliverRequest", |
|||
type: "nvarchar(64)", |
|||
maxLength: 64, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "MesTruckNumber", |
|||
table: "Store_DeliverNote", |
|||
type: "nvarchar(64)", |
|||
maxLength: 64, |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CaseCode", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ErpLocationCode", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Explain", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ItemCode", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ItemDesc1", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ItemDesc2", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ItemName", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "OnceBusiCode", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ProjCapacityCode", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Qty", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ReasonCode", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "MesTruckNumber", |
|||
table: "Job_DeliverJob", |
|||
type: "nvarchar(64)", |
|||
maxLength: 64, |
|||
nullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "ErpLocationCode", |
|||
table: "Store_UnplannedReceiptRequestDetail"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "MesTruckNumber", |
|||
table: "Store_DeliverRequest"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "MesTruckNumber", |
|||
table: "Store_DeliverNote"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "CaseCode", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ErpLocationCode", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Explain", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ItemCode", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ItemDesc1", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ItemDesc2", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ItemName", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "OnceBusiCode", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ProjCapacityCode", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Qty", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "ReasonCode", |
|||
table: "Job_UnplannedReceiptJob"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "MesTruckNumber", |
|||
table: "Job_DeliverJob"); |
|||
|
|||
migrationBuilder.RenameColumn( |
|||
name: "MesDeliveryContainer", |
|||
table: "Store_DeliverRequestDetail", |
|||
newName: "MesDeliveryNo"); |
|||
|
|||
migrationBuilder.RenameColumn( |
|||
name: "MesDeliveryContainer", |
|||
table: "Store_DeliverNoteDetail", |
|||
newName: "MesDeliveryNo"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "TyrpNumber", |
|||
table: "Store_ExchangeData", |
|||
type: "nvarchar(max)", |
|||
nullable: false, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(64)", |
|||
oldMaxLength: 64); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "CaseCode", |
|||
table: "Job_UnplannedReceiptJobDetail", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Explain", |
|||
table: "Job_UnplannedReceiptJobDetail", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "OnceBusiCode", |
|||
table: "Job_UnplannedReceiptJobDetail", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ProjCapacityCode", |
|||
table: "Job_UnplannedReceiptJobDetail", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "ReasonCode", |
|||
table: "Job_UnplannedReceiptJobDetail", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,43 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Win_in.Sfs.Wms.Store.Migrations |
|||
{ |
|||
public partial class Updata_UnplannedReceipt3 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.RenameColumn( |
|||
name: "ErpLocationCode", |
|||
table: "Store_UnplannedReceiptRequestDetail", |
|||
newName: "FromErpLocationCode"); |
|||
|
|||
migrationBuilder.AlterColumn<decimal>( |
|||
name: "Qty", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "decimal(18,6)", |
|||
nullable: false, |
|||
defaultValue: 0m, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.RenameColumn( |
|||
name: "FromErpLocationCode", |
|||
table: "Store_UnplannedReceiptRequestDetail", |
|||
newName: "ErpLocationCode"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "Qty", |
|||
table: "Job_UnplannedReceiptJob", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(decimal), |
|||
oldType: "decimal(18,6)"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,25 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Win_in.Sfs.Wms.Store.Migrations |
|||
{ |
|||
public partial class Updata_UnplannedReceipt4 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.RenameColumn( |
|||
name: "ErpLocationCode", |
|||
table: "Job_UnplannedReceiptJob", |
|||
newName: "FromErpLocationCode"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.RenameColumn( |
|||
name: "FromErpLocationCode", |
|||
table: "Job_UnplannedReceiptJob", |
|||
newName: "ErpLocationCode"); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue