bb6615ebb0
焊前检查需要同时覆盖下料、组对和防腐检查,并支持移动端查询与保存。 扩展焊前检查模型、服务和页面字段,补充检查结果、不合格原因、整改要求、 附件和防腐检查记录,便于按焊口和材料追溯检查过程。
34 lines
911 B
C#
34 lines
911 B
C#
using BLL;
|
|
using System;
|
|
using System.Web.Http;
|
|
|
|
namespace WebAPI.Controllers.HJGL.WeldingManage
|
|
{
|
|
/// <summary>
|
|
/// 焊前抽检接口
|
|
/// </summary>
|
|
public class PreWeldInspectionController : ApiController
|
|
{
|
|
/// <summary>
|
|
/// 根据焊口ID获取焊前基础信息
|
|
/// </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;
|
|
}
|
|
}
|
|
}
|