| | |
| | | |
| | | <select id="export" resultType="com.panzhihua.common.model.vos.community.ComActQuestnaireAnswerContentVO"> |
| | | select ac.*,ac.create_at as time,u.nick_name,cars.type as optionType from com_act_reserve_record carr |
| | | left join com_act_reserve_answer_content ac on ac.reserve_record_id = carr.id |
| | | left join com_act_reserve_answer_content ac on ac.reserve_record_id = carr.id |
| | | left join sys_user u on carr.user_id = u.user_id |
| | | left join com_act_reserve_sub cars on ac.reserve_sub_id = cars.id |
| | | where carr.reserve_id = #{detailedAdminDTO.reserveId} and ac.reserve_record_id in ( SELECT DISTINCT |
| | | where carr.reserve_id = #{detailedAdminDTO.reserveId} and ac.reserve_record_id in ( SELECT DISTINCT |
| | | carr.id |
| | | FROM |
| | | com_act_reserve_record carr |
| | |
| | | </if> |
| | | <if test="detailedAdminDTO.keyword!=null and detailedAdminDTO.keyword != """> |
| | | AND ac.answer_content like concat ('%',#{detailedAdminDTO.keyword},'%') |
| | | </if> order by ac.reserve_record_id DESC,ac.id ASC |
| | | </if>) |
| | | order by ac.reserve_record_id DESC,ac.id ASC |
| | | </select> |
| | | <select id="pageRegisterHomeQuarantine" resultType="java.lang.String"> |
| | | SELECT answer_content FROM ( |