|
@@ -82,7 +82,7 @@ public class RgulationSendJob {
|
|
// 查找调控主表当日未下发的记录
|
|
// 查找调控主表当日未下发的记录
|
|
List<TempShortRegulation> tempShortRegulationList = tempShortRegulationService.list(tempShortRegulationQueryWrapper);
|
|
List<TempShortRegulation> tempShortRegulationList = tempShortRegulationService.list(tempShortRegulationQueryWrapper);
|
|
// 存在未下发的记录就执行下发任务
|
|
// 存在未下发的记录就执行下发任务
|
|
- if (!tempShortRegulationList.isEmpty()) {
|
|
|
|
|
|
+ if (tempShortRegulationList.isEmpty()) {
|
|
// 超过截止时间就执行调控下发,获取当天将要下发的调控记录
|
|
// 超过截止时间就执行调控下发,获取当天将要下发的调控记录
|
|
QueryWrapper<TempShortRegulationDetail> tempShortRegulationDetailQueryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<TempShortRegulationDetail> tempShortRegulationDetailQueryWrapper = new QueryWrapper<>();
|
|
// 当日调控
|
|
// 当日调控
|