Browse Source

fix:[模板管理]修改

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

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

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

Loading…
Cancel
Save