提交代码

This commit is contained in:
2023-10-18 11:27:20 +08:00
parent 16638e5e5e
commit 96b329b814
9 changed files with 152 additions and 9 deletions
+22
View File
@@ -455,5 +455,27 @@ namespace WebAPI.Controllers
return responeData;
}
#endregion
#region id获取参加检查人员
/// <summary>
/// 根据受检单位项目id获取参加检查人员(项目HSE经理、HSE工程师、 HSSE副经理、受检单位的分包商HSE经理、分包商HSE工程师)
/// </summary>
/// <param name="projectId"></param>
/// <param name="unitid"></param>
/// <returns></returns>
public Model.ResponeData getCheckUserByProjectIdAndUnitid(string projectId,string unitid) {
var responeData = new Model.ResponeData();
try
{
responeData.data = APIUserService.getCheckUserByProjectIdAndUnitid(projectId, unitid);
}
catch (Exception ex)
{
responeData.code = 0;
responeData.message = ex.Message;
}
return responeData;
}
#endregion
}
}