|
|
|
@ -51,5 +51,17 @@ namespace CncWebApi.Controllers
|
|
|
|
var result = _adjustmentRepository.GetList(targetTable, startDate, endDate, keyword, page, pageSize);
|
|
|
|
var result = _adjustmentRepository.GetList(targetTable, startDate, endDate, keyword, page, pageSize);
|
|
|
|
return Ok(ApiResponse<PagedResult<CncModels.Entity.ProductionAdjustment>>.Success(result));
|
|
|
|
return Ok(ApiResponse<PagedResult<CncModels.Entity.ProductionAdjustment>>.Success(result));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// 导出修正日志(占位,暂返回提示)
|
|
|
|
|
|
|
|
/// GET /api/admin/log/adjustment/export
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
[HttpGet]
|
|
|
|
|
|
|
|
[Route("adjustment/export")]
|
|
|
|
|
|
|
|
public IHttpActionResult ExportAdjustment(string targetTable = null, DateTime? startDate = null, DateTime? endDate = null, string keyword = null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
// 导出功能暂不实现,返回提示
|
|
|
|
|
|
|
|
return Ok(ApiResponse<object>.Fail(40001, "导出功能尚未实现"));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|