Browse Source

更新版本

branch_ccpg_220107
Administrator 3 years ago
parent
commit
48ab1fdc8d
  1. 17869
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20211103.txt
  2. 8069
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210830073315_init.Designer.cs
  3. 3505
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210830073315_init.cs
  4. 8246
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210830073634_202108300001.Designer.cs
  5. 80
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210830073634_202108300001.cs
  6. 8434
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210901012406_201209010001.Designer.cs
  7. 95
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210901012406_201209010001.cs
  8. 8434
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210901030011_202109010002.Designer.cs
  9. 39
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210901030011_202109010002.cs
  10. 8514
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210902032556_202109020001.Designer.cs
  11. 45
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210902032556_202109020001.cs
  12. 8626
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210908064420_20210908.Designer.cs
  13. 61
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210908064420_20210908.cs
  14. 8706
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210908064843_2021090801.Designer.cs
  15. 45
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210908064843_2021090801.cs
  16. 8712
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210909023755_data09-02.Designer.cs
  17. 34
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210909023755_data09-02.cs
  18. 8722
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210911114440_202109110001.Designer.cs
  19. 75
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210911114440_202109110001.cs
  20. 8733
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210923073158_202109230001.Designer.cs
  21. 93
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210923073158_202109230001.cs
  22. 8735
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210923075035_202109230003.Designer.cs
  23. 57
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210923075035_202109230003.cs
  24. 8739
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210928072540_data20190928.Designer.cs
  25. 24
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210928072540_data20190928.cs
  26. 8860
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210930051830_2021093001.Designer.cs
  27. 55
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210930051830_2021093001.cs
  28. 8970
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211008014847_2021100801.Designer.cs
  29. 58
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211008014847_2021100801.cs
  30. 8973
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211008025050_2021100802.Designer.cs
  31. 23
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211008025050_2021100802.cs
  32. 9138
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009013417_2021100901.Designer.cs
  33. 126
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009013417_2021100901.cs
  34. 9142
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009013927_2021100902.Designer.cs
  35. 24
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009013927_2021100902.cs
  36. 9145
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009083009_2021100900012.Designer.cs
  37. 23
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009083009_2021100900012.cs
  38. 9145
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211010014458_202110100001.Designer.cs
  39. 17
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211010014458_202110100001.cs
  40. 9285
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211010014700_202110100002.Designer.cs
  41. 62
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211010014700_202110100002.cs
  42. 9288
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211011084504_202110110001.Designer.cs
  43. 89
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211011084504_202110110001.cs
  44. 9292
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211012080054_20211012.Designer.cs
  45. 68
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211012080054_20211012.cs
  46. 9292
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211012084512_2021101201.Designer.cs
  47. 35
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211012084512_2021101201.cs
  48. 9290
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/SettleAccountHttpApiHostMigrationsDbContextModelSnapshot.cs
  49. 1
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
  50. 6
      src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Development.json
  51. 39
      src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs
  52. 61
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs
  53. 8
      src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceList.cs
  54. 29
      src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceListManager.cs
  55. 6
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs
  56. BIN
      src/Shared/Win.Abp.Snowflakes/obj/Debug/netcoreapp5/Win.Abp.Snowflakes.csproj.AssemblyReference.cache
  57. BIN
      src/Shared/Win.Sfs.Shared/obj/Debug/netcoreapp5/Win.Sfs.Shared.csproj.AssemblyReference.cache
  58. BIN
      src/Shared/Win.Utils/obj/Debug/netcoreapp5/Win.Utils.csproj.AssemblyReference.cache

17869
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Logs/log-20211103.txt

File diff suppressed because one or more lines are too long

8069
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210830073315_init.Designer.cs

File diff suppressed because it is too large

3505
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210830073315_init.cs

File diff suppressed because it is too large

8246
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210830073634_202108300001.Designer.cs

File diff suppressed because it is too large

80
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210830073634_202108300001.cs

