fix(asms): 拆分同步问题
This commit is contained in:
+4
-2
@@ -569,12 +569,14 @@ public class LawsAsmsOpenApiServiceImpl extends ServiceImpl<LawsAsmsOpenApiMappe
|
||||
LambdaQueryWrapper<LawsDomesticStandard> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(LawsDomesticStandard::getStandardNumber, code);
|
||||
LawsDomesticStandard lawsDomesticStandard = lawsDomesticStandardService.getOne(queryWrapper);
|
||||
|
||||
if (Objects.isNull(lawsDomesticStandard)) {
|
||||
return;
|
||||
}
|
||||
LambdaQueryWrapper<OSSFile> queryWrapper1 = new LambdaQueryWrapper<>();
|
||||
queryWrapper1.eq(OSSFile::getStandardId, lawsDomesticStandard.getId());
|
||||
queryWrapper1.eq(OSSFile::getStandardFileType, "publish_of_original");
|
||||
queryWrapper1.like(OSSFile::getFileName, ".docx");
|
||||
OSSFile ossFile = ossFileService.getOne(queryWrapper1);
|
||||
OSSFile ossFile = ossFileService.getOne(queryWrapper1, false);
|
||||
if (Objects.isNull(ossFile)){
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user