mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
打印日志
This commit is contained in:
@@ -74,7 +74,7 @@ public class JsowellTask {
|
|||||||
public void setBarrier() {
|
public void setBarrier() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -86,7 +86,7 @@ public class JsowellTask {
|
|||||||
public void close15MinutesOfUnpaidOrders() {
|
public void close15MinutesOfUnpaidOrders() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// log.info("关闭15分钟未支付的订单");
|
// log.info("关闭15分钟未支付的订单");
|
||||||
@@ -100,7 +100,7 @@ public class JsowellTask {
|
|||||||
public void closeStartFailedOrder() {
|
public void closeStartFailedOrder() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询出最近2天支付成功,并且订单状态为未启动的订单
|
// 查询出最近2天支付成功,并且订单状态为未启动的订单
|
||||||
@@ -115,7 +115,7 @@ public class JsowellTask {
|
|||||||
public void appointmentOrderStart() {
|
public void appointmentOrderStart() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询出 已支付 设置预约充电 未启动 的订单
|
// 查询出 已支付 设置预约充电 未启动 的订单
|
||||||
@@ -164,7 +164,7 @@ public class JsowellTask {
|
|||||||
public void calculateTheSiteOrdersReport() {
|
public void calculateTheSiteOrdersReport() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询出所有站点
|
// 查询出所有站点
|
||||||
@@ -193,7 +193,7 @@ public class JsowellTask {
|
|||||||
public void pushToAMap() {
|
public void pushToAMap() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Set<String> stationIds = redisCache.getCacheSet(CacheConstants.PUSH_STATION_CONNECTOR);
|
Set<String> stationIds = redisCache.getCacheSet(CacheConstants.PUSH_STATION_CONNECTOR);
|
||||||
@@ -218,7 +218,7 @@ public class JsowellTask {
|
|||||||
public void pushStationRealTimePowerInfo() {
|
public void pushStationRealTimePowerInfo() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询出要推送的站点(贵州、)
|
// 查询出要推送的站点(贵州、)
|
||||||
@@ -240,7 +240,7 @@ public class JsowellTask {
|
|||||||
public void processOrderSplitting() {
|
public void processOrderSplitting() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询运营商列表
|
// 查询运营商列表
|
||||||
@@ -279,7 +279,7 @@ public class JsowellTask {
|
|||||||
public void generateMerchantBill() {
|
public void generateMerchantBill() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询运营商列表
|
// 查询运营商列表
|
||||||
@@ -308,7 +308,7 @@ public class JsowellTask {
|
|||||||
public void automaticPayouts() {
|
public void automaticPayouts() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询开启自动提现运营商列表
|
// 查询开启自动提现运营商列表
|
||||||
|
|||||||
Reference in New Issue
Block a user