42 lines
1.1 KiB
Java
42 lines
1.1 KiB
Java
package com.hivekion.environment.service.impl;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.hivekion.environment.entity.SimtoolWeather;
|
|
import com.hivekion.environment.mapper.SimtoolWeatherMapper;
|
|
import com.hivekion.environment.service.SimtoolWeatherService;
|
|
import java.util.List;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
/**
|
|
* <p>
|
|
* 服务实现类
|
|
* </p>
|
|
*
|
|
* @author liDongYu
|
|
* @since 2025-08-28
|
|
*/
|
|
@Service
|
|
public class SimtoolWeatherServiceImpl extends
|
|
ServiceImpl<SimtoolWeatherMapper, SimtoolWeather> implements
|
|
SimtoolWeatherService {
|
|
|
|
@Override
|
|
public List<SimtoolWeather> list(SimtoolWeather weather) {
|
|
return this.baseMapper.list(weather);
|
|
}
|
|
|
|
@Override
|
|
public Long count(SimtoolWeather weather) {
|
|
return this.baseMapper.count(weather);
|
|
}
|
|
|
|
@Override
|
|
public List<SimtoolWeather> queryByScenarioUuid(String scenarioUuid) {
|
|
QueryWrapper<SimtoolWeather> queryWrapper = new QueryWrapper<SimtoolWeather>();
|
|
queryWrapper.eq("scenario_uuid", scenarioUuid);
|
|
|
|
return this.list(queryWrapper);
|
|
}
|
|
}
|