fix: 获取标准信息不显示被代替被引用字段

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