修改BUG
This commit is contained in:
parent
f415fbc559
commit
ed376ee96b
@ -67,7 +67,7 @@ public class InspectTemplateServiceImpl implements InspectTemplateService {
|
||||
@Override
|
||||
public List<String> getcategory(String type){
|
||||
List<String> list1 = new ArrayList<>();
|
||||
if(type==null&&type.equals(""))
|
||||
if(type==null||type.equals(""))
|
||||
{
|
||||
QueryWrapper<InspectTemplateDO> queryWrapper = new QueryWrapper<>();
|
||||
queryWrapper.select("DISTINCT category");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user