IDP设计图纸管理

This commit is contained in:
2025-07-18 11:07:06 +08:00
parent 58b237b0cf
commit 41ba702346
10 changed files with 686 additions and 119 deletions
+11 -1
View File
@@ -2,6 +2,7 @@
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace WebAPI.Controllers
@@ -23,7 +24,16 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
IDPDataService.GetIDPProjectDesignDrawingData();
var lst = DesignDrawingService.GetIDPDesignDrawingFile();
if (lst.Any())
{
string date = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd");
IDPDataService.GetIDPProjectDesignDrawingData("", date);
}
else
{
IDPDataService.GetIDPProjectDesignDrawingData();
}
}
catch (Exception ex)
{