@ -1,80 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202108300001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Set_MaterialRelationshipDetail",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Version = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CustomerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ErpMaterialCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialDesc = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialProperty = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SettleMaterialCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ShipMaterailCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
AppraisalCategory = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Qty = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_MaterialRelationshipDetail", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Set_MaterialRelationshipVersion",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Year = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Period = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Version = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CustomerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Factory = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_MaterialRelationshipVersion", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_MaterialRelationshipDetail");
migrationBuilder.DropTable(
name: "Set_MaterialRelationshipVersion");
}
}
}

8434
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210901012406_201209010001.Designer.cs

File diff suppressed because it is too large

95
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210901012406_201209010001.cs

@ -1,95 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _201209010001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Set_settle_version",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Year = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: false),
Period = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: false),
Version = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: false),
CustomerCode = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
Factory = table.Column<string>(type: "nvarchar(max)", nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_settle_version", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Set_settlement_part",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Year = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
Period = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
CustomerCode = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
Factory = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
Model = table.Column<string>(type: "nvarchar(max)", nullable: true),
Version = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
SettlementPartCode = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: false),
SettlementPartDesc = table.Column<string>(type: "nvarchar(2048)", maxLength: 2048, nullable: true),
Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
Uom = table.Column<string>(type: "nvarchar(max)", nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_settlement_part", x => x.Id);
});
migrationBuilder.CreateIndex(
name: "IX_Set_settle_version_Version",
table: "Set_settle_version",
column: "Version",
unique: true,
filter: "IsDeleted=0");
migrationBuilder.CreateIndex(
name: "IX_Set_settlement_part_Period_CustomerCode_Version_SettlementPartCode",
table: "Set_settlement_part",
columns: new[] { "Period", "CustomerCode", "Version", "SettlementPartCode" },
unique: true,
filter: "IsDeleted=0");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_settle_version");
migrationBuilder.DropTable(
name: "Set_settlement_part");
}
}
}

8434
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210901030011_202109010002.Designer.cs

File diff suppressed because it is too large

39
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210901030011_202109010002.cs

@ -1,39 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202109010002 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_Set_InvoiceVersion",
table: "Set_InvoiceVersion");
migrationBuilder.RenameTable(
name: "Set_InvoiceVersion",
newName: "Set_settlement_part_version");
migrationBuilder.AddPrimaryKey(
name: "PK_Set_settlement_part_version",
table: "Set_settlement_part_version",
column: "Id");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_Set_settlement_part_version",
table: "Set_settlement_part_version");
migrationBuilder.RenameTable(
name: "Set_settlement_part_version",
newName: "Set_InvoiceVersion");
migrationBuilder.AddPrimaryKey(
name: "PK_Set_InvoiceVersion",
table: "Set_InvoiceVersion",
column: "Id");
}
}
}

8514
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210902032556_202109020001.Designer.cs

File diff suppressed because it is too large

45
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210902032556_202109020001.cs

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202109020001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Set_InvoiceVersion",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Year = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Period = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Version = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CustomerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Factory = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_InvoiceVersion", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_InvoiceVersion");
}
}
}

8626
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210908064420_20210908.Designer.cs

File diff suppressed because it is too large

61
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210908064420_20210908.cs

@ -1,61 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _20210908 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Set_item_invoice_price",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Year = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
Period = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
Version = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
Factory = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: true),
MaterialCode = table.Column<string>(type: "nvarchar(36)", maxLength: 36, nullable: false),
MaterialDesc = table.Column<string>(type: "nvarchar(max)", nullable: true),
UM = table.Column<string>(type: "nvarchar(max)", nullable: true),
Sales = table.Column<string>(type: "nvarchar(max)", nullable: true),
SubAcct = table.Column<string>(type: "nvarchar(max)", nullable: true),
CC = table.Column<string>(type: "nvarchar(max)", nullable: true),
Backorder = table.Column<string>(type: "nvarchar(max)", nullable: true),
Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
ExtendedPrice = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
ExtendedMargin = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_item_invoice_price", x => x.Id);
});
migrationBuilder.CreateIndex(
name: "IX_Set_item_invoice_price_Period_Version_MaterialCode",
table: "Set_item_invoice_price",
columns: new[] { "Period", "Version", "MaterialCode" },
unique: true,
filter: "IsDeleted=0");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_item_invoice_price");
}
}
}

