| | |
| | | <mapper namespace="com.panzhihua.service_community.dao.ComScreenDao"> |
| | | <select id="autonomyDynamic" resultType="com.panzhihua.common.model.vos.puda.DynamicVO"> |
| | | select community_id, |
| | | (select count(id) from com_act_micro_wish where status=6 and community_id=#{communityId}) as microWish, |
| | | (select count(id) from com_act_micro_wish where community_id=#{communityId}) as microWish, |
| | | (select count(id) from com_act_easy_photo where del_tag=0 and status=5 and community_id=#{communityId}) as easyPhoto, |
| | | (select count(id) from com_act_announcement where community_id=#{communityId}) as announcement, |
| | | (select count(id) from com_act_activity where community_id=#{communityId}) as communityInfo, |
| | |
| | | WHERE |
| | | cmb.act_id = #{communityId} |
| | | </select> |
| | | <select id="assetAnalysis" resultType="java.lang.Integer"> |
| | | select count(id) |
| | | from com_mng_real_assets |
| | | where community_id=#{communityId} |
| | | </select> |
| | | </mapper> |