|
|
@ -35,7 +35,7 @@ module.exports.entry = function (app, router, opts) { |
|
|
|
|
|
|
|
es(app, opts) |
|
|
|
|
|
|
|
// kafka(app, opts)
|
|
|
|
kafka(app, opts) |
|
|
|
|
|
|
|
// clickHouse 数据库 client
|
|
|
|
clickHouseClient(app, opts) |
|
|
@ -69,7 +69,7 @@ module.exports.models = function (dc) { // dc = { orm: Sequelize对象, ORM: Seq |
|
|
|
AppInspection, ProjectApp, ProjectCorrelation, AppAlarm, App, AlarmAppearRecord, AlarmConfirmLog, EmailSendLog, LatestDynamicList, AlarmPushConfig, |
|
|
|
MaintenanceRecord, MaintenanceRecordExecuteUser, MaintenancePlanExecuteUser, MaintenancePlan, EquipmentMaintenanceRecord, EquipmentMaintenanceRecordProject, |
|
|
|
EquipmentMaintenanceRecordExecuteUser, ServerMaintenanceRecordRepairman, ServerMaintenanceRecord, |
|
|
|
AlarmDataContinuityType, AlarmDataContinuity,AbnTypes,AbnReportParams |
|
|
|
AlarmDataContinuityType, AlarmDataContinuity, AbnTypes, AbnReportParams |
|
|
|
} = dc.models; |
|
|
|
|
|
|
|
AppInspection.belongsTo(App, { foreignKey: 'projectAppId', targetKey: 'id' }); |
|
|
|