8706
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210908064843_2021090801.Designer.cs

File diff suppressed because it is too large

45
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210908064843_2021090801.cs

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _2021090801 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Set_item_invoice_price_version",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Year = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Period = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Version = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CustomerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Factory = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_item_invoice_price_version", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_item_invoice_price_version");
}
}
}

8712
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210909023755_data09-02.Designer.cs

File diff suppressed because it is too large

34
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210909023755_data09-02.cs

@ -1,34 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class data0902 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "ErpMaterialCode",
table: "Set_fis",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "SettleState",
table: "Set_fis",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ErpMaterialCode",
table: "Set_fis");
migrationBuilder.DropColumn(
name: "SettleState",
table: "Set_fis");
}
}
}

8722
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210911114440_202109110001.Designer.cs

File diff suppressed because it is too large

75
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210911114440_202109110001.cs

@ -1,75 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202109110001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_Set_fis_ChassisNumber2_Version_Model_ItemCode",
table: "Set_fis");
migrationBuilder.AddColumn<decimal>(
name: "DiffQty",
table: "Set_InvoiceSettledDiff",
type: "decimal(18,2)",
nullable: false,
defaultValue: 0m);
migrationBuilder.AddColumn<string>(
name: "Version",
table: "Set_InvoiceSettledDiff",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "ErpMaterialCode",
table: "Set_fis_extend",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "SettleState",
table: "Set_fis_extend",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.CreateIndex(
name: "IX_Set_fis_ChassisNumber2_Version_Model_ItemCode",
table: "Set_fis",
columns: new[] { "ChassisNumber2", "Version", "Model", "ItemCode" });
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_Set_fis_ChassisNumber2_Version_Model_ItemCode",
table: "Set_fis");
migrationBuilder.DropColumn(
name: "DiffQty",
table: "Set_InvoiceSettledDiff");
migrationBuilder.DropColumn(
name: "Version",
table: "Set_InvoiceSettledDiff");
migrationBuilder.DropColumn(
name: "ErpMaterialCode",
table: "Set_fis_extend");
migrationBuilder.DropColumn(
name: "SettleState",
table: "Set_fis_extend");
migrationBuilder.CreateIndex(
name: "IX_Set_fis_ChassisNumber2_Version_Model_ItemCode",
table: "Set_fis",
columns: new[] { "ChassisNumber2", "Version", "Model", "ItemCode" },
unique: true,
filter: "[ChassisNumber2] IS NOT NULL AND [Model] IS NOT NULL");
}
}
}

8733
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210923073158_202109230001.Designer.cs

File diff suppressed because it is too large

93
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210923073158_202109230001.cs

@ -1,93 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202109230001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Model",
table: "Set_fis",
type: "nvarchar(36)",
maxLength: 36,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "KENNCode",
table: "Set_fis",
type: "nvarchar(36)",
maxLength: 36,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(450)",
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "ErpMaterialCode",
table: "Set_fis",
type: "nvarchar(36)",
maxLength: 36,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "ChassisNumber2",
table: "Set_fis",
type: "nvarchar(36)",
maxLength: 36,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(450)",
oldNullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Model",
table: "Set_fis",
type: "nvarchar(max)",
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(36)",
oldMaxLength: 36,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "KENNCode",
table: "Set_fis",
type: "nvarchar(450)",
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(36)",
oldMaxLength: 36,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "ErpMaterialCode",
table: "Set_fis",
type: "nvarchar(max)",
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(36)",
oldMaxLength: 36,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "ChassisNumber2",
table: "Set_fis",
type: "nvarchar(450)",
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(36)",
oldMaxLength: 36,
oldNullable: true);
}
}
}

8735
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210923075035_202109230003.Designer.cs

File diff suppressed because it is too large

57
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210923075035_202109230003.cs

