diff --git a/src/main/java/com/docus/server/rpc/impl/DownPlatformServiceImpl.java b/src/main/java/com/docus/server/rpc/impl/DownPlatformServiceImpl.java index 1062e4a..7d51e50 100644 --- a/src/main/java/com/docus/server/rpc/impl/DownPlatformServiceImpl.java +++ b/src/main/java/com/docus/server/rpc/impl/DownPlatformServiceImpl.java @@ -27,7 +27,7 @@ public class DownPlatformServiceImpl implements DownPlatformService { @Override public CommonResult report(ReportDownDto reportDownDto) { - if (!reportDownDto.getScanfiles().isEmpty()) { + if (reportDownDto.getScanfiles().isEmpty()) { return CommonResult.failed("文件数量为空!"); } String downUrl = serverUrlConfig.getDownloadPlatformServerUrl() + "api/downplatform/report";