diff --git a/cas-system/src/main/java/com/inscloudtech/datacenter/service/QueryCenterService.java b/cas-system/src/main/java/com/inscloudtech/datacenter/service/QueryCenterService.java index 6823a3a..6622559 100644 --- a/cas-system/src/main/java/com/inscloudtech/datacenter/service/QueryCenterService.java +++ b/cas-system/src/main/java/com/inscloudtech/datacenter/service/QueryCenterService.java @@ -578,13 +578,13 @@ public class QueryCenterService { @SneakyThrows public Long deleteDataByCondition(QueryCenterQuery query) { - if(null == query.getCaseId()){ - throw new RuntimeException("案件id不能为空!"); - } - String indexName = query.getIndex(); - if(StrUtil.isEmpty(indexName)){ - throw new RuntimeException("[业务模块]不能为空!"); - } +// if(null == query.getCaseId()){ +// throw new RuntimeException("案件id不能为空!"); +// } +// String indexName = query.getIndex(); +// if(StrUtil.isEmpty(indexName)){ +// throw new RuntimeException("[业务模块]不能为空!"); +// } JSONObject queryInfo = getQueryInfo(initQueryIndex(1)); List indexList = queryInfo.getBeanList("indexArr", String.class); // if(!indexList.contains(indexName)){ diff --git a/cas-system/src/main/java/com/inscloudtech/datacenter/service/impl/CollectionInformationServiceImpl.java b/cas-system/src/main/java/com/inscloudtech/datacenter/service/impl/CollectionInformationServiceImpl.java index cb0b06b..e81d953 100644 --- a/cas-system/src/main/java/com/inscloudtech/datacenter/service/impl/CollectionInformationServiceImpl.java +++ b/cas-system/src/main/java/com/inscloudtech/datacenter/service/impl/CollectionInformationServiceImpl.java @@ -148,14 +148,14 @@ public class CollectionInformationServiceImpl implements CollectionInformationSe // lqw.multiMatchQuery(keyword, CollectionInformation::getInformationSources, CollectionInformation::getName, // CollectionInformation::getBasicInfo,CollectionInformation::getRelationInfo,CollectionInformation::getAssetsInfo, // CollectionInformation::getActionInfo,CollectionInformation::getRemark); - lqw.or().like(CollectionInformation::getInformationSources, keyword); - - lqw.or().like(CollectionInformation::getName, keyword); - lqw.or().like(CollectionInformation::getBasicInfo, keyword); - lqw.or().like(CollectionInformation::getRelationInfo, keyword); - lqw.or().like(CollectionInformation::getAssetsInfo, keyword); - lqw.or().like(CollectionInformation::getActionInfo, keyword); - lqw.or().like( CollectionInformation::getRemark, keyword); + lqw.like(CollectionInformation::getInformationSources, keyword); + +// lqw.or().like(CollectionInformation::getName, keyword); +// lqw.or().like(CollectionInformation::getBasicInfo, keyword); +// lqw.or().like(CollectionInformation::getRelationInfo, keyword); +// lqw.or().like(CollectionInformation::getAssetsInfo, keyword); +// lqw.or().like(CollectionInformation::getActionInfo, keyword); +// lqw.or().like( CollectionInformation::getRemark, keyword); }