@ -1,57 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202109230003 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "YearKennCode",
table: "Set_prebatch",
type: "nvarchar(36)",
maxLength: 36,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(36)",
oldMaxLength: 36);
migrationBuilder.AlterColumn<string>(
name: "CarCode",
table: "Set_prebatch",
type: "nvarchar(36)",
maxLength: 36,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(36)",
oldMaxLength: 36);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "YearKennCode",
table: "Set_prebatch",
type: "nvarchar(36)",
maxLength: 36,
nullable: false,
defaultValue: "",
oldClrType: typeof(string),
oldType: "nvarchar(36)",
oldMaxLength: 36,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "CarCode",
table: "Set_prebatch",
type: "nvarchar(36)",
maxLength: 36,
nullable: false,
defaultValue: "",
oldClrType: typeof(string),
oldType: "nvarchar(36)",
oldMaxLength: 36,
oldNullable: true);
}
}
}

8739
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210928072540_data20190928.Designer.cs

File diff suppressed because it is too large

24
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210928072540_data20190928.cs

@ -1,24 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class data20190928 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Year",
table: "Set_prebatch",
type: "nvarchar(36)",
maxLength: 36,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Year",
table: "Set_prebatch");
}
}
}

8860
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210930051830_2021093001.Designer.cs

File diff suppressed because it is too large

55
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20210930051830_2021093001.cs

@ -1,55 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _2021093001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Set_SettlementPakAndSpareParts",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Period = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ApplicableFunction = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SettlementPartCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
SettlementPartDesc = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ErpSparePartCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ErpSparePartName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
PartType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
QADCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SupplierCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SupplierName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ProductLine = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
PerCarNum = table.Column<decimal>(type: "decimal(18,2)", maxLength: 50, nullable: false),
Price = table.Column<decimal>(type: "decimal(18,2)", maxLength: 50, nullable: false),
SupplyProportion = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
QuantityPrice = table.Column<decimal>(type: "decimal(18,2)", maxLength: 50, nullable: false),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_SettlementPakAndSpareParts", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_SettlementPakAndSpareParts");
}
}
}

8970
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211008014847_2021100801.Designer.cs

File diff suppressed because it is too large

58
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211008014847_2021100801.cs

@ -1,58 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _2021100801 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Set_SettlementCrossReference",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Period = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
Model = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Factory = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
PartType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SettlementMaterialCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
BomMaterialCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
MaterialDesc = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SupplierCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SupplierDesc = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Buyer = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Version = table.Column<string>(type: "nvarchar(max)", nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_SettlementCrossReference", x => x.Id);
});
migrationBuilder.CreateIndex(
name: "IX_Set_SettlementCrossReference_Period_SettlementMaterialCode_BomMaterialCode",
table: "Set_SettlementCrossReference",
columns: new[] { "Period", "SettlementMaterialCode", "BomMaterialCode" },
unique: true,
filter: "IsDeleted=0");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_SettlementCrossReference");
}
}
}

8973
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211008025050_2021100802.Designer.cs

File diff suppressed because it is too large

23
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211008025050_2021100802.cs

@ -1,23 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _2021100802 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Version",
table: "Set_SettlementPakAndSpareParts",
type: "nvarchar(max)",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Version",
table: "Set_SettlementPakAndSpareParts");
}
}
}

9138
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009013417_2021100901.Designer.cs

File diff suppressed because it is too large

126
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009013417_2021100901.cs

@ -1,126 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _2021100901 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Version",
table: "Set_SettlementPakAndSpareParts",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.AddColumn<string>(
name: "CustomerCode",
table: "Set_SettlementPakAndSpareParts",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AlterColumn<string>(
name: "Version",
table: "Set_SettlementCrossReference",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.CreateTable(
name: "Set_SettlementCrossReference_Version",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Year = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Period = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Version = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CustomerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Factory = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_SettlementCrossReference_Version", x => x.Id);
});
migrationBuilder.CreateTable(
name: "Set_SettlementPakAndSpareParts_Version",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Year = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Period = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Version = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CustomerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Factory = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false),
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_SettlementPakAndSpareParts_Version", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_SettlementCrossReference_Version");
migrationBuilder.DropTable(
name: "Set_SettlementPakAndSpareParts_Version");
migrationBuilder.DropColumn(
name: "CustomerCode",
table: "Set_SettlementPakAndSpareParts");
migrationBuilder.AlterColumn<string>(
name: "Version",
table: "Set_SettlementPakAndSpareParts",
type: "nvarchar(max)",
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "Version",
table: "Set_SettlementCrossReference",
type: "nvarchar(max)",
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50,
oldNullable: true);
}
}
}

