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
16 lines
609 B
Transact-SQL
16 lines
609 B
Transact-SQL
-- =============================================
|
|
-- 创建故障频次时间记录表
|
|
-- 版本: v1.0.2.1
|
|
-- =============================================
|
|
|
|
IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'odf_cable_fault_times')
|
|
BEGIN
|
|
CREATE TABLE odf_cable_fault_times (
|
|
Id INT IDENTITY(1,1) PRIMARY KEY,
|
|
FaultId INT NOT NULL, -- 关联故障 odf_cable_faults.Id
|
|
FaultTime DATETIME NOT NULL, -- 故障发生时间
|
|
CreatedAt DATETIME NOT NULL DEFAULT GETDATE() -- 创建时间
|
|
);
|
|
END
|
|
GO
|