补齐操作日志导出端点(adjustment/export占位)

main
haoliang 1 week ago
parent 126cecfa09
commit 6522b2ae49

@ -51,5 +51,17 @@ namespace CncWebApi.Controllers
var result = _adjustmentRepository.GetList(targetTable, startDate, endDate, keyword, page, pageSize);
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, "导出功能尚未实现"));
}
}
}

Loading…
Cancel
Save