diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/SjServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/SjServiceImpl.java index 7091456..b64c96a 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/SjServiceImpl.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/SjServiceImpl.java @@ -106,7 +106,7 @@ public class SjServiceImpl extends ServiceImpl implements ISjServi public List queryPublicList(SjSearchListForm form) { QueryWrapper queryWrapper = Wrappers.query(); queryWrapper.eq("s.del_flag", 0); - queryWrapper.and(p -> p.apply("(s.zjzt = #{0} OR (s.zjzt IS NULL AND s.study_form_id = #{1}))" + queryWrapper.and(p -> p.apply("(s.zjzt = {0} OR (s.zjzt IS NULL AND s.study_form_id = {1}))" , ZjztEnum.rk.getValue(), form.getStudyFormId())); if(StringUtils.isNotEmpty(form.getMc())) { queryWrapper.like("s.mc", form.getMc());