贾荣国
3 years ago
33 changed files with 3103 additions and 49 deletions
File diff suppressed because it is too large
@ -0,0 +1,69 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win_in.Sfs.Scp.WebApi.Migrations |
||||
|
{ |
||||
|
public partial class AddTraceID : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_UnplannedReceipt", |
||||
|
type: "uniqueidentifier", |
||||
|
nullable: false, |
||||
|
defaultValue: new Guid("00000000-0000-0000-0000-000000000000")); |
||||
|
|
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_Suppliers", |
||||
|
type: "uniqueidentifier", |
||||
|
nullable: false, |
||||
|
defaultValue: new Guid("00000000-0000-0000-0000-000000000000")); |
||||
|
|
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_Receipt", |
||||
|
type: "uniqueidentifier", |
||||
|
nullable: false, |
||||
|
defaultValue: new Guid("00000000-0000-0000-0000-000000000000")); |
||||
|
|
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_PO", |
||||
|
type: "uniqueidentifier", |
||||
|
nullable: false, |
||||
|
defaultValue: new Guid("00000000-0000-0000-0000-000000000000")); |
||||
|
|
||||
|
migrationBuilder.AddColumn<Guid>( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_Part", |
||||
|
type: "uniqueidentifier", |
||||
|
nullable: false, |
||||
|
defaultValue: new Guid("00000000-0000-0000-0000-000000000000")); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_UnplannedReceipt"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_Suppliers"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_Receipt"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_PO"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "TraceId", |
||||
|
table: "WebApi_Part"); |
||||
|
} |
||||
|
} |
||||
|
} |
@ -1,8 +1,9 @@ |
|||||
using Volo.Abp.Domain.Repositories; |
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Domain.Repositories; |
||||
|
|
||||
namespace Win_in.Sfs.Scp.v1.Domain |
namespace Win_in.Sfs.Scp.v1.Domain |
||||
{ |
{ |
||||
public interface ITaPartRepository : IRepository<TA_PART> |
public interface ITaPartRepository : IRepository<TA_PART>,ITransientDependency |
||||
{ |
{ |
||||
|
|
||||
} |
} |
||||
|
@ -1,8 +1,9 @@ |
|||||
using Volo.Abp.Domain.Repositories; |
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Domain.Repositories; |
||||
|
|
||||
namespace Win_in.Sfs.Scp.v1.Domain |
namespace Win_in.Sfs.Scp.v1.Domain |
||||
{ |
{ |
||||
public interface ITbPoRepository : IRepository<TB_PO> |
public interface ITbPoRepository : IRepository<TB_PO>, ITransientDependency |
||||
{ |
{ |
||||
|
|
||||
} |
} |
||||
|
@ -1,8 +1,9 @@ |
|||||
using Volo.Abp.Domain.Repositories; |
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Domain.Repositories; |
||||
|
|
||||
namespace Win_in.Sfs.Scp.v1.Domain |
namespace Win_in.Sfs.Scp.v1.Domain |
||||
{ |
{ |
||||
public interface ITbReceiptRepository : IRepository<TB_RECEIVE_QAD> |
public interface ITbReceiptRepository : IRepository<TB_RECEIVE_QAD>, ITransientDependency |
||||
{ |
{ |
||||
|
|
||||
} |
} |
||||
|
@ -1,8 +1,9 @@ |
|||||
using Volo.Abp.Domain.Repositories; |
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Domain.Repositories; |
||||
|
|
||||
namespace Win_in.Sfs.Scp.v1.Domain |
namespace Win_in.Sfs.Scp.v1.Domain |
||||
{ |
{ |
||||
public interface ITbRejectRepository : IRepository<TB_REJECT> |
public interface ITbRejectRepository : IRepository<TB_REJECT>, ITransientDependency |
||||
{ |
{ |
||||
|
|
||||
} |
} |
||||
|
@ -1,8 +1,9 @@ |
|||||
using Volo.Abp.Domain.Repositories; |
using Volo.Abp.DependencyInjection; |
||||
|
using Volo.Abp.Domain.Repositories; |
||||
|
|
||||
namespace Win_in.Sfs.Scp.v1.Domain |
namespace Win_in.Sfs.Scp.v1.Domain |
||||
{ |
{ |
||||
public interface ITaVenderRepository : IRepository<TA_VENDER> |
public interface ITaVenderRepository : IRepository<TA_VENDER>, ITransientDependency |
||||
{ |
{ |
||||
|
|
||||
} |
} |
||||
|
Loading…
Reference in new issue