diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/TemplateServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/TemplateServiceImpl.java index a87c6e7..4312c07 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/TemplateServiceImpl.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/TemplateServiceImpl.java @@ -50,11 +50,8 @@ public class TemplateServiceImpl extends ServiceImpl i if(template.getStatus()!=null && template.getStatus().intValue()>0){ queryWrapper.eq("t.status",template.getStatus()); } - if(template.getStudyType()!=null&& template.getStudyType().intValue()>0){ + if(template.getStudyType()!=null&&template.getStudyType().intValue()>0){ queryWrapper.eq("t.study_type",template.getStudyType()); - }else{ - Integer all=20; - queryWrapper.eq("t.study_type",all); } queryWrapper.orderByAsc("t.sn"); return baseMapper.queryList(queryWrapper);