| | |
| | | </select> |
| | | |
| | | <select id="selectComMngStructArea" resultType="com.panzhihua.common.model.vos.community.ComMngStructAreaVO"> |
| | | select a.id,a.community_id,a.area_name,address_detail from com_mng_struct_area a where a.community_id=#{communityId} |
| | | select a.id,a.community_id,a.area_name,address_detail from com_mng_struct_area a where a.community_id = #{communityId} |
| | | </select> |
| | | |
| | | <select id="specialUserExport" resultType="com.panzhihua.common.model.dtos.user.EexcelUserDTO"> |
| | |
| | | if(u.low_income_households=1,'是','否') lowIncomeHouseholds, if(u.low_income_people=1,'是','否') lowIncomePeople, |
| | | if(u.old_people=1,'是','否') oldPeople, if(u.special_service_family=1,'是','否') specialServiceFamily, |
| | | if(u.key_personnel=1,'是','否') keyPersonnel, u.tags FROM sys_user_input u JOIN com_mng_struct_area c ON u.area_id |
| | | = c.id where u.community_id=#{exportSpecialUserDTO.communityId} |
| | | = c.id where u.community_id = #{exportSpecialUserDTO.communityId} |
| | | <if |
| | | test='exportSpecialUserDTO.areaName != null and exportSpecialUserDTO.areaName.trim() != ""'> |
| | | AND |
| | |
| | | if(u.low_income_households=1,'是','否') lowIncomeHouseholds, if(u.low_income_people=1,'是','否') lowIncomePeople, |
| | | if(u.old_people=1,'是','否') oldPeople, if(u.special_service_family=1,'是','否') specialServiceFamily, |
| | | if(u.key_personnel=1,'是','否') keyPersonnel, u.tags FROM sys_user_input u where |
| | | u.community_id=#{exportUserDTO.communityId} |
| | | u.community_id = #{exportUserDTO.communityId} |
| | | <if |
| | | test='exportUserDTO.areaName != null and exportUserDTO.areaName.trim() != ""'>JOIN |
| | | com_mng_struct_area c ON u.area_id = c.id |