feat(asms): 定时同步问题修复

This commit is contained in:
yjz
2024-02-26 10:56:09 +08:00
parent 6ca8870a4e
commit 0d2229329a
@@ -322,6 +322,9 @@ public class SynchronizationAsmsService {
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());