2026-06-17 14:22:06 +08:00
|
|
|
using BLL;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Web.Http;
|
|
|
|
|
|
|
|
|
|
namespace WebAPI.Controllers.HJGL.WeldingManage
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 焊前抽检接口
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class PreWeldInspectionController : ApiController
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2026-07-07 10:40:21 +08:00
|
|
|
/// 根据焊口ID获取焊前基础信息
|
2026-06-17 14:22:06 +08:00
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="WeldJointId">焊口ID</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
public Model.ResponeData getPreWeldJointByWeldJointId(string WeldJointId)
|
|
|
|
|
{
|
|
|
|
|
var responeData = new Model.ResponeData();
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
responeData.data = APIPreWeldInspectionService.GetPreWeldJointByWeldJointId(WeldJointId);
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|
{
|
|
|
|
|
responeData.code = 0;
|
|
|
|
|
responeData.message = ex.Message;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return responeData;
|
2026-07-07 10:40:21 +08:00
|
|
|
}
|
2026-06-17 14:22:06 +08:00
|
|
|
}
|
|
|
|
|
}
|