Browse Source

feat: [试验管理] 选择试剂

master
memorylkf 2 months ago
parent
commit
53d17900cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/SjServiceImpl.java

+ 1
- 1
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/SjServiceImpl.java View File

@ -106,7 +106,7 @@ public class SjServiceImpl extends ServiceImpl implements ISjServi
public List<SjListDto> queryPublicList(SjSearchListForm form) { public List<SjListDto> queryPublicList(SjSearchListForm form) {
QueryWrapper<Sj> queryWrapper = Wrappers.query(); QueryWrapper<Sj> queryWrapper = Wrappers.query();
queryWrapper.eq("s.del_flag", 0); 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())); , ZjztEnum.rk.getValue(), form.getStudyFormId()));
if(StringUtils.isNotEmpty(form.getMc())) { if(StringUtils.isNotEmpty(form.getMc())) {
queryWrapper.like("s.mc", form.getMc()); queryWrapper.like("s.mc", form.getMc());

Loading…
Cancel
Save