Blame view

美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/IServices/ILabelAppService.cs 1.73 KB
919c1b6a   李曜臣   1
1
2
3
4
5
6
7
8
9
10
11
12
13
  using FoodLabeling.Application.Contracts.Dtos.Common;
  using FoodLabeling.Application.Contracts.Dtos.Label;
  using Volo.Abp.Application.Dtos;
  using Volo.Abp.Application.Services;
  
  namespace FoodLabeling.Application.Contracts.IServices;
  
  /// <summary>
  /// 标签管理接口(美国版)
  /// </summary>
  public interface ILabelAppService : IApplicationService
  {
      /// <summary>
540ac0e3   杨鑫   前端修改bug
14
      /// 按产品分页列表(一个产品展示多个标签)。支持 <c>GroupId</c>  Region 筛选(命中 <c>fl_label_region</c>  <c>AppliedRegionType=ALL</c>);出参含 <c>region</c><c>regionIds</c><c>appliedRegionType</c>
919c1b6a   李曜臣   1
15
16
17
18
      /// </summary>
      Task<PagedResultWithPageDto<LabelGetListOutputDto>> GetListAsync(LabelGetListInputVo input);
  
      /// <summary>
540ac0e3   杨鑫   前端修改bug
19
      /// 标签详情(id=LabelCode)。出参含 <c>appliedRegionType</c><c>region</c><c>regionIds</c><c>groupIds</c>
919c1b6a   李曜臣   1
20
21
22
23
      /// </summary>
      Task<LabelGetOutputDto> GetAsync(string id);
  
      /// <summary>
49755ef0   李曜臣   6-12代码优化
24
      /// 新增标签。Body 支持 <c>appliedRegion</c>ALL/SPECIFIED)、<c>regionIds</c> / <c>groupIds</c><c>fl_group.Id</c> 数组,落库 <c>fl_label_region</c>)。
919c1b6a   李曜臣   1
25
26
27
28
      /// </summary>
      Task<LabelGetOutputDto> CreateAsync(LabelCreateInputVo input);
  
      /// <summary>
49755ef0   李曜臣   6-12代码优化
29
      /// 编辑标签(id=LabelCode)。适用 Region 字段同 <see cref="CreateAsync"/>
919c1b6a   李曜臣   1
30
31
32
33
34
35
36
37
38
39
40
41
42
      /// </summary>
      Task<LabelGetOutputDto> UpdateAsync(string id, LabelUpdateInputVo input);
  
      /// <summary>
      /// 删除标签(逻辑删除)
      /// </summary>
      Task DeleteAsync(string id);
  
      /// <summary>
      /// 标签预览:解析模板 AUTO_DB/PRINT_INPUT(不做打印落库)
      /// </summary>
      Task<LabelTemplatePreviewDto> PreviewAsync(LabelPreviewResolveInputVo input);
  }