From 2b66d4c2dc5b1c00805fa47ba65d9a8d2724ab35 Mon Sep 17 00:00:00 2001
From: liulijun <liulijun@hnkhzn.com>
Date: 星期三, 25 二月 2026 08:48:01 +0800
Subject: [PATCH] 清理多余文件
---
代码管理/WMS/WMSServices/WIDESEA_BasicService/Service/WarehouseService.cs | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMSServices/WIDESEA_BasicService/Service/WarehouseService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMSServices/WIDESEA_BasicService/Service/WarehouseService.cs"
index 768ee2f..b726b04 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMSServices/WIDESEA_BasicService/Service/WarehouseService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMSServices/WIDESEA_BasicService/Service/WarehouseService.cs"
@@ -16,24 +16,5 @@
{
public partial class WarehouseService
{
- public WebResponseContent GetWarehouseDicByUser()
- {
- try
- {
- List<int> warehouseIds = Db.Queryable<Sys_RoleDataPermission>().Where(x => x.RoleId == App.User.RoleId).Select(x => x.WarehouseId).ToList();
- List<DictionaryDTO> dic = Repository.QueryData(x => new DictionaryDTO { Key = x.WarehouseId, Value = x.WarehouseName + $"({x.WarehouseCode})" }, x => warehouseIds.Contains(x.WarehouseId)).ToList();
- List<Dt_PalletTypeInfo> palletTypeInfos = _palletTypeInfoRepository.QueryData();//x => x.TypeName + $"({x.CodeStartStr})", x => true
- dic.ForEach(x =>
- {
- x.Extra = palletTypeInfos.Where(v => v.WarehouseId == x.Key.ObjToInt()).Select(x => new DictionaryDTO { Key = x.Id, Value = x.TypeName + $"({x.CodeStartStr})" }).ToList();
- });
-
- return WebResponseContent.Instance.OK(data: dic);
- }
- catch (Exception ex)
- {
- return WebResponseContent.Instance.Error(ex.Message);
- }
- }
}
}
--
Gitblit v1.9.3