20221009 001 修改焊接分析首页报错问题

This commit is contained in:
2022-10-09 15:37:06 +08:00
parent b1416ebf7e
commit fc8d0a684d
8 changed files with 894 additions and 218 deletions
@@ -6,19 +6,50 @@ using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebAPI.Controllers.HJGL
namespace WebAPI.Controllers
{
/// <summary>
///
/// </summary>
public class PackagingManageController : ApiController
{
public Model.ResponeData getPackagingManagebyId(string PackagingManageId)
public Model.ResponeData GetPackagingInformationList(string projectid)
{
var responeData = new Model.ResponeData();
try
{
//responeData.data = from x in Funs.DB;
responeData.data = BLL.APIPackagingManageService.GetPackagingManageList(projectid);
}
catch (Exception ex)
{
responeData.code = 0;
responeData.message = ex.Message;
}
return responeData;
}
public Model.ResponeData GetPackagingInformationById(string projectId, string packagingManageId)
{
var responeData = new Model.ResponeData();
try
{
responeData.data = BLL.APIPackagingManageService.GetPackagingInformationById(projectId, packagingManageId);
}
catch (Exception ex)
{
responeData.code = 0;
responeData.message = ex.Message;
}
return responeData;
}
public Model.ResponeData GetPackingInfoConfirmArrival( string packagingManageId)
{
var responeData = new Model.ResponeData();
try
{
BLL.APIPackagingManageService.GetPackingInfoConfirmArrival( packagingManageId);
}
catch (Exception ex)
{