|
@@ -187,7 +187,7 @@ public class StationMonitorService {
|
|
|
|
|
|
QueryWrapper<ProEconPowerstationInfoDay1> qw = new QueryWrapper<>();
|
|
|
qw.lambda().le(ProEconPowerstationInfoDay1::getRecordDate, DateUtils.today()).ge(ProEconPowerstationInfoDay1::getRecordDate, DateUtils.getMonthFirst(DateUtils.today()));
|
|
|
- qw.lambda().eq(ProEconPowerstationInfoDay1::getForeignKeyId,wpid);
|
|
|
+ qw.lambda().eq(ProEconPowerstationInfoDay1::getForeignKeyId,wpid).orderByAsc(ProEconPowerstationInfoDay1::getRecordDate);
|
|
|
List<ProEconPowerstationInfoDay1> list = proEconPowerstationInfoDay1Service.list(qw);
|
|
|
return list;
|
|
|
}
|