代码调整
This commit is contained in:
@@ -141,8 +141,8 @@ public class EventBootApplicationTest {
|
||||
String cfgPath = OssPath.WAVE_DIR+"192.168.1.190/PQMonitor_PQM1_002438_20210508_092859_938.CFG";
|
||||
String datPath = OssPath.WAVE_DIR+"192.168.1.190/PQMonitor_PQM1_002438_20210508_092859_938.DAT";
|
||||
|
||||
InputStream cfgStream =obsUtil.fileDownload(cfgPath);
|
||||
InputStream datStream =obsUtil.fileDownload(datPath);
|
||||
InputStream cfgStream =obsUtil.downloadStream(cfgPath);
|
||||
InputStream datStream =obsUtil.downloadStream(datPath);
|
||||
|
||||
if(Objects.isNull(cfgStream) || Objects.isNull(datStream)){
|
||||
throw new FileNotFoundException(EventResponseEnum.ANALYSEWAVE_NOT_FOUND.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user