|
|
|
@ -38,9 +38,18 @@ |
|
|
|
<if test="activityName != null and activityName != ''"> |
|
|
|
AND ra.activity_name = #{activityName} |
|
|
|
</if> |
|
|
|
<if test="activityTime != null"> |
|
|
|
AND ra.end_time >= #{activityTime} |
|
|
|
AND #{activityTime} >= ra.start_time |
|
|
|
<if test="businessBelong != null and businessBelong != ''"> |
|
|
|
AND ra.business_belong = #{businessBelong} |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="endTime != null"> |
|
|
|
AND #{endTime} >= ra.end_time |
|
|
|
</if> |
|
|
|
<if test="startTime != null"> |
|
|
|
AND ra.start_time >= #{startTime} |
|
|
|
</if> |
|
|
|
<if test="area != null"> |
|
|
|
AND ra.area = #{area} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
<trim prefix="ORDER BY" suffixOverrides=","> |
|
|
|
|