From 867aba2636e34a1050b1c4c84bbe78cc9c39b553 Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期六, 22 三月 2025 15:11:11 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/MaterielInfoService.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/MaterielInfoService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/MaterielInfoService.cs" index 8a14bce..27cf2a9 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/MaterielInfoService.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Service/MaterielInfoService.cs" @@ -1,12 +1,16 @@ 锘縰sing System; using System.Collections.Generic; +using System.DirectoryServices.Protocols; using System.Linq; using System.Text; using System.Threading.Tasks; +using StackExchange.Profiling.Internal; +using WIDESEA_Core; using WIDESEA_Core.BaseServices; using WIDESEA_IBasicRepository; using WIDESEA_IBasicService; using WIDESEA_Model.Models; +using static WIDESEA_BasicService.MaterielInfoService; namespace WIDESEA_BasicService { @@ -37,5 +41,12 @@ { return BaseDal.QueryData(x => materielCodes.Contains(x.MaterielCode)); } + + public WebResponseContent GetMaterialTypes(SearchRequest request) + { + List<Dt_MaterielInfo> materielInfo = BaseDal.QueryData(x => x.Number.Contains("1")).ToList(); + return WebResponseContent.Instance.OK(data: materielInfo); + } + } } -- Gitblit v1.9.3