Commit 8ed00874 authored by 李博今's avatar 李博今

如果客服描述为空,则转化为空字符串

parent d72185c4
...@@ -526,6 +526,9 @@ public class ImController extends BaseController { ...@@ -526,6 +526,9 @@ public class ImController extends BaseController {
List<UserAdminInfoEntity> onlineList = new ArrayList<>(); List<UserAdminInfoEntity> onlineList = new ArrayList<>();
List<UserAdminInfoEntity> offlineList = new ArrayList<>(); List<UserAdminInfoEntity> offlineList = new ArrayList<>();
loop1:for (UserAdminInfoEntity userAdminInfoEntity : resultList) { loop1:for (UserAdminInfoEntity userAdminInfoEntity : resultList) {
if(userAdminInfoEntity.getRemark() == null){
userAdminInfoEntity.setRemark("");
}
for (Session session : sessions) { for (Session session : sessions) {
if(Long.valueOf(session.getAccount()) == userAdminInfoEntity.getUid()) { if(Long.valueOf(session.getAccount()) == userAdminInfoEntity.getUid()) {
userAdminInfoEntity.setOnline(true); userAdminInfoEntity.setOnline(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment