|
|
@ -44,9 +44,6 @@ public class TemplateServiceImpl extends ServiceImpl i |
|
|
if(template.getDeptId()!=null && template.getDeptId().longValue()>0){ |
|
|
if(template.getDeptId()!=null && template.getDeptId().longValue()>0){ |
|
|
queryWrapper.eq("t.dept_id",template.getDeptId()); |
|
|
queryWrapper.eq("t.dept_id",template.getDeptId()); |
|
|
} |
|
|
} |
|
|
if(template.getNeedPre()!=null && template.getNeedPre().intValue()>0){ |
|
|
|
|
|
queryWrapper.eq("t.need_pre",template.getNeedPre()); |
|
|
|
|
|
} |
|
|
|
|
|
if(template.getStatus()!=null && template.getStatus().intValue()>0){ |
|
|
if(template.getStatus()!=null && template.getStatus().intValue()>0){ |
|
|
queryWrapper.eq("t.status",template.getStatus()); |
|
|
queryWrapper.eq("t.status",template.getStatus()); |
|
|
} |
|
|
} |
|
|
|