Merge remote-tracking branch 'origin/master'

This commit is contained in:
sunzheng
2024-08-05 10:45:47 +08:00
@@ -116,7 +116,7 @@ public class LawsReplacedStandardServiceImpl extends ServiceImpl<LawsReplacedSta
@Override @Override
public String getReplacedBy(String standardNumber, Integer type) { public String getReplacedBy(String standardNumber, Integer type) {
LambdaQueryWrapper<LawsReplacedStandard> queryWrapper = new LambdaQueryWrapper<>(); LambdaQueryWrapper<LawsReplacedStandard> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(LawsReplacedStandard::getReplaced, standardNumber); queryWrapper.like(LawsReplacedStandard::getReplaced, standardNumber);
queryWrapper.eq(LawsReplacedStandard::getType, type); queryWrapper.eq(LawsReplacedStandard::getType, type);
List<LawsReplacedStandard> replacedStandardList = list(queryWrapper); List<LawsReplacedStandard> replacedStandardList = list(queryWrapper);
if (CollectionUtils.isEmpty(replacedStandardList)) { if (CollectionUtils.isEmpty(replacedStandardList)) {