From bd3a56723062aad602636ee47c91fccf2b2868f6 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期一, 07 六月 2021 16:50:11 +0800
Subject: [PATCH] 定时上报网格员定位数据

---
 springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventApi.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventApi.java b/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventApi.java
index f34fcad..b29a28a 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/grid_app/src/main/java/com/panzhihua/grid_app/api/EventApi.java
@@ -45,7 +45,7 @@
         ClazzUtils.setIfStringIsEmpty(eventRevokeDTO);
         LoginUserInfoVO loginUserInfoVO = getLoginUserInfo();
         eventRevokeDTO.setUserId(loginUserInfoVO.getUserId());
-        eventRevokeDTO.setUserName(loginUserInfoVO.getName());
+        eventRevokeDTO.setUserName(loginUserInfoVO.getNickName());
         return gridService.emergenciesRevoke(eventRevokeDTO);
     }
 
@@ -82,7 +82,7 @@
         ClazzUtils.setIfStringIsEmpty(commonEventRepublishDTO);
         LoginUserInfoVO loginUserInfoVO = this.getLoginUserInfo();
         commonEventRepublishDTO.setUserId(loginUserInfoVO.getUserId());
-        commonEventRepublishDTO.setUserName(loginUserInfoVO.getName());
+        commonEventRepublishDTO.setUserName(loginUserInfoVO.getNickName());
         return gridService.republishEvent(commonEventRepublishDTO);
     }
 
@@ -98,7 +98,7 @@
         ClazzUtils.setIfStringIsEmpty(commonEventPublicDTO);
         LoginUserInfoVO loginUserInfoVO = this.getLoginUserInfo();
         commonEventPublicDTO.setUserId(loginUserInfoVO.getUserId());
-        commonEventPublicDTO.setUserName(loginUserInfoVO.getName());
+        commonEventPublicDTO.setUserName(loginUserInfoVO.getNickName());
         return gridService.draftRelease(commonEventPublicDTO);
     }
 

--
Gitblit v1.7.1