打印日志

This commit is contained in:
Guoqs
2025-03-25 14:57:25 +08:00
parent 2c43d2ea1f
commit 8e1fcd008d

View File

@@ -74,7 +74,7 @@ public class JsowellTask {
public void setBarrier() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
}
@@ -86,7 +86,7 @@ public class JsowellTask {
public void close15MinutesOfUnpaidOrders() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
// log.info("关闭15分钟未支付的订单");
@@ -100,7 +100,7 @@ public class JsowellTask {
public void closeStartFailedOrder() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
// 查询出最近2天支付成功并且订单状态为未启动的订单
@@ -115,7 +115,7 @@ public class JsowellTask {
public void appointmentOrderStart() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
// 查询出 已支付 设置预约充电 未启动 的订单
@@ -164,7 +164,7 @@ public class JsowellTask {
public void calculateTheSiteOrdersReport() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
// 查询出所有站点
@@ -193,7 +193,7 @@ public class JsowellTask {
public void pushToAMap() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
Set<String> stationIds = redisCache.getCacheSet(CacheConstants.PUSH_STATION_CONNECTOR);
@@ -218,7 +218,7 @@ public class JsowellTask {
public void pushStationRealTimePowerInfo() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
// 查询出要推送的站点(贵州、)
@@ -240,7 +240,7 @@ public class JsowellTask {
public void processOrderSplitting() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
// 查询运营商列表
@@ -279,7 +279,7 @@ public class JsowellTask {
public void generateMerchantBill() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
// 查询运营商列表
@@ -308,7 +308,7 @@ public class JsowellTask {
public void automaticPayouts() {
String env = SpringUtils.getActiveProfile();
if (StringUtils.equalsIgnoreCase(env, "pre")) {
log.info("PRE环境不执行");
log.debug("PRE环境不执行");
return;
}
// 查询开启自动提现运营商列表