mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-29 03:28:00 +08:00
update 打印日志
This commit is contained in:
@@ -117,7 +117,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.info("PRE环境不执行,关闭启动失败的订单");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询出最近2天支付成功,并且订单状态为未启动的订单
|
// 查询出最近2天支付成功,并且订单状态为未启动的订单
|
||||||
@@ -132,7 +132,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.info("PRE环境不执行,查询预约充电的订单并启动");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询出 已支付 设置预约充电 未启动 的订单
|
// 查询出 已支付 设置预约充电 未启动 的订单
|
||||||
@@ -189,7 +189,7 @@ public class JsowellTask {
|
|||||||
public void dailyProofreadTimeForYkcV160(Long intervalMillis) {
|
public void dailyProofreadTimeForYkcV160(Long intervalMillis) {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.info("PRE环境不执行,云快充1.6每日自动对时");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -252,7 +252,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.info("PRE环境不执行,计算站点订单报表");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询出所有站点
|
// 查询出所有站点
|
||||||
@@ -281,7 +281,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.info("PRE环境不执行,站点的枪口数据推送到高德");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Set<String> stationIds = redisCache.getCacheSet(CacheConstants.PUSH_STATION_CONNECTOR);
|
Set<String> stationIds = redisCache.getCacheSet(CacheConstants.PUSH_STATION_CONNECTOR);
|
||||||
@@ -306,7 +306,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.info("PRE环境不执行,贵州省平台推送充电站实时功率");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -346,7 +346,7 @@ public class JsowellTask {
|
|||||||
public void pushStatisticsInfo() {
|
public void pushStatisticsInfo() {
|
||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.info("PRE环境不执行");
|
log.info("PRE环境不执行,推送统计信息 24小时执行一次");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -387,7 +387,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.info("PRE环境不执行,定时任务, 订单分账");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询运营商列表
|
// 查询运营商列表
|
||||||
@@ -426,7 +426,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.info("PRE环境不执行,生成运营商日报表");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 查询运营商列表
|
// 查询运营商列表
|
||||||
|
|||||||
Reference in New Issue
Block a user