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.
23 lines
940 B
23 lines
940 B
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Volo.Abp.Caching;
|
|
using Win_in.Sfs.Basedata.Application.Contracts;
|
|
using Win_in.Sfs.Basedata.Domain;
|
|
using Win_in.Sfs.Basedata.Domain.Shared;
|
|
|
|
namespace Win_in.Sfs.Basedata.Application;
|
|
|
|
[Authorize]
|
|
[Route($"{BasedataConsts.RootPath}stdcostpricesheet")]
|
|
|
|
public class StdCostPriceSheetAppService : SfsBaseDataAppServiceBase<StdCostPriceSheet, StdCostPriceSheetDTO, SfsBaseDataRequestInputBase, StdCostPriceSheetEditInput, StdCostPriceSheetImportInput>, IStdCostPriceSheetAppService
|
|
{
|
|
|
|
public StdCostPriceSheetAppService(IStdCostPriceSheetRepository repository, IDistributedCache<StdCostPriceSheetDTO> cache) : base(repository, cache)
|
|
{
|
|
|
|
base.CreatePolicyName = StdCostPriceSheetPermissions.Create;
|
|
base.UpdatePolicyName = StdCostPriceSheetPermissions.Update;
|
|
base.DeletePolicyName = StdCostPriceSheetPermissions.Delete;
|
|
}
|
|
}
|
|
|