From c5f01e9a882b16f534166d033312c5c8ba8d94dd Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期六, 24 一月 2026 14:35:21 +0800
Subject: [PATCH] 离开北京前最后的版本,包含打印机程序
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_materielinfoService.cs | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_materielinfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_materielinfoService.cs"
index 29ebd88..9e73aa4 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_materielinfoService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_materielinfoService.cs"
@@ -27,6 +27,8 @@
using Microsoft.Extensions.Caching.Memory;
using WIDESEA.Services.Repositories;
using WIDESEA_Common.LogEnum;
+using Spire.Pdf.Exporting.XPS.Schema;
+using SqlSugar;
namespace WIDESEA.Services.Services
{
@@ -157,5 +159,25 @@
};
});
}
+
+ // 鑾峰彇杞﹀瀷鐨勬墍鏈夌被鍨�
+ public async Task<WebResponseContent> Get_VehicleType_All()
+ {
+ return await Task.Run(() =>
+ {
+ // 1. 鐢‵ind(x=>true)鏌ユ墍鏈夋暟鎹紝鍐峉elect鍙栫洰鏍囧垪
+ List<string> materielIds = repository
+ .Find(x => true) // 鏃犳潯浠舵煡鎵�鏈塂t_materielinfo鏁版嵁
+ .Select(r => r.materiel_id) // 鍙彇materiel_id杩欎竴鍒�
+ .ToList(); // 杞垚鍒楄〃
+
+ // 2. 杩斿洖缁撴灉锛堝拰鐜版湁浠g爜鐨勮繑鍥炴牸寮忎繚鎸佷竴鑷达級
+ return new WebResponseContent
+ {
+ Status = true,
+ Data = materielIds // 鐩存帴杩斿洖鍒楁暟鎹垪琛�
+ };
+ });
+ }
}
}
--
Gitblit v1.9.3