9142
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009013927_2021100902.Designer.cs

File diff suppressed because it is too large

24
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009013927_2021100902.cs

@ -1,24 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _2021100902 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "CustomerCode",
table: "Set_SettlementCrossReference",
type: "nvarchar(50)",
maxLength: 50,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "CustomerCode",
table: "Set_SettlementCrossReference");
}
}
}

9145
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009083009_2021100900012.Designer.cs

File diff suppressed because it is too large

23
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211009083009_2021100900012.cs

@ -1,23 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _2021100900012 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Model",
table: "Set_SettlementPakAndSpareParts",
type: "nvarchar(50)",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Model",
table: "Set_SettlementPakAndSpareParts");
}
}
}

9145
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211010014458_202110100001.Designer.cs

File diff suppressed because it is too large

17
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211010014458_202110100001.cs

@ -1,17 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202110100001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
}
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}

9285
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211010014700_202110100002.Designer.cs

File diff suppressed because it is too large

62
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211010014700_202110100002.cs

@ -1,62 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202110100002 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Set_SecMatchBase",
columns: table => new
{
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Version = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Index = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Factory = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Model = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
PartType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SettleMentPartCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialPartCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialDesc = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SupplierCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SupplierName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
UsedNumber = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
SupplyProportion = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Buyer = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
SettlementPrice = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
DiffPrice = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
SettlementNumber = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
TheoreticalSettlementNumber = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
RealSettlementNumber = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
RealSettlementPrice = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
IsDiffNumber = table.Column<bool>(type: "bit", nullable: false),
DiffAmount = table.Column<decimal>(type: "decimal(18,2)", nullable: false),
Remark = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false),
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true),
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true),
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
Enabled = table.Column<bool>(type: "bit", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Set_SecMatchBase", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Set_SecMatchBase");
}
}
}

9288
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211011084504_202110110001.Designer.cs

File diff suppressed because it is too large

89
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211011084504_202110110001.cs

@ -1,89 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _202110110001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "SupplierDesc",
table: "Set_SettlementCrossReference",
type: "nvarchar(128)",
maxLength: 128,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50,
oldNullable: true);
migrationBuilder.AlterColumn<decimal>(
name: "UsedNumber",
table: "Set_SecMatchBase",
type: "decimal(18,2)",
maxLength: 50,
nullable: false,
defaultValue: 0m,
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50,
oldNullable: true);
migrationBuilder.AlterColumn<decimal>(
name: "SupplyProportion",
table: "Set_SecMatchBase",
type: "decimal(18,2)",
maxLength: 50,
nullable: false,
defaultValue: 0m,
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50,
oldNullable: true);
migrationBuilder.AddColumn<string>(
name: "IsSettle",
table: "Set_SecMatchBase",
type: "nvarchar(max)",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsSettle",
table: "Set_SecMatchBase");
migrationBuilder.AlterColumn<string>(
name: "SupplierDesc",
table: "Set_SettlementCrossReference",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(128)",
oldMaxLength: 128,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "UsedNumber",
table: "Set_SecMatchBase",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(decimal),
oldType: "decimal(18,2)",
oldMaxLength: 50);
migrationBuilder.AlterColumn<string>(
name: "SupplyProportion",
table: "Set_SecMatchBase",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(decimal),
oldType: "decimal(18,2)",
oldMaxLength: 50);
}
}
}

9292
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211012080054_20211012.Designer.cs

File diff suppressed because it is too large

68
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211012080054_20211012.cs

