From f99638e9d69cce5d0bbb7b99cbaff2f758c3c810 Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周五, 16 5月 2025 10:25:17 +0800 Subject: [PATCH] 物料类型 --- HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsEnumController.cs | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsEnumController.cs b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsEnumController.cs index 41c7f75..af07b4e 100644 --- a/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsEnumController.cs +++ b/HIAWms/server/src/CMS.Plugin.HIAWms/Controller/WmsEnumController.cs @@ -1,7 +1,7 @@ 锘縰sing CMS.Extensions.Abp.AspNetCore.Mvc.Filters; using CMS.Plugin.HIAWms.Application.Contracts.Dtos.CommonDto; using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsEnumDto; -using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsStores; +using CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsStore; using CMS.Plugin.HIAWms.Application.Contracts.Services; using CMS.Plugin.HIAWms.Domain.Shared.Enums; using CMS.Plugin.HIAWms.Domain.WmsMaterials; @@ -9,8 +9,8 @@ using Microsoft.AspNetCore.Mvc; using System; using System.Web; -using static CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsAreas.WmsAreaCreateOrUpdateDtoBase; -using static CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsPlaces.WmsPlaceCreateOrUpdateDtoBase; +using static CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsArea.WmsAreaCreateOrUpdateDtoBase; +using static CMS.Plugin.HIAWms.Application.Contracts.Dtos.WmsPlace.WmsPlaceCreateOrUpdateDtoBase; namespace CMS.Plugin.HIAWms.Controller { @@ -103,5 +103,15 @@ { return await _wmsEnumAppService.GetPlaceListForSelectAsync(placeType); } + /// <summary> + /// 鑾峰彇鐗╂枡绫诲瀷鍒楄〃 + /// </summary> + /// <returns></returns> + [HttpGet] + [Route("MaterialTypeList")] + public async Task<List<MaterialTypeOutput>> GetMaterialTypeListAsync() + { + return await _wmsEnumAppService.GetMaterialTypeListAsync(); + } } } -- Gitblit v1.9.3