You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
564 B

using System;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Entities.Events;
using Volo.Abp.EventBus;
namespace Win_in.Sfs.Scp.WebApi
{
public class SupplierEventHandler:ILocalEventHandler<EntityCreatedEventData<Supplier>>, ITransientDependency
{
public Task HandleEventAsync(EntityCreatedEventData<Supplier> eventData)
{
Console.WriteLine("Local Event:" + eventData.Entity.Id);
return Task.CompletedTask;
//TODO 新增或修改TA_VENDER
}
}
}