| | |
| | | + " case t.floor_type when 1 then '高层' when 2 then '中层' when 3 then '低层' else '/' end floorType, " |
| | | + " t.num, " + " t.square, " + " t.address " + "FROM " + " com_mng_real_assets t " |
| | | + " LEFT JOIN com_mng_struct_build_type t2 ON t.build_type_id = t2.id" |
| | | + " WHERE 1= 1 " |
| | | + "<if test='exportRealAssetsExcelDTO.name != null and exportRealAssetsExcelDTO.name.trim() != ""'>" |
| | | + " and t.name LIKE concat( #{exportRealAssetsExcelDTO.name}, '%' ) " + " </if> " |
| | | + "<if test='exportRealAssetsExcelDTO.communityId != null and exportRealAssetsExcelDTO.communityId != 0'>" |
| | |
| | | </select> |
| | | |
| | | <select id="selectActivityLine" resultType="integer"> |
| | | select count(*) from com_act_activity where type = 3 and publish_at >= DATE_FORMAT( CONCAT(#{year},'-',#{date},'-00'), '%Y-%m-00 00:00:00') and DATE_FORMAT( LAST_DAY(CONCAT(#{year},'-',#{date},'-00')), '%Y-%m-%d 23:59:59') >=publish_at |
| | | select count(*) from com_act_activity where type = 3 and publish_at >= DATE_FORMAT( CONCAT(#{year},'-',#{date},'-00'), '%Y-%m-00 00:00:00') and DATE_FORMAT( LAST_DAY(CONCAT(#{year},'-',#{date},'-00')), '%Y-%m-%d 23:59:59') >=publish_at and community_id =#{community_id} |
| | | </select> |
| | | |
| | | <select id="partyMemberDetail" resultType="com.panzhihua.common.model.vos.community.PartyMemberDetailVO"> |
| | |
| | | </resultMap> |
| | | |
| | | <select id="pageList" resultType="com.panzhihua.common.model.vos.community.easyPhoto.ComActEasyPhotoMemberVO"> |
| | | select * from com_act_easy_photo_member order by create_time desc |
| | | select * from com_act_easy_photo_member |
| | | <where> |
| | | 1=1 |
| | | <if test="commonPage.name !=null and commonPage.name !=''"> |
| | | and name like concat('%',#{commonPage.name},'%') |
| | | </if> |
| | | <if test="commonPage.phone !=null and commonPage.phone !=''"> |
| | | and phone like concat('%',#{commonPage.phone},'%') |
| | | </if> |
| | | </where> |
| | | order by create_time desc |
| | | </select> |
| | | </mapper> |