| | |
| | | <if test="query.state!=null"> |
| | | and state=#{query.state} |
| | | </if> |
| | | <if test="query.uid!=null"> |
| | | and uid=#{query.uid} |
| | | </if> |
| | | <if test="query.activityId!=null"> |
| | | and activity_id=#{query.activityId} |
| | | </if> |
| | | |
| | | <if test="query.minPreSendTime!=null"> |
| | | and pre_send_time>=#{query.minPreSendTime} |
| | | </if> |
| | | |
| | | <if test="query.maxPreSendTime!=null"> |
| | | and #{query.maxPreSendTime}>pre_send_time |
| | | and <![CDATA[ pre_send_time<#{query.maxPreSendTime} ]]> |
| | | </if> |
| | | |
| | | <if test="query.minActualSendTime!=null"> |
| | |
| | | |
| | | <if test="query.sortList!=null"> |
| | | <foreach collection="query.sortList" item="item" separator="," open=" order by "> |
| | | #{item} |
| | | ${item} |
| | | </foreach> |
| | | </if> |
| | | limit #{query.start},#{query.count} |