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.
22 lines
569 B
22 lines
569 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 ReceiptEventHandler:ILocalEventHandler<EntityCreatedEventData<Receipt>>, ITransientDependency
|
|
{
|
|
public Task HandleEventAsync(EntityCreatedEventData<Receipt> eventData)
|
|
{
|
|
Console.WriteLine("Local Event:" + eventData.Entity.Id);
|
|
|
|
|
|
return Task.CompletedTask;
|
|
|
|
|
|
//TODO 新增 TB_RECEIPT 或 TB_REJECT
|
|
}
|
|
}
|
|
}
|