Commit 162d2e8b authored by ZWT's avatar ZWT

feat(能源管理系统): 间开优化定时任务

1.开发间开优化长期间开优化定时任务,完成并网流程绿电消纳优先策略;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 494746ac
...@@ -87,7 +87,8 @@ public class SpaceOptimizeLongCloudServiceImpl implements ISpaceOptimizeLongClou ...@@ -87,7 +87,8 @@ public class SpaceOptimizeLongCloudServiceImpl implements ISpaceOptimizeLongClou
//取当前时间 //取当前时间
DateTime date = DateUtil.date(); DateTime date = DateUtil.date();
int year = date.year(); int year = date.year();
int monthNum = date.month(); //月份要加一
int monthNum = date.month() + 1;
String month; String month;
if (monthNum < BusinessConstant.TEN) { if (monthNum < BusinessConstant.TEN) {
month = "0" + monthNum; month = "0" + monthNum;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment