1
This commit is contained in:
@@ -201,6 +201,38 @@ namespace WebAPI.Controllers
|
||||
return responeData;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据焊口id保存到日报
|
||||
/// </summary>
|
||||
/// <param name="WeldJointId">焊口号</param>
|
||||
/// <param name="Personid">人员ID</param>
|
||||
/// <param name="time">时间</param>
|
||||
/// <param name="weldingLocation">焊接位置</param>
|
||||
/// <param name="welderType">焊工类型</param>
|
||||
/// <returns></returns>
|
||||
[HttpGet]
|
||||
public Model.ResponeData SaveWeldingDailyByWeldJointId(string WeldJointId, string Personid, string time,string weldingLocation,int welderType)
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
string res = APIPreWeldingDailyService.SaveWeldingDailyByWeldJointId(WeldJointId, Personid, time, weldingLocation, welderType);
|
||||
|
||||
if (!string.IsNullOrEmpty(res))
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = res;
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 更新焊接日报焊口信息
|
||||
|
||||
Reference in New Issue
Block a user