提交代码
This commit is contained in:
@@ -16,12 +16,12 @@ namespace WebAPI.Controllers
|
||||
/// </summary>
|
||||
/// <param name="CheckSpecialId"></param>
|
||||
/// <returns></returns>
|
||||
public Model.ResponeData getCheckSpecialById(string CheckSpecialId)
|
||||
public Model.ResponeData getCheckSpecialById(string CheckSpecialId,string state="0")
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
responeData.data = APICheckSpecialService.getCheckSpecialById(CheckSpecialId);
|
||||
responeData.data = APICheckSpecialService.getCheckSpecialById(CheckSpecialId, state);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -41,12 +41,12 @@ namespace WebAPI.Controllers
|
||||
/// <param name="states"></param>
|
||||
/// <param name="pageIndex"></param>
|
||||
/// <returns></returns>
|
||||
public Model.ResponeData getCheckSpecialList(string projectId, string states, int pageIndex)
|
||||
public Model.ResponeData getCheckSpecialList(string projectId, string states, int pageIndex,string userid)
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
var getDataList = APICheckSpecialService.getCheckSpecialList(projectId, states);
|
||||
var getDataList = APICheckSpecialService.getCheckSpecialList(projectId, states, userid);
|
||||
int pageCount = getDataList.Count();
|
||||
if (pageCount > 0 && pageIndex > 0)
|
||||
{
|
||||
@@ -133,5 +133,24 @@ namespace WebAPI.Controllers
|
||||
return responeData;
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 加载措施
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public Model.ResponeData getGroup_HandleStep()
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
responeData.data = ConstValue.drpConstItemList(BLL.ConstValue.Group_HandleStep);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user