|
@@ -48,8 +48,8 @@ public class ServiceUpTipServiceImpl extends ServiceImpl<IServiceUpTipMapper, Se
|
|
|
wrapper.eq(ServiceUpTip::getBanStatus,0);
|
|
|
|
|
|
String date = Dateutils.getDate(new Date());
|
|
|
- wrapper.ge(ServiceUpTip::getTipStartTime,date);
|
|
|
- wrapper.le(ServiceUpTip::getTipEndTime,date);
|
|
|
+ wrapper.le(ServiceUpTip::getTipStartTime,date);
|
|
|
+ wrapper.ge(ServiceUpTip::getTipEndTime,date);
|
|
|
List<ServiceUpTip> list = this.list(wrapper);
|
|
|
if(list == null || list.size()<=0){
|
|
|
return null;
|