diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/YqServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/YqServiceImpl.java index 91414f0..6f6dfea 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/YqServiceImpl.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/YqServiceImpl.java @@ -52,7 +52,7 @@ public class YqServiceImpl extends ServiceImpl implements IYqServi QueryWrapper queryWrapper = Wrappers.query(); queryWrapper.eq("y.del_flag", 0); if(StringUtils.isNotEmpty(form.getMc())) { - queryWrapper.like("y.`mc`", form.getBh()); + queryWrapper.like("y.`mc`", form.getMc()); } if(StringUtils.isNotEmpty(form.getBh())) { queryWrapper.like("y.bh", form.getBh());