feat(asms): 定时同步问题修复
This commit is contained in:
+3
@@ -322,6 +322,9 @@ public class SynchronizationAsmsService {
|
|||||||
LambdaQueryWrapper<LawsDomesticStandard> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<LawsDomesticStandard> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
queryWrapper.eq(LawsDomesticStandard::getStandardNumber, code);
|
queryWrapper.eq(LawsDomesticStandard::getStandardNumber, code);
|
||||||
LawsDomesticStandard lawsDomesticStandard = lawsDomesticStandardService.getOne(queryWrapper);
|
LawsDomesticStandard lawsDomesticStandard = lawsDomesticStandardService.getOne(queryWrapper);
|
||||||
|
if(Objects.isNull(lawsDomesticStandard)){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LambdaQueryWrapper<OSSFile> queryWrapper1 = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<OSSFile> queryWrapper1 = new LambdaQueryWrapper<>();
|
||||||
queryWrapper1.eq(OSSFile::getStandardId, lawsDomesticStandard.getId());
|
queryWrapper1.eq(OSSFile::getStandardId, lawsDomesticStandard.getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user