| | |
| | | <sql id="Base_Column_List"> |
| | | id, app_user_id, nick_name, contact_number, requirement_description, pictures, create_time, update_time, create_by, update_by, disabled |
| | | </sql> |
| | | <select id="pageList" resultType="com.ruoyi.system.model.THelpNeeds"> |
| | | select t1.* from t_help_needs |
| | | where 1=1 |
| | | <if test="query.nickName != null and query.nickName != ''"> |
| | | and t1.nick_name like concat('%',#{query.nickName},'%') |
| | | </if> |
| | | <if test="query.contactNumber != null and query.contactNumber != ''"> |
| | | and t1.contact_number like concat('%',#{query.contactNumber},'%') |
| | | </if> |
| | | <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''"> |
| | | and t1.create_time between #{query.startTime} and #{query.endTime} |
| | | </if> |
| | | </select> |
| | | |
| | | </mapper> |