IDP设计图纸管理
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user