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