张延森 4 years ago
parent
commit
b6cdf603a6
2 changed files with 4 additions and 2 deletions
  1. 1
    1
      pom.xml
  2. 3
    1
      src/main/resources/mapper/TaPointsExchangeMapper.xml

+ 1
- 1
pom.xml View File

@@ -10,7 +10,7 @@
10 10
 	</parent>
11 11
 	<groupId>com.huiju</groupId>
12 12
 	<artifactId>xiangsong</artifactId>
13
-	<version>1.1.3</version>
13
+	<version>1.1.4</version>
14 14
 	<name>xiangsong</name>
15 15
 	<description>香颂</description>
16 16
 

+ 3
- 1
src/main/resources/mapper/TaPointsExchangeMapper.xml View File

@@ -66,6 +66,8 @@
66 66
                 #{personBuilding.buildingId}
67 67
             </foreach>
68 68
         </if>
69
-        order by t.create_date desc
69
+        GROUP BY p.person_id
70
+        HAVING 1
71
+        ORDER by t.create_date desc
70 72
     </select>
71 73
 </mapper>