提交质量接口修改
This commit is contained in:
@@ -55,6 +55,28 @@ namespace WebAPI.Controllers
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 获取项目所有单位
|
||||
/// <summary>
|
||||
/// 获取项目所有单位
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Model.ResponeData getProjectUnitLists(string projectId)
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
responeData.data = APIUnitService.getProjectUnitLists(projectId);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
|
||||
return responeData;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 根据projectId、unitType获取单位信息(总包1;施工分包2;监理3;业主4;其他5)
|
||||
/// <summary>
|
||||
/// 根据projectId、unitType获取单位信息(总包1;施工分包2;监理3;业主4;其他5)
|
||||
|
||||
Reference in New Issue
Block a user