1
0
suochencheng 7 лет назад
Родитель
Сommit
2b009907cc
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/main/java/com/izouma/awesomeadmin/dao/UsersSessionMapper.xml

+ 4 - 0
src/main/java/com/izouma/awesomeadmin/dao/UsersSessionMapper.xml

@@ -187,6 +187,7 @@
 
 
     <select id="queryAllUsersSession" parameterType="java.util.Map" resultMap="UsersSessionResultMap">
     <select id="queryAllUsersSession" parameterType="java.util.Map" resultMap="UsersSessionResultMap">
         SELECT DISTINCT
         SELECT DISTINCT
+        us.id,
         us.user_id,
         us.user_id,
         us.type,
         us.type,
         us.store_id,
         us.store_id,
@@ -229,6 +230,7 @@
         </if>
         </if>
 
 
         GROUP BY
         GROUP BY
+        us.id,
         us.user_id,
         us.user_id,
         us.type,
         us.type,
         us.store_id
         us.store_id
@@ -240,6 +242,7 @@
     <select id="queryAllUsersSessionByPage" parameterType="java.util.Map" resultMap="UsersSessionResultMap">
     <select id="queryAllUsersSessionByPage" parameterType="java.util.Map" resultMap="UsersSessionResultMap">
 
 
         SELECT DISTINCT
         SELECT DISTINCT
+        us.id,
         us.user_id,
         us.user_id,
         us.type,
         us.type,
         us.store_id,
         us.store_id,
@@ -282,6 +285,7 @@
         </if>
         </if>
 
 
         GROUP BY
         GROUP BY
+        us.id,
         us.user_id,
         us.user_id,
         us.type,
         us.type,
         us.store_id
         us.store_id