feat(hjgl): 完善焊接任务与质量管理流程
This commit is contained in:
@@ -103,6 +103,32 @@ namespace WebAPI.Controllers
|
||||
return responeData;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页查询当前项目的全部焊口。
|
||||
/// </summary>
|
||||
/// <param name="projectId">项目ID</param>
|
||||
/// <param name="pipelineCode">管线号查询条件</param>
|
||||
/// <param name="weldJointCode">焊口号查询条件</param>
|
||||
/// <param name="pageIndex">页码,从0开始</param>
|
||||
/// <param name="pageSize">每页记录数</param>
|
||||
/// <returns>焊口列表</returns>
|
||||
public Model.ResponeData GetWeldedJoints(string projectId, string pipelineCode = "", string weldJointCode = "", int pageIndex = 0, int pageSize = 20)
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
responeData.data = APIPipeJointService.GetAllWeldJoints(
|
||||
projectId, pipelineCode, weldJointCode, pageIndex, pageSize);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
|
||||
return responeData;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取焊工列表
|
||||
/// </summary>
|
||||
@@ -262,4 +288,4 @@ namespace WebAPI.Controllers
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user