All checks were successful
continuous-integration/drone/push Build is passing
- Add marker pole CRUD functionality with database tables (odf_marker_poles, odf_marker_pole_images) - Implement marker pole API endpoints and service layer with data isolation by department - Add UniApp pages for marker pole list, detail, and creation workflows - Add Vue management backend pages for marker pole and audit log management - Implement audit logging system via ActionFilter to track all business entity modifications - Extend search API to include marker poles in results alongside cables and faults - Add OdfAuditLogsController and service for querying audit trail data - Update optical box detail page with left-right frame color scheme (green-orange) - Add cable type page as entry point for marker poles and fault lists - Create database migration scripts for v1.2.0 schema and permissions - Add DeptDataScopeHelper for department-based data access control - Update MCP settings to disable SQL Server connection and fix formatting - Add marker pole service integration in UniApp with COS image upload support
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
using ZR.Model.Business.Dto;
|
|
using ZR.Service.Business.IBusinessService;
|
|
|
|
namespace ZR.Admin.WebApi.Controllers.Business
|
|
{
|
|
/// <summary>
|
|
/// 审计日志管理
|
|
/// </summary>
|
|
[Route("business/OdfAuditLogs")]
|
|
public class OdfAuditLogsController : BaseController
|
|
{
|
|
/// <summary>
|
|
/// 审计日志接口
|
|
/// </summary>
|
|
private readonly IOdfAuditLogsService _OdfAuditLogsService;
|
|
|
|
public OdfAuditLogsController(IOdfAuditLogsService OdfAuditLogsService)
|
|
{
|
|
_OdfAuditLogsService = OdfAuditLogsService;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 审计日志列表分页查询
|
|
/// </summary>
|
|
/// <param name="parm"></param>
|
|
/// <returns></returns>
|
|
[HttpGet("list")]
|
|
[ActionPermissionFilter(Permission = "odfauditlogs:list")]
|
|
public IActionResult GetList([FromQuery] OdfAuditLogsQueryDto parm)
|
|
{
|
|
var response = _OdfAuditLogsService.GetList(parm);
|
|
return SUCCESS(response);
|
|
}
|
|
}
|
|
}
|