feat(hjgl): 完善焊接任务与质量管理流程
This commit is contained in:
@@ -380,7 +380,40 @@ namespace WebAPI.Controllers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量审核通过焊接日报待审核明细。
|
||||
/// 批量完成班组审核。
|
||||
/// </summary>
|
||||
[HttpPost]
|
||||
public Model.ResponeData TeamAuditPendingWeldingDailyTempDetails(
|
||||
[FromBody] Model.WeldingDailyTempDetailBatchRequest request)
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
if (request == null)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = "参数不能为空";
|
||||
return responeData;
|
||||
}
|
||||
|
||||
string errlog = APIWeldReportService.TeamAuditPendingWeldingDailyTempDetails(
|
||||
request.TempDetailIds, request.AuditMan);
|
||||
if (!string.IsNullOrEmpty(errlog))
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = errlog;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量完成专工审核;未完成班组审核的记录不能处理。
|
||||
/// </summary>
|
||||
/// <param name="request">批量审核参数</param>
|
||||
/// <returns>批量处理结果</returns>
|
||||
|
||||
Reference in New Issue
Block a user