|
|
|
@ -139,7 +139,7 @@ public class DeptServiceImpl implements IDeptService {
|
|
|
|
|
@Override |
|
|
|
|
public List<Long> alarmDeptByCurrentUser() { |
|
|
|
|
List<StationEntity> stations = stationService.list(Wrappers.<StationEntity>lambdaQuery() |
|
|
|
|
.eq(StationEntity::getServeType, HomePageConstant.HYDROPOWER_SERVETYPE) |
|
|
|
|
.eq(StationEntity::getType, HomePageConstant.HYDROPOWER) |
|
|
|
|
); |
|
|
|
|
if(CollectionUtil.isEmpty(stations)){ |
|
|
|
|
return new ArrayList<>(); |
|
|
|
|