|
@ -804,7 +804,7 @@ |
|
|
<!-- 查询党员的总量与增量【新方法】 --> |
|
|
<!-- 查询党员的总量与增量【新方法】 --> |
|
|
<select id="selectPartyTotalAndIncrNew" resultType="com.epmet.dto.user.result.PartyTotalAndIncrResultDTO"> |
|
|
<select id="selectPartyTotalAndIncrNew" resultType="com.epmet.dto.user.result.PartyTotalAndIncrResultDTO"> |
|
|
SELECT |
|
|
SELECT |
|
|
IFNULL(count(urole.USER_ID),0) AS total, |
|
|
IFNULL(count(DISTINCT urole.USER_ID),0) AS total, |
|
|
rr.GRID_ID, |
|
|
rr.GRID_ID, |
|
|
IFNULL(t.userCount,0) AS monthlyIncr, |
|
|
IFNULL(t.userCount,0) AS monthlyIncr, |
|
|
IFNULL(d.userCount,0) AS dailyIncr |
|
|
IFNULL(d.userCount,0) AS dailyIncr |
|
|