|
|
@@ -62,8 +62,8 @@ public class AttenDanceWarnNoticeTask {
|
|
|
@Scheduled(cron = "0 */5 * * * ?")
|
|
|
public void RefreshConnectionPool() {
|
|
|
String active = SpringUtil.getActiveProfile();
|
|
|
- if(!"prod".equals(active)){
|
|
|
- log.info("非正式环境,无法执行数据推送");
|
|
|
+ if("dev".equals(active)){
|
|
|
+ log.info("测试环境,无法执行数据推送");
|
|
|
return;
|
|
|
}
|
|
|
//获取当前时间
|