@ -1,68 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _20211012 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "Version",
table: "Set_SettlementCrossReference",
type: "nvarchar(50)",
maxLength: 50,
nullable: false,
defaultValue: "",
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50,
oldNullable: true);
migrationBuilder.AlterColumn<string>(
name: "Period",
table: "Set_SettlementCrossReference",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50);
migrationBuilder.AddColumn<string>(
name: "Year",
table: "Set_SettlementCrossReference",
type: "nvarchar(50)",
maxLength: 50,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Year",
table: "Set_SettlementCrossReference");
migrationBuilder.AlterColumn<string>(
name: "Version",
table: "Set_SettlementCrossReference",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50);
migrationBuilder.AlterColumn<string>(
name: "Period",
table: "Set_SettlementCrossReference",
type: "nvarchar(50)",
maxLength: 50,
nullable: false,
defaultValue: "",
oldClrType: typeof(string),
oldType: "nvarchar(50)",
oldMaxLength: 50,
oldNullable: true);
}
}
}

9292
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211012084512_2021101201.Designer.cs

File diff suppressed because it is too large

35
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/20211012084512_2021101201.cs

@ -1,35 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Win.Sfs.SettleAccount.Migrations
{
public partial class _2021101201 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_Set_SettlementCrossReference_Period_SettlementMaterialCode_BomMaterialCode",
table: "Set_SettlementCrossReference");
migrationBuilder.CreateIndex(
name: "IX_Set_SettlementCrossReference_Version_SettlementMaterialCode_BomMaterialCode",
table: "Set_SettlementCrossReference",
columns: new[] { "Version", "SettlementMaterialCode", "BomMaterialCode" },
unique: true,
filter: "IsDeleted=0");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_Set_SettlementCrossReference_Version_SettlementMaterialCode_BomMaterialCode",
table: "Set_SettlementCrossReference");
migrationBuilder.CreateIndex(
name: "IX_Set_SettlementCrossReference_Period_SettlementMaterialCode_BomMaterialCode",
table: "Set_SettlementCrossReference",
columns: new[] { "Period", "SettlementMaterialCode", "BomMaterialCode" },
unique: true,
filter: "IsDeleted=0");
}
}
}

9290
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/Migrations/SettleAccountHttpApiHostMigrationsDbContextModelSnapshot.cs

File diff suppressed because it is too large

1
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj

@ -54,6 +54,7 @@
</ItemGroup>
<ItemGroup>
<Folder Include="Migrations\" />
<Folder Include="wwwroot\files\host\my-file-container\" />
</ItemGroup>

6
src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Development.json

