张延森 4 年之前
父節點
當前提交
b6cdf603a6
共有 2 個檔案被更改,包括 4 行新增2 行删除
  1. 1
    1
      pom.xml
  2. 3
    1
      src/main/resources/mapper/TaPointsExchangeMapper.xml

+ 1
- 1
pom.xml 查看文件

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

+ 3
- 1
src/main/resources/mapper/TaPointsExchangeMapper.xml 查看文件

66
                 #{personBuilding.buildingId}
66
                 #{personBuilding.buildingId}
67
             </foreach>
67
             </foreach>
68
         </if>
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
     </select>
72
     </select>
71
 </mapper>
73
 </mapper>