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
65 lines
1.9 KiB
C#
65 lines
1.9 KiB
C#
using ZR.Model;
|
||
using ZR.Model.Business;
|
||
using ZR.Model.Business.Dto;
|
||
|
||
namespace ZR.Service.Business.IBusinessService
|
||
{
|
||
/// <summary>
|
||
/// 光缆管理service接口
|
||
/// </summary>
|
||
public interface IOdfCablesService : IBaseService<OdfCables>
|
||
{
|
||
/// <summary>
|
||
/// 按 DeptId 过滤光缆列表(支持分页和 CableName 模糊查询),应用部门数据隔离
|
||
/// </summary>
|
||
/// <param name="parm"></param>
|
||
/// <param name="deptId">当前用户所属部门ID,用于数据隔离</param>
|
||
/// <returns></returns>
|
||
PagedInfo<OdfCables> GetList(OdfCablesQueryDto parm, long deptId);
|
||
|
||
/// <summary>
|
||
/// 在指定公司范围内搜索光缆和故障
|
||
/// </summary>
|
||
/// <param name="deptId"></param>
|
||
/// <param name="keyword"></param>
|
||
/// <returns></returns>
|
||
object Search(long deptId, string keyword);
|
||
|
||
/// <summary>
|
||
/// 新增光缆
|
||
/// </summary>
|
||
/// <param name="model"></param>
|
||
/// <returns></returns>
|
||
OdfCables Add(OdfCables model);
|
||
|
||
/// <summary>
|
||
/// 修改光缆
|
||
/// </summary>
|
||
/// <param name="model"></param>
|
||
/// <returns></returns>
|
||
int Update(OdfCables model);
|
||
|
||
/// <summary>
|
||
/// 删除光缆
|
||
/// </summary>
|
||
/// <param name="id"></param>
|
||
/// <returns></returns>
|
||
int Delete(int id);
|
||
|
||
/// <summary>
|
||
/// 获取光缆详情
|
||
/// </summary>
|
||
/// <param name="id"></param>
|
||
/// <returns></returns>
|
||
OdfCables GetDetail(int id);
|
||
|
||
/// <summary>
|
||
/// 导出光缆列表
|
||
/// </summary>
|
||
/// <param name="parm"></param>
|
||
/// <param name="deptId">当前用户所属部门ID,用于数据隔离</param>
|
||
/// <returns></returns>
|
||
PagedInfo<OdfCables> ExportList(OdfCablesQueryDto parm, long deptId);
|
||
}
|
||
}
|