学 赵
1 year ago
29 changed files with 12569 additions and 82 deletions
@ -0,0 +1,40 @@ |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
namespace Win.Sfs.SettleAccount |
|||
{ |
|||
/// <summary>
|
|||
/// 业务类别
|
|||
/// </summary>
|
|||
public enum EnumBusinessType |
|||
{ |
|||
/// <summary>
|
|||
///未定义
|
|||
/// </summary>
|
|||
[Display(Name = "未定义")] |
|||
None = 0, |
|||
|
|||
/// <summary>
|
|||
///直供件
|
|||
/// </summary>
|
|||
[Display(Name = "直供件")] |
|||
ZhiGongJian = 1, |
|||
|
|||
/// <summary>
|
|||
///买单件
|
|||
/// </summary>
|
|||
[Display(Name = "买单件")] |
|||
MaiDanJian = 2, |
|||
|
|||
/// <summary>
|
|||
///备件
|
|||
/// </summary>
|
|||
[Display(Name = "备件")] |
|||
BeiJian = 3, |
|||
|
|||
/// <summary>
|
|||
///印度件
|
|||
/// </summary>
|
|||
[Display(Name = "印度件")] |
|||
YingDuJian = 4 |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,53 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Migrations |
|||
{ |
|||
public partial class _202307141 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Site", |
|||
table: "Set_HBPO_SA", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Site", |
|||
table: "Set_HBPO_CAN_SA", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Site", |
|||
table: "Set_BBAC_SA", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "Site", |
|||
table: "Set_BBAC_CAN_SA", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "Site", |
|||
table: "Set_HBPO_SA"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Site", |
|||
table: "Set_HBPO_CAN_SA"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Site", |
|||
table: "Set_BBAC_SA"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "Site", |
|||
table: "Set_BBAC_CAN_SA"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,29 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Migrations |
|||
{ |
|||
public partial class _202307142 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<bool>( |
|||
name: "State", |
|||
table: "Set_control", |
|||
type: "bit", |
|||
nullable: false, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "State", |
|||
table: "Set_control", |
|||
type: "int", |
|||
nullable: false, |
|||
oldClrType: typeof(bool), |
|||
oldType: "bit"); |
|||
} |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,181 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Win.Sfs.SettleAccount.Migrations |
|||
{ |
|||
public partial class _202307143 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "BusinessType", |
|||
table: "Set_TB_RePartsRelationship", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_SE_DETAIL", |
|||
type: "int", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_PD_DETAIL", |
|||
type: "int", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_NOT_SA_DETAIL", |
|||
type: "int", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_CAN_SA_DETAIL", |
|||
type: "int", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_CAN_SA", |
|||
type: "int", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "BusinessType", |
|||
table: "Set_PriceList", |
|||
type: "int", |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(max)", |
|||
oldNullable: true); |
|||
|
|||
migrationBuilder.AlterColumn<int>( |
|||
name: "BusinessType", |
|||
table: "Set_INVOICE_GRP", |
|||
type: "int", |
|||
maxLength: 50, |
|||
nullable: false, |
|||
defaultValue: 0, |
|||
oldClrType: typeof(string), |
|||
oldType: "nvarchar(50)", |
|||
oldMaxLength: 50, |
|||
oldNullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BusinessType", |
|||
table: "Set_TB_RePartsRelationship", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_SE_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_PD_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_NOT_SA_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_CAN_SA_DETAIL", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BusinessType", |
|||
table: "Set_PUB_CAN_SA", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int", |
|||
oldMaxLength: 50); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BusinessType", |
|||
table: "Set_PriceList", |
|||
type: "nvarchar(max)", |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int"); |
|||
|
|||
migrationBuilder.AlterColumn<string>( |
|||
name: "BusinessType", |
|||
table: "Set_INVOICE_GRP", |
|||
type: "nvarchar(50)", |
|||
maxLength: 50, |
|||
nullable: true, |
|||
oldClrType: typeof(int), |
|||
oldType: "int", |
|||
oldMaxLength: 50); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue