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
58 lines
1.7 KiB
C#
58 lines
1.7 KiB
C#
using ZR.Model;
|
|
using ZR.Model.Business;
|
|
using ZR.Model.Business.Dto;
|
|
|
|
namespace ZR.Service.Business.IBusinessService
|
|
{
|
|
/// <summary>
|
|
/// 干线故障service接口
|
|
/// </summary>
|
|
public interface IOdfCableFaultsService : IBaseService<OdfCableFaults>
|
|
{
|
|
/// <summary>
|
|
/// 按 CableId 分页查询故障列表,联查光缆名称,按 FaultTime DESC 排序,应用部门数据隔离
|
|
/// </summary>
|
|
PagedInfo<dynamic> GetList(OdfCableFaultsQueryDto parm, long deptId);
|
|
|
|
/// <summary>
|
|
/// 查询故障详情,联查光缆名称和图片列表
|
|
/// </summary>
|
|
object GetDetail(int id);
|
|
|
|
/// <summary>
|
|
/// 新增故障(含图片上传)
|
|
/// </summary>
|
|
Task<int> AddFault(OdfCableFaultAddDto dto);
|
|
|
|
/// <summary>
|
|
/// 删除故障记录并级联删除关联图片
|
|
/// </summary>
|
|
int Delete(int id);
|
|
|
|
/// <summary>
|
|
/// 导出故障列表
|
|
/// </summary>
|
|
List<OdfCableFaultExportDto> ExportList(OdfCableFaultsQueryDto parm, long deptId);
|
|
|
|
/// <summary>
|
|
/// 批量导入故障
|
|
/// </summary>
|
|
(int successCount, int errorCount, string errorMsg) ImportFaults(List<OdfCableFaultImportDto> list);
|
|
|
|
/// <summary>
|
|
/// 增加故障频次
|
|
/// </summary>
|
|
object IncrementFaultCount(int id);
|
|
|
|
/// <summary>
|
|
/// 批量查询故障频次时间记录
|
|
/// </summary>
|
|
Dictionary<int, List<DateTime>> GetFaultTimesByFaultIds(List<int> faultIds);
|
|
|
|
/// <summary>
|
|
/// 更新表显里程矫正
|
|
/// </summary>
|
|
int UpdateMileageCorrection(int id, string mileageCorrection);
|
|
}
|
|
}
|