lyhzzz 2 年之前
父节点
当前提交
defa1d6ca6

+ 2 - 2
src/main/java/com/fdkankan/manage/service/impl/ServiceUpTipServiceImpl.java

@@ -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;

+ 1 - 1
src/main/resources/bootstrap.yml

@@ -1,6 +1,6 @@
 spring:
   profiles:
-    active: dev
+    active: test
 logging:
   config: classpath:logback-spring.xml
 mybatis-plus: