dev_0531
郑皇 5 years ago
parent 988d99f886
commit aa48911a35

@ -13,6 +13,7 @@ import com.kiisoo.ic.store.mapper.PoiStoreStaffDOMapper;
import com.kiisoo.ic.store.service.PoiStoreService;
import com.kiisoo.ic.store.service.PoiStoreStaffService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.aop.framework.AopContext;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;

@ -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 &lt;&gt; 4
order by create_time desc

Loading…
Cancel
Save