mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-09 04:20:08 +08:00
update 暂时开放pre环境执行定时任务
This commit is contained in:
@@ -117,7 +117,7 @@ public class JsowellTask {
|
|||||||
String env = SpringUtils.getActiveProfile();
|
String env = SpringUtils.getActiveProfile();
|
||||||
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
if (StringUtils.equalsIgnoreCase(env, "pre")) {
|
||||||
log.debug("PRE环境不执行");
|
log.debug("PRE环境不执行");
|
||||||
return;
|
// return;
|
||||||
}
|
}
|
||||||
// 查询出最近2天支付成功,并且订单状态为未启动的订单
|
// 查询出最近2天支付成功,并且订单状态为未启动的订单
|
||||||
String startTime = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, DateUtils.addDays(new Date(), -2));
|
String startTime = DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, DateUtils.addDays(new Date(), -2));
|
||||||
|
|||||||
Reference in New Issue
Block a user