fix: 获取标准信息不显示被代替被引用字段
This commit is contained in:
+1
-1
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user