IDP设计图纸管理

This commit is contained in:
2025-07-17 18:17:56 +08:00
parent 8feab6e0f2
commit 58b237b0cf
11 changed files with 391 additions and 76 deletions
+4 -3
View File
@@ -1,5 +1,7 @@
using BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Web.Http;
namespace WebAPI.Controllers
@@ -37,13 +39,12 @@ namespace WebAPI.Controllers
/// </summary>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SynOADesignDrawingData([FromBody] Model.OADesignDrawingData newItem)
public Model.ResponeData SynOADesignDrawingData([FromBody] List<OADesignDrawingDataItem> items)
{
var responeData = new Model.ResponeData();
try
{
responeData.message = IDPDataService.SaveDesignDrawingData(newItem);
responeData.message = IDPDataService.SaveDesignDrawingData(items);
}
catch (Exception ex)
{