|
|
|
@ -93,16 +93,10 @@ select * from pmn_activity_promotion_param where id in(select param_id from pmn_
|
|
|
|
|
and t.status = #{status}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="startDate != null">
|
|
|
|
|
and t.create_time >= #{startDate}
|
|
|
|
|
and t.begin_time <![CDATA[ >= ]]> #{startDate}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="endDate != null">
|
|
|
|
|
and t.create_time <![CDATA[ <= ]]> #{endDate}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="beginTime != null">
|
|
|
|
|
and t.begin_time >= #{beginTime}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="endTime != null">
|
|
|
|
|
and t.end_time <![CDATA[ <= ]]> #{endTime}
|
|
|
|
|
and t.end_time <![CDATA[ <= ]]> #{endDate}
|
|
|
|
|
</if>
|
|
|
|
|
and t.status <> 4
|
|
|
|
|
order by create_time desc
|
|
|
|
|