Browse Source

巡更系统BUG排查

hanzhengyi 3 months ago
parent
commit
30535c5fbb

+ 1 - 0
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionEventServiceImpl.java

@@ -134,6 +134,7 @@ public class PatrolInspectionEventServiceImpl extends AbstractCrudService<Patrol
         jsonObject.addProperty("infoTitle", patrolInspectionEvent.getEventName());
         jsonObject.addProperty("infoContent",eventTypeName);
         jsonObject.addProperty("infoType",2);
+        jsonObject.addProperty("userName",SecurityUtils.getUsername());
         jsonObject.addProperty("id",patrolInspectionEvent.getId());
         remoteMceService.addMce(jsonObject.toString());