Commit 0d47e437 by 阳浪

新积分排名

parent 3c513844
...@@ -28,7 +28,7 @@ public interface PointUserFeignClients { ...@@ -28,7 +28,7 @@ public interface PointUserFeignClients {
@GetMapping("/manage/point/user/rank/list") @GetMapping("/manage/point/user/rank/list")
Page<PointUserListVO> userRankList(@RequestBody PointUserParamVO vo); Page<PointUserListVO> userRankList(@RequestBody PointUserParamVO vo);
@GetMapping("/manage/point/new/user/rank/list") @GetMapping("/manage/point/user/new/rank/list")
Page<PointUserListVO> newUserRankList(@RequestBody PointUserParamVO vo); Page<PointUserListVO> newUserRankList(@RequestBody PointUserParamVO vo);
@GetMapping("/manage/point/user/rank/list/export") @GetMapping("/manage/point/user/rank/list/export")
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<if test="vo.nameType!=null and vo.nameType==1"> <if test="vo.nameType!=null and vo.nameType==1">
aug.name as name, aug.name as name,
</if> </if>
<if test="vo.nameType!=null and vo.nameType==1"> <if test="vo.nameType!=null and vo.nameType==2">
a.full_name as name, a.full_name as name,
</if> </if>
sum(pu.total_point) as totalPoint sum(pu.total_point) as totalPoint
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<if test="vo.nameType!=null and vo.nameType==1"> <if test="vo.nameType!=null and vo.nameType==1">
group by aug.name group by aug.name
</if> </if>
<if test="vo.nameType!=null and vo.nameType==1"> <if test="vo.nameType!=null and vo.nameType==2">
group by a.full_name group by a.full_name
</if> </if>
order by sum(pu.total_point) desc order by sum(pu.total_point) desc
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
<if test="vo.nameType!=null and vo.nameType==1"> <if test="vo.nameType!=null and vo.nameType==1">
group by aug.name group by aug.name
</if> </if>
<if test="vo.nameType!=null and vo.nameType==1"> <if test="vo.nameType!=null and vo.nameType==2">
group by a.full_name group by a.full_name
</if> </if>
order by sum(pu.total_point) desc order by sum(pu.total_point) desc
......
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