学 赵
1 year ago
8 changed files with 6761 additions and 88 deletions
@ -0,0 +1,71 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.ComponentModel.DataAnnotations; |
|||
using System.Linq; |
|||
using System.Text; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Domain.Entities; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Entities.BQ.Vmi |
|||
{ |
|||
public class VmiBalanceSumDetail : Entity<Guid> |
|||
{ |
|||
public VmiBalanceSumDetail() |
|||
{ |
|||
} |
|||
|
|||
public VmiBalanceSumDetail(string vincode, string realPartcode, string erpToLoc, DateTime? shippingTime, DateTime? receiveTime, decimal sumQty, decimal shippingQty, decimal settleQty, decimal returnQty, decimal inputQty, decimal outputQty) |
|||
{ |
|||
Vincode = vincode; |
|||
RealPartcode = realPartcode; |
|||
ErpToLoc = erpToLoc; |
|||
ShippingTime = shippingTime; |
|||
ReceiveTime = receiveTime; |
|||
SumQty = sumQty; |
|||
ShippingQty = shippingQty; |
|||
SettleQty = settleQty; |
|||
ReturnQty = returnQty; |
|||
InputQty = inputQty; |
|||
OutputQty = outputQty; |
|||
} |
|||
|
|||
|
|||
|
|||
public string Vincode { set; get; } |
|||
public string RealPartcode { set; get; } |
|||
public string ErpToLoc { set; get; } |
|||
public DateTime? ShippingTime { set; get; } |
|||
public DateTime? ReceiveTime { set; get; } |
|||
public decimal SumQty { set; get; } |
|||
public decimal ShippingQty { set; get; } |
|||
public decimal SettleQty { set; get; } |
|||
public decimal ReturnQty { set; get; } |
|||
public decimal InputQty { set; get; } |
|||
public decimal OutputQty { set; get; } |
|||
} |
|||
public class VmiBalanceSum : Entity<Guid> |
|||
{ |
|||
public VmiBalanceSum() |
|||
{ |
|||
} |
|||
|
|||
public VmiBalanceSum(string realPartcode, string erpToLoc, decimal sumQty) |
|||
{ |
|||
RealPartcode = realPartcode; |
|||
ErpToLoc = erpToLoc; |
|||
SumQty = sumQty; |
|||
} |
|||
[Display(Name ="零件号")] |
|||
public string RealPartcode { set; get; } |
|||
[Display(Name = "库位")] |
|||
public string ErpToLoc { set; get; } |
|||
[Display(Name = "数量")] |
|||
public decimal SumQty { set; get; } |
|||
|
|||
|
|||
|
|||
} |
|||
|
|||
|
|||
|
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,231 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Migrations |
|||
{ |
|||
public partial class _202312140001 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<int>( |
|||
name: "Version", |
|||
table: "Set_VmiLog", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "StateOther", |
|||
table: "Set_BBAC_SA", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "Set_VmiBalanceSum", |
|||
columns: table => new |
|||
{ |
|||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
RealPartcode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
ErpToLoc = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
SumQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_Set_VmiBalanceSum", x => x.Id); |
|||
}); |
|||
|
|||
migrationBuilder.CreateTable( |
|||
name: "Set_VmiBalanceSumDetail", |
|||
columns: table => new |
|||
{ |
|||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|||
Vincode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
RealPartcode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
ErpToLoc = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|||
ShippingTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|||
ReceiveTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|||
SumQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|||
ShippingQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|||
SettleQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|||
ReturnQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|||
InputQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|||
OutputQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false) |
|||
}, |
|||
constraints: table => |
|||
{ |
|||
table.PrimaryKey("PK_Set_VmiBalanceSumDetail", x => x.Id); |
|||
}); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|||
column: "ConcurrencyStamp", |
|||
value: "3a923aaaa9ae40909dd4c4c9742b6a6b"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|||
column: "ConcurrencyStamp", |
|||
value: "6ec51a85d14d4b8fb1d73448c094bc7e"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|||
column: "ConcurrencyStamp", |
|||
value: "8bb2744237da4124b53d60ae195d0033"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|||
column: "ConcurrencyStamp", |
|||
value: "ded0555578d84ac3b7fe4398c6fa0fed"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|||
column: "ConcurrencyStamp", |
|||
value: "cd696e4bd17945d6a12a563e6f4df0bd"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|||
column: "ConcurrencyStamp", |
|||
value: "f975d3b2aed6483ebccc47c2759ac7a1"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|||
column: "ConcurrencyStamp", |
|||
value: "a155d7eb0a4241c18959939d43fae77e"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|||
column: "ConcurrencyStamp", |
|||
value: "f2fa14427a7b40ff9931d64d69e1ff27"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|||
column: "ConcurrencyStamp", |
|||
value: "601c312fb4704923bae6f5fcb8c43f5a"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|||
column: "ConcurrencyStamp", |
|||
value: "361fff6305e343cabd1a30996f06b2f6"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|||
column: "ConcurrencyStamp", |
|||
value: "3353367fc55e4997a9f0b1d4619f1ec9"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropTable( |
|||
name: "Set_VmiBalanceSum"); |
|||
|
|||
migrationBuilder.DropTable( |
|||
name: "Set_VmiBalanceSumDetail"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Version", |
|||
table: "Set_VmiLog"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "StateOther", |
|||
table: "Set_BBAC_SA"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("185c5968-e02b-267e-db2f-225fccfc9716"), |
|||
column: "ConcurrencyStamp", |
|||
value: "77f1b41949d5436b8d1935bc21b98a54"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("1bb02f67-ed05-6cc1-1507-502e8f6c7a31"), |
|||
column: "ConcurrencyStamp", |
|||
value: "6404d1839d68478189fd8a9fbd72067b"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("49b1da12-418c-544d-fe8b-be7e5b572452"), |
|||
column: "ConcurrencyStamp", |
|||
value: "6a99699beaa946bc82e545cbabd6594a"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("6f68fc8f-b058-c3f4-e07d-722c61f3f7fa"), |
|||
column: "ConcurrencyStamp", |
|||
value: "5973e508dc284fbda7801ac2d6114f50"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("7a0dc087-a859-5863-eb6e-56f588bd779e"), |
|||
column: "ConcurrencyStamp", |
|||
value: "af105df5a597486483b5a80e7a82012a"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("8f7dc23d-e2e9-3691-cfe9-545bb958e3f2"), |
|||
column: "ConcurrencyStamp", |
|||
value: "428e13f0333542d8b84288ba8cbb9048"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("b9b9c79f-4894-474b-4f67-b1ec121c41e5"), |
|||
column: "ConcurrencyStamp", |
|||
value: "faa60c8fdc9f46518f34d756d932858a"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c09c23ea-815f-1b43-4476-2365a8d9a60b"), |
|||
column: "ConcurrencyStamp", |
|||
value: "80ecdd20c8754faf961e532967ff2b84"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("c1f71240-1b81-0107-8b23-ddc9811a3efe"), |
|||
column: "ConcurrencyStamp", |
|||
value: "76c6644c2274455d8db9d4032cd48f62"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("ef3d8e8a-a88e-ca1f-e615-714c6bc48824"), |
|||
column: "ConcurrencyStamp", |
|||
value: "c0009655671b4c67aafa641a18ab7512"); |
|||
|
|||
migrationBuilder.UpdateData( |
|||
table: "Set_JobItem", |
|||
keyColumn: "Id", |
|||
keyValue: new Guid("f306b380-47e5-5c01-b902-67ca4113a8f4"), |
|||
column: "ConcurrencyStamp", |
|||
value: "6669dd2cf3114f43989f64e9f27ef1b5"); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue