From 2ab86210fb27787cb1be8976286b9b827f90997f Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期一, 15 九月 2025 17:38:54 +0800 Subject: [PATCH] 去除两网交互多余功能 --- src/main/java/com/lxzn/nc/service/impl/DocRelativeServiceImpl.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/lxzn/nc/service/impl/DocRelativeServiceImpl.java b/src/main/java/com/lxzn/nc/service/impl/DocRelativeServiceImpl.java index 6c7690a..6badb78 100644 --- a/src/main/java/com/lxzn/nc/service/impl/DocRelativeServiceImpl.java +++ b/src/main/java/com/lxzn/nc/service/impl/DocRelativeServiceImpl.java @@ -157,4 +157,22 @@ ExceptionCast.cast(CommonCode.INVALID_PARAM); return super.getBaseMapper().findDeviceByDocId(docId); } + + /** + * 鏌ヨ鍏宠仈鍏崇郴 + * @param docId + * @param classificationId + * @param attributionType + * @param attributionId + * @return + */ + @Override + public DocRelative findDocRelative(String docId, String classificationId, Integer attributionType, String attributionId){ + LambdaQueryWrapper<DocRelative> lambdaQueryWrapper = Wrappers.lambdaQuery(); + lambdaQueryWrapper.eq(DocRelative::getDocId, docId); + lambdaQueryWrapper.eq(DocRelative::getAttributionType, attributionType); + lambdaQueryWrapper.eq(DocRelative::getAttributionId, attributionId); + lambdaQueryWrapper.eq(DocRelative::getClassificationId, classificationId); + return super.getOne(lambdaQueryWrapper); + } } -- Gitblit v1.9.3