|
|
@ -292,7 +292,7 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<!--查询待认证用户数量--> |
|
|
|
<select id="selectOneAnauthorizedAmount" resultType="Integer"> |
|
|
|
<select id="selectCountUnauthorizedAmount" resultType="Integer"> |
|
|
|
SELECT |
|
|
|
COUNT(DISTINCT(u.ID)) |
|
|
|
FROM |
|
|
@ -300,7 +300,7 @@ |
|
|
|
LEFT JOIN epdc_user u ON u.ID = ug.USER_ID |
|
|
|
WHERE u.DEL_FLAG = '0' AND ug.DEL_FLAG = '0' AND u.STATE = '1' |
|
|
|
<choose> |
|
|
|
<when test="gridId != null">AND ug.GRID_ID = #{gridId}</when> |
|
|
|
<when test="gridId != null and gridId > 0">AND ug.GRID_ID = #{gridId}</when> |
|
|
|
<otherwise> |
|
|
|
AND ug.GRID_ID in |
|
|
|
<foreach collection="gridIdList" item="item" open="(" separator="," close=")" > |
|
|
|