@ -3,8 +3,8 @@
"CorsOrigins": "https://*.abc.com,http://localhost:9528,http://149.223.116.5:8088"
},
"ConnectionStrings": {
"Default": "Server=192.168.0.213;Database=ABP;user id=sa;Password=Microsoft@2021;",
"SettleAccountService": "Server=192.168.0.213;Database=SettleAccountService;user id=sa;Password=Microsoft@2021;"
"Default": "Server=127.0.0.1;Database=ABP;user id=sa;Password=1",
"SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;Password=1;"
},
"Logging": {
"LogLevel": {
@ -13,6 +13,8 @@
"Microsoft.Hosting.Lifetime": "Information"
}
},
"Serilog": {
"Using": [],
"MinumumLevel": {

39
src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Prices/PriceListDtoBase.cs

@ -44,6 +44,8 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
public int Type { get; set; }
public Guid ParentId { set; get; }
[Display(Name = "客户")]
public string CustomerCode { get; set; }
}
@ -57,31 +59,30 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
[Display(Name = "版本")]
[ExporterHeader(DisplayName = "版本")]
public string Version { set; get; }
/// <summary>
///开始时间
/// </summary>
[ExporterHeader(DisplayName = "开始时间")]
[ImporterHeader(Name = "有效从")]
public DateTime BeginDate { get; set; }
/// <summary>
///结算时间
/// </summary>
[ExporterHeader(DisplayName = "结算时间")]
[ImporterHeader(Name = "有效到")]
public DateTime EndDate { get; set; }
/// <summary>
///价格
/// </summary>
[ExporterHeader(DisplayName = "价格")]
[ImporterHeader(Name = "*金额")]
public decimal Price { get; set; }
/// <summary>
///物料编号
/// </summary>
[ExporterHeader(DisplayName = "物料编号")]
[ImporterHeader(Name = "*物料编码")]
public string MaterialCode { get; set; }
/// <summary>
///价格类型
/// </summary>
[ExporterHeader(DisplayName = "价格类型")]
[ImporterHeader(Name = "*分销渠道")]
public int Type { get; set; }
[ImporterHeader(Name = "*客户")]
public string CustomerCode { get; set; }
}
@ -89,36 +90,38 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
[ImportProject(Name = SettleAccountModuleName.PriceList)]
public class PriceListImportDto
{
/// <summary>
/// 版本
/// </summary>
[Display(Name = "版本")]
public string Version { set; get; }
///// <summary>
///// 版本
///// </summary>
//[Display(Name = "版本")]
//public string Version { set; get; }
/// <summary>
///开始时间
/// </summary>
[ImporterHeader(Name = "开始时间")]
[ImporterHeader(Name = "有效从")]
public DateTime BeginDate { get; set; }
/// <summary>
///结算时间
/// </summary>
[ImporterHeader(Name = "结算时间")]
[ImporterHeader(Name = "有效到")]
public DateTime EndDate { get; set; }
/// <summary>
///价格
/// </summary>
[ImporterHeader(Name = "价格")]
[ImporterHeader(Name = "*金额")]
public decimal Price { get; set; }
/// <summary>
///物料编号
/// </summary>
[ImporterHeader(Name = "物料编号")]
[ImporterHeader(Name = "*物料编码")]
public string MaterialCode { get; set; }
/// <summary>
///价格类型
/// </summary>
[ImporterHeader(Name = "价格类型")]
[ImporterHeader(Name = "*分销渠道")]
public int Type { get; set; }
[ImporterHeader(Name = "*客户")]
public string CustomerCode { get; set; }
}

61
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs

@ -23,9 +23,9 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
/// <summary>
/// 供应商相关应用服务
/// </summary>
//[AllowAnonymous]
[AllowAnonymous]
[Authorize(SettleAccountPermissions.PriceLists.Default)]
//[Authorize(SettleAccountPermissions.PriceLists.Default)]
[Route("api/SettleAccount/PriceList")]
public class PriceListAppService : ApplicationService
/*, IPriceListAppService*/
@ -162,33 +162,42 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
virtual public async Task<string> ImportAsync([FromForm] IFormFileCollection files,string version)
{
ExportImporter _exportImporter = new ExportImporter();
var _mapList= _mapRepository.Where(p => p.ProjectName == SettleAccountModuleName.PriceList).ToList();
var result = await _exportImporter.ExtendExcelImport<PriceListImportDto>(files, _excelImportService,_mapList);
var result = await _exportImporter.UploadExcelImport<PriceListImportDto>(files, _excelImportService);
var entityList = ObjectMapper.Map<List<PriceListImportDto>, List<PriceList>>(result);
var matialCodeList=entityList.Select(p => p.MaterialCode).Distinct().ToList();
List<PriceList> _ls = new List<PriceList>();
foreach (var itm in matialCodeList)
var _ls = entityList.Where(p=>p.EndDate.ToString().Contains("9999")).GroupBy(p => new { p.MaterialCode, p.CustomerCode,p.Type }).Select(p=>p.FirstOrDefault());
// List<PriceList> _ls = new List<PriceList>();
//foreach (var itm in matialCodeList)
//{
// var priceList= entityList.Where(p => p.MaterialCode == itm).Distinct().ToList();
// var _list =priceList.OrderBy(p => p.BeginDate).ToList();
// int i = 0;//查询下条记录
// foreach (var price in _list)
// {
// i++;
// if (_list.Count == i)
// {
// price.EndDate = DateTime.MaxValue;
// break;
// }
// else
// {
// var _nextPrice = _list[i];
// price.EndDate = _nextPrice.BeginDate.AddDays(-1);
// }
// _ls.Add(price);
// }
//}
foreach (var itm in _ls)
{
var priceList= entityList.Where(p => p.MaterialCode == itm).Distinct().ToList();
var _list =priceList.OrderBy(p => p.BeginDate).ToList();
int i = 0;//查询下条记录
foreach (var price in _list)
{
i++;
if (_list.Count == i)
{
price.EndDate = DateTime.MaxValue;
break;
}
else
{
var _nextPrice = _list[i];
price.EndDate = _nextPrice.BeginDate.AddDays(-1);
}
_ls.Add(price);
}
itm.Update(GuidGenerator.Create(),version);
}
await _mng.ImportAsync(_ls, version);
await _mng.ImportAsync(_ls.ToList(), version);
return ApplicationConsts.SuccessStr;
}

