|
@ -55,7 +55,7 @@ public class IotProductController extends EnvelopRestController {
|
|
|
size = 10;
|
|
|
}
|
|
|
String filters = "";
|
|
|
String semicolon = "";
|
|
|
String semicolon = "del=1;";
|
|
|
if(StringUtils.isNotBlank(name)){
|
|
|
filters = "name?"+name+" g1;registerCertificate?"+name+" g1";
|
|
|
semicolon = ";";
|
|
@ -68,9 +68,6 @@ public class IotProductController extends EnvelopRestController {
|
|
|
filters += semicolon +"productClassify="+classify;
|
|
|
semicolon = ";";
|
|
|
}
|
|
|
if(StringUtils.isBlank(filters)){
|
|
|
filters+= semicolon + "del=1";
|
|
|
}
|
|
|
String sorts = "-updateTime";
|
|
|
//得到list数据
|
|
|
List<IotProductBaseInfoDO> list = iotProductBaseInfoService.search(null, filters, sorts, page, size);
|