From 7c416e13daad157f6b023a826a2ca902f1a85104 Mon Sep 17 00:00:00 2001 From: "583641232@qq.com" <583641232@qq.com> Date: Wed, 31 Jul 2024 11:42:40 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=95=B0=E6=8D=AE=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=88=A0=E9=99=A4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../datacenter/service/QueryCenterService.java | 14 +++++++------- .../impl/CollectionInformationServiceImpl.java | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) 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); }