日期转换
This commit is contained in:
parent
d276b60d4d
commit
e663491aa0
|
|
@ -49,7 +49,7 @@ public class DoseDataServiceImpl implements DoseDataService {
|
||||||
Wrf wrf = wrfMapper.selectOne(new LambdaQueryWrapper<Wrf>().eq(Wrf::getEnginId, enginId));
|
Wrf wrf = wrfMapper.selectOne(new LambdaQueryWrapper<Wrf>().eq(Wrf::getEnginId, enginId));
|
||||||
String resultFilePath = baseAPIService.buildEngineeringFilePath(eventServerProperties.getResultFilePrefix(), engineering.getCreateBy(), engineering.getEngineeringName());
|
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)) {
|
try (NetcdfFile doseNcFile = getDoseNetcdfFile(resultFilePath, startTime)) {
|
||||||
DoseResultVO doseResultVO = new DoseResultVO();
|
DoseResultVO doseResultVO = new DoseResultVO();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user