| | |
| | | </where> |
| | | order by create_time desc |
| | | </select> |
| | | <select id="exportRegistration" resultType="com.ruoyi.system.export.TRegistrationExport"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from t_community_activity_registration |
| | | <where> |
| | | <if test="query.activityId != null and query.activityId != ''"> |
| | | and activity_id = #{query.activityId} |
| | | </if> |
| | | <if test="query.userName != null and query.userName != ''"> |
| | | and user_name like concat('%',#{query.userName},'%') |
| | | </if> |
| | | <if test="query.userPhone != null and query.userPhone != ''"> |
| | | and user_phone like concat('%',#{query.userPhone},'%') |
| | | </if> |
| | | and disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | </where> |
| | | order by create_time desc |
| | | </select> |
| | | |
| | | </mapper> |