20251028 排产计划剩余天数

This commit is contained in:
2025-10-28 15:03:22 +08:00
parent 7fffe7559d
commit 4205126390
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -16839,7 +16839,7 @@
</COMReference> </COMReference>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v18.0\WebApplications\Microsoft.WebApplication.targets" /> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" />
<ProjectExtensions> <ProjectExtensions>
<VisualStudio> <VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
@@ -1172,7 +1172,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
{ {
var dateRanges = new List<(DateTime, DateTime)> var dateRanges = new List<(DateTime, DateTime)>
{ {
(new DateTime(item.PlanStartDate.Value.Year, item.PlanStartDate.Value.Month, item.PlanStartDate.Value.Day), new DateTime(item.PlanEndDate.Value.Year, item.PlanEndDate.Value.Month, item.PlanEndDate.Value.Day)), (new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.AddDays(1).Day), new DateTime(item.PlanEndDate.Value.Year, item.PlanEndDate.Value.Month, item.PlanEndDate.Value.Day)),
}; };
combinedList.AddRange(dateRanges); combinedList.AddRange(dateRanges);
} }
@@ -1242,7 +1242,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
{ {
var dateRanges = new List<(DateTime, DateTime)> var dateRanges = new List<(DateTime, DateTime)>
{ {
(new DateTime(item.PlanStartDate.Value.Year, item.PlanStartDate.Value.Month, item.PlanStartDate.Value.Day), new DateTime(item.PlanEndDate.Value.Year, item.PlanEndDate.Value.Month, item.PlanEndDate.Value.Day)), (new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.AddDays(1).Day), new DateTime(item.PlanEndDate.Value.Year, item.PlanEndDate.Value.Month, item.PlanEndDate.Value.Day)),
}; };
combinedList.AddRange(dateRanges); combinedList.AddRange(dateRanges);
} }