odf_new/server/ZR.Service/Business/IBusinessService/IOdfMarkerPolesService.cs
zpc 827d7a4367
All checks were successful
continuous-integration/drone/push Build is passing
feat(odf): Add marker pole management and audit logging for v1.2.0
- 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
2026-04-18 22:50:15 +08:00

38 lines
1.1 KiB
C#

using ZR.Model;
using ZR.Model.Business;
using ZR.Model.Business.Dto;
namespace ZR.Service.Business.IBusinessService
{
/// <summary>
/// 标石/杆号牌service接口
/// </summary>
public interface IOdfMarkerPolesService : IBaseService<OdfMarkerPoles>
{
/// <summary>
/// 分页查询标石/杆号牌列表,支持按 CableId 过滤,应用部门数据隔离
/// </summary>
PagedInfo<OdfMarkerPoleListDto> GetList(OdfMarkerPolesQueryDto parm, long deptId);
/// <summary>
/// 查询标石/杆号牌详情,含图片 URL 列表
/// </summary>
OdfMarkerPoleDetailDto GetDetail(int id);
/// <summary>
/// 新增标石/杆号牌(含图片记录),自动填充 DeptId/DeptName
/// </summary>
int Add(OdfMarkerPoleAddDto dto, long deptId);
/// <summary>
/// 编辑标石/杆号牌
/// </summary>
int Update(OdfMarkerPoleEditDto dto);
/// <summary>
/// 删除标石/杆号牌及关联图片
/// </summary>
int Delete(int id);
}
}