mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update统计信息不在测试环境推送
This commit is contained in:
@@ -272,10 +272,9 @@ public class JsowellTask {
|
||||
* 推送统计信息 24小时执行一次
|
||||
*/
|
||||
public void pushStatisticsInfo() {
|
||||
//TODO prd环境不执行
|
||||
String env = SpringUtils.getActiveProfile();
|
||||
if (StringUtils.equalsIgnoreCase(env, "prd")) {
|
||||
log.debug("PRD环境不执行");
|
||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||
log.debug("PRE环境不执行");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user