| | |
| | | |
| | | @Select("SELECT " + |
| | | " count( id ) AS examineNum, " + |
| | | " ( SELECT count( id ) FROM com_act_easy_photo WHERE `status` = 2 AND community_id = #{communityId} ) AS verificationNum, " + |
| | | " ( SELECT count( id ) FROM com_act_easy_photo WHERE `status` = 3 AND community_id = #{communityId} ) AS rejectNum, " + |
| | | " ( SELECT count( id ) FROM com_act_easy_photo WHERE `status` = 4 AND community_id = #{communityId} ) AS completeNum " + |
| | | " ( SELECT count( id ) FROM com_act_easy_photo WHERE `status` = 2 AND community_id = #{communityId} and del_tag = 0 ) AS verificationNum, " + |
| | | " ( SELECT count( id ) FROM com_act_easy_photo WHERE `status` = 3 AND community_id = #{communityId} and del_tag = 0 ) AS rejectNum, " + |
| | | " ( SELECT count( id ) FROM com_act_easy_photo WHERE `status` = 4 AND community_id = #{communityId} and del_tag = 0 ) AS completeNum " + |
| | | "FROM " + |
| | | " com_act_easy_photo " + |
| | | "WHERE " + |
| | | " `status` = 1 " + |
| | | " AND community_id = #{communityId}") |
| | | " AND community_id = #{communityId} and del_tag = 0") |
| | | ComActEasyPhotoStatisticsVO getEasyPhotoStatistics(@Param("communityId")Long communityId); |
| | | } |