日期转换

This commit is contained in:
hekaiyu 2025-11-14 10:04:30 +08:00
parent d276b60d4d
commit e663491aa0

View File

@ -49,7 +49,7 @@ public class DoseDataServiceImpl implements DoseDataService {
Wrf wrf = wrfMapper.selectOne(new LambdaQueryWrapper<Wrf>().eq(Wrf::getEnginId, enginId));
String resultFilePath = baseAPIService.buildEngineeringFilePath(eventServerProperties.getResultFilePrefix(), engineering.getCreateBy(), engineering.getEngineeringName());
String startTime = wrf.getStartTime().substring(0, 10);
String startTime = wrf.getStartTime().substring(0, 10).replace("-", "");
try (NetcdfFile doseNcFile = getDoseNetcdfFile(resultFilePath, startTime)) {
DoseResultVO doseResultVO = new DoseResultVO();