8
src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceList.cs

@ -31,7 +31,13 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
MaterialCode = materialCode;
Type = type;
}
public void Update(Guid id,string version)
{
Id = id;
Version = version;
}
[Display(Name = "客户")]
public string CustomerCode { get; set; }
/// <summary>
///版本

29
src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceListManager.cs

@ -29,6 +29,11 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
return await _repository.GetAsync(id);
}
public virtual List<PriceList> GetPriceList(string version)
{
var entities = _repository.Where(p => p.Version == version);
return entities.ToList();
}
public virtual async Task<List<PriceList>> GetListAsync(
@ -71,11 +76,31 @@ namespace Win.Sfs.SettleAccount.Entities.Prices
List<string> _errorList = new List<string>();
//写校验在这里
var pricelist = GetPriceList(version);
List<PriceList> _list = new List<PriceList>();
foreach (var itm in pricelist)
{
var entity = entities.FirstOrDefault(p => p.Type == itm.Type && p.CustomerCode == itm.CustomerCode && p.MaterialCode == p.MaterialCode);
if (entity != null)
{
itm.Price = entity.Price;
entities.Remove(entity);
}
}
await _repository.GetDbContext().BulkInsertAsync<PriceList>(entities);
List<PriceListVersion> _versionList = new List<PriceListVersion>() { new PriceListVersion(GuidGenerator.Create(),DateTime.Now.Year.ToString(),DateTime.Now.Month.ToString(),version) };
await _versionRepository.GetDbContext().BulkInsertAsync(_versionList);
var _first = _versionRepository.FirstOrDefault(p => p.Version == version);
if (_first == null)
{
List<PriceListVersion> _versionList = new List<PriceListVersion>() { new PriceListVersion(GuidGenerator.Create(), DateTime.Now.Year.ToString(), DateTime.Now.Month.ToString(), version) };
await _versionRepository.GetDbContext().BulkInsertAsync(_versionList);
}

6
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/SettleAccountDbContextModelCreatingExtensions.cs

@ -306,11 +306,6 @@ namespace Win.Sfs.SettleAccount
private static void ConfigurePriceList(this ModelBuilder builder, SettleAccountModelBuilderConfigurationOptions options)
{
builder.Entity<PriceList>(b =>
{
@ -318,6 +313,7 @@ namespace Win.Sfs.SettleAccount
b.ConfigureByConvention();
b.Property(x => x.MaterialCode).HasMaxLength(50);
b.Property(x => x.CustomerCode).HasMaxLength(50);
});
}

BIN
src/Shared/Win.Abp.Snowflakes/obj/Debug/netcoreapp5/Win.Abp.Snowflakes.csproj.AssemblyReference.cache

Binary file not shown.

BIN
src/Shared/Win.Sfs.Shared/obj/Debug/netcoreapp5/Win.Sfs.Shared.csproj.AssemblyReference.cache

Binary file not shown.

BIN
src/Shared/Win.Utils/obj/Debug/netcoreapp5/Win.Utils.csproj.AssemblyReference.cache

Binary file not shown.
Loading…
Cancel
Save