Blame view

美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/IServices/ILocationAppService.cs 1.13 KB
9df65e38   李曜臣   实现美国版门店与RBAC对外接口
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  using FoodLabeling.Application.Contracts.Dtos.Location;
  using FoodLabeling.Application.Contracts.Dtos.Common;
  using Volo.Abp.Application.Dtos;
  using Volo.Abp.Application.Services;
  
  namespace FoodLabeling.Application.Contracts.IServices;
  
  /// <summary>
  /// 门店管理接口(美国版)
  /// </summary>
  public interface ILocationAppService : IApplicationService
  {
      /// <summary>
      /// 门店分页列表
      /// </summary>
      /// <param name="input">查询条件</param>
      Task<PagedResultWithPageDto<LocationGetListOutputDto>> GetListAsync(LocationGetListInputVo input);
  
      /// <summary>
      /// 新增门店
      /// </summary>
      /// <param name="input">门店信息</param>
      Task<LocationGetListOutputDto> CreateAsync(LocationCreateInputVo input);
  
      /// <summary>
      /// 编辑门店
      /// </summary>
      /// <param name="id">门店Id</param>
      /// <param name="input">门店信息</param>
      Task<LocationGetListOutputDto> UpdateAsync(Guid id, LocationUpdateInputVo input);
  
      /// <summary>
      /// 删除门店(逻辑删除)
      /// </summary>
      /// <param name="id">门店Id</param>
      Task DeleteAsync(Guid id);
  }