Commit bca733ad00f5ecfa8052d35eb0859604fdbc0d20
1 parent
bf0164f7
fix: statistics created device profile count
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -141,8 +141,8 @@ public class TkHomePageServiceImpl implements HomePageService { |
141 | 141 | deviceProfileDTOList.stream() |
142 | 142 | .filter( |
143 | 143 | item -> |
144 | - item.getCreateTime().isBefore(startTime) | |
145 | - && item.getCreateTime().isAfter(endTime)) | |
144 | + item.getCreateTime().isAfter(startTime) | |
145 | + && item.getCreateTime().isBefore(endTime)) | |
146 | 146 | .count(); |
147 | 147 | } |
148 | 148 | product.setSumCount(deviceProfileDTOList.size()); | ... | ... |