|
|
|
@ -53,7 +53,8 @@ public class TemplateServiceImpl extends ServiceImpl i |
|
|
|
if(template.getStudyType()!=null&& template.getStudyType().intValue()>0){ |
|
|
|
queryWrapper.eq("t.study_type",template.getStudyType()); |
|
|
|
}else{ |
|
|
|
queryWrapper.in("t.study_type", StudyTypeEnum.fsy.getValue(), StudyTypeEnum.sy.getValue()); |
|
|
|
Integer all=20; |
|
|
|
queryWrapper.eq("t.study_type",all); |
|
|
|
} |
|
|
|
queryWrapper.orderByAsc("t.sn"); |
|
|
|
return baseMapper.queryList(queryWrapper); |
|
|
|
|