Browse Source

fix:[模板管理]优化

master
15881625488@163.com 2 months ago
parent
commit
221f62efbc
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/TemplateServiceImpl.java

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

@ -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);

Loading…
Cancel
Save