贾荣国
3 years ago
33 changed files with 3103 additions and 49 deletions
@ -1,29 +1,29 @@ |
|||
{ |
|||
"ConnectionStrings": { |
|||
"Default": "Server=127.0.0.1;Database=Scp_WehApi;User ID=sa;Password=Microsoft2008;connection timeout=600;", |
|||
"WebApi": "Server=127.0.0.1;Database=Scp_WebApi;User ID=sa;Password=Microsoft2008;connection timeout=600;" |
|||
"Default": "Server=127.0.0.1;Database=Scp_WebApi;User ID=sa;Password=Microsoft2008;connection timeout=600;", |
|||
"WebApi": "Server=127.0.0.1;Database=Scp_WebApi;User ID=sa;Password=Microsoft2008;connection timeout=600;" |
|||
}, |
|||
"IdentityServer": { |
|||
"Clients": { |
|||
"WebApi_Web": { |
|||
"ClientId": "WebApi_Web", |
|||
"ClientSecret": "1q2w3e*", |
|||
"RootUrl": "https://localhost:44322" |
|||
"RootUrl": "https://localhost:9988" |
|||
}, |
|||
"WebApi_App": { |
|||
"ClientId": "WebApi_App", |
|||
"ClientSecret": "1q2w3e*", |
|||
"RootUrl": "http://localhost:4200" |
|||
"RootUrl": "https://localhost:9988" |
|||
}, |
|||
"WebApi_BlazorServerTiered": { |
|||
"ClientId": "WebApi_BlazorServerTiered", |
|||
"ClientSecret": "1q2w3e*", |
|||
"RootUrl": "https://localhost:44314" |
|||
"RootUrl": "https://localhost:9988" |
|||
}, |
|||
"WebApi_Swagger": { |
|||
"ClientId": "WebApi_Swagger", |
|||
"ClientSecret": "1q2w3e*", |
|||
"RootUrl": "https://localhost:44359" |
|||
"RootUrl": "https://localhost:9988" |
|||
} |
|||
} |
|||
} |
|||
|
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 |
|||
{ |
|||
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 |
|||
{ |
|||
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 |
|||
{ |
|||
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 |
|||
{ |
|||
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 |
|||
{ |
|||
public interface ITaVenderRepository : IRepository<TA_VENDER> |
|||
public interface ITaVenderRepository : IRepository<TA_VENDER>, ITransientDependency |
|||
{ |
|||
|
|||
} |
|||
|
Loading…
Reference in new issue