Commit 161b7493 authored by ZWT's avatar ZWT

feat(能源管理系统): 测试问题修复

1.修改间开制度管理-长期/中短期/短期间开优化定时任务,修改代码结构,处理部分未优化数据无法初始化问题;
2.修改间开制度管理-长期/中短期定时任务,修改离网型算法逻辑,优化代码;
3.修改间开制度管理-短期间开优化详情接口,优化代码;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 2849db2b
......@@ -94,7 +94,7 @@ public class SpaceCalibrationCloudServiceImpl implements ISpaceCalibrationCloudS
.eq(BaseModel::getIsDeleted, BusinessConstant.ONE)
.eq(SpaceCalibrationHistoryEnt::getInstitutionId, institutionId)
.orderByDesc(SpaceCalibrationHistoryEnt::getCalibrationDate)
.last("limit 1")
.last("LIMIT 1")
);
if (Objects.isNull(lastHistory)) {
//创建周期
......
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