From 5af11cc200dd5ebe474b9c0475883b0e6d1e3759 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 11 三月 2026 10:00:49 +0800
Subject: [PATCH] 重构整个项目:改进代码质量和架构
---
Code/WMS/WIDESEA_WMSServer/.claude/settings.local.json | 38 +++++++++++++++++++++++++++++++++++++-
1 files changed, 37 insertions(+), 1 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/.claude/settings.local.json b/Code/WMS/WIDESEA_WMSServer/.claude/settings.local.json
index 9498faa..37a9ff7 100644
--- a/Code/WMS/WIDESEA_WMSServer/.claude/settings.local.json
+++ b/Code/WMS/WIDESEA_WMSServer/.claude/settings.local.json
@@ -2,7 +2,43 @@
"permissions": {
"allow": [
"Bash(claude plugin:*)",
- "Bash(cp:*)"
+ "Bash(cp:*)",
+ "Bash(xargs wc:*)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Common/WIDESEA_Common.csproj --no-incremental 2>&1 | head -50)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Core/WIDESEA_Core.csproj --no-incremental 2>&1 | head -50)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Model/WIDESEA_Model.csproj --no-incremental 2>&1 | head -50)",
+ "Bash(find /e/杩呴浄涓嬭浇/WIDESEA_WMSServer -name \"*.cs\" -not -path \"*/bin/*\" -not -path \"*/obj/*\" -not -path \"*/.vs/*\" | xargs grep -l \"console.log\\\\|Console.WriteLine\\\\|debugger\" | head -10)",
+ "Bash(find /e/杩呴浄涓嬭浇/WIDESEA_WMSServer -name \"*.cs\" -not -path \"*/bin/*\" -not -path \"*/obj/*\" -not -path \"*/.vs/*\" | xargs grep -h \"catch\\\\s*{\\\\s*}\" | wc -l)",
+ "Bash(find /e/杩呴浄涓嬭浇/WIDESEA_WMSServer -name \"*.cs\" -not -path \"*/bin/*\" -not -path \"*/obj/*\" -not -path \"*/.vs/*\" -exec grep -l \"public\\\\s+.*\\\\\\(\\\\\\)\" {} \\\\; | wc -l)",
+ "Bash(find /e/杩呴浄涓嬭浇/WIDESEA_WMSServer -name \"*.cs\" -not -path \"*/bin/*\" -not -path \"*/obj/*\" -not -path \"*/.vs/*\" -exec grep -l \"new\\\\s+List\\\\|new\\\\s+Dictionary\" {} \\\\; | wc -l)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_IBasicService/WIDESEA_IBasicService.csproj)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_BasicService/WIDESEA_BasicService.csproj)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_BasicService/WIDESEA_BasicService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Common/WIDESEA_Common.csproj --no-incremental 2>&1)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Core/WIDESEA_Core.csproj --no-incremental 2>&1)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Model/WIDESEA_Model.csproj --no-incremental 2>&1)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Core/WIDESEA_Core.csproj --no-incremental 2>&1 | tail -20)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_IInboundService/WIDESEA_IInboundService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_InboundService/WIDESEA_InboundService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Common/WIDESEA_Common.csproj --no-incremental 2>&1 | grep -E \"\\(閿欒|閿欒|宸叉垚鍔熺敓鎴恷warning\\)\" | tail -10)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_IOutboundService/WIDESEA_IOutboundService.csproj WIDESEA_OutboundService/WIDESEA_OutboundService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Core/WIDESEA_Core.csproj --no-incremental 2>&1 | grep -E \"\\(閿欒|error|宸叉垚鍔熺敓鎴恷warnings\\)\" | tail -10)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_Model/WIDESEA_Model.csproj --no-incremental 2>&1 | grep -E \"\\(閿欒|error|宸叉垚鍔熺敓鎴恷warnings\\)\" | tail -10)",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_OutboundService/WIDESEA_OutboundService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_StockService/WIDESEA_StockService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_ICheckService/WIDESEA_ICheckService.csproj WIDESEA_CheckService/WIDESEA_CheckService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_CheckService/WIDESEA_CheckService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_IRecordRecordService/WIDESEA_IRecordService.csproj WIDESEA_RecordService/WIDESEA_RecordService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_RecordService/WIDESEA_RecordService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:\\\\杩呴浄涓嬭浇\\\\WIDESEA_WMSServer\" && dotnet build WIDESEA_TaskInfoService/WIDESEA_TaskInfoService.csproj 2>&1 | grep -i \"error\")",
+ "Bash(cd \"E:/杩呴浄涓嬭浇/WIDESEA_WMSServer/WIDESEA_DTO\" && mv GradingMachine/OutPutDto.cs GradingMachine/OutputDto.cs && mv GradingMachine/InputDto.cs GradingMachine/GradingMachineInputDto.cs)",
+ "Bash(cd \"E:/杩呴浄涓嬭浇/WIDESEA_WMSServer\" && dotnet build WIDESEA_WMSServer/WIDESEA_WMSServer.csproj --configuration Debug 2>&1 | head -100)",
+ "Bash(cd \"E:/杩呴浄涓嬭浇/WIDESEA_WMSServer\" && dotnet build --configuration Debug 2>&1 | tail -50)",
+ "Bash(cd \"E:/杩呴浄涓嬭浇/WIDESEA_WMSServer\" && dotnet build --configuration Debug 2>&1 | tail -30)",
+ "Bash(cd \"E:/杩呴浄涓嬭浇/WIDESEA_WMSServer\" && dotnet build --configuration Debug 2>&1 | tail -20)",
+ "Bash(cd \"E:/杩呴浄涓嬭浇/WIDESEA_WMSServer\" && dotnet build --configuration Debug 2>&1 | tail -25)",
+ "Bash(cd \"E:/杩呴浄涓嬭浇/WIDESEA_WMSServer\" && dotnet build --configuration Debug 2>&1 | grep -A 2 -B 2 \"error CS0\")",
+ "Bash(cd \"E:/杩呴浄涓嬭浇/WIDESEA_WMSServer\" && dotnet build --configuration Debug 2>&1 | tail -10)"
]
}
}
--
Gitblit v1.9.3