From 18ecf05d1d2bb2c668d8b37254c538c23f0a2669 Mon Sep 17 00:00:00 2001 From: nm_duanzhixin <1015654585@qq.com> Date: Thu, 20 Feb 2025 18:03:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=B8=A2=E5=A4=B1=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../y9public/repository/InterfaceManageRepository.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/y9-module-interface/risenet-y9boot-support-interface-jpa-repository/src/main/java/net/risesoft/y9public/repository/InterfaceManageRepository.java b/y9-module-interface/risenet-y9boot-support-interface-jpa-repository/src/main/java/net/risesoft/y9public/repository/InterfaceManageRepository.java index 4c31c7a..00c6039 100644 --- a/y9-module-interface/risenet-y9boot-support-interface-jpa-repository/src/main/java/net/risesoft/y9public/repository/InterfaceManageRepository.java +++ b/y9-module-interface/risenet-y9boot-support-interface-jpa-repository/src/main/java/net/risesoft/y9public/repository/InterfaceManageRepository.java @@ -2,6 +2,7 @@ package net.risesoft.y9public.repository; import net.risesoft.y9public.dto.InterfaceManageDTO; +import net.risesoft.y9public.entity.InstanceNum; import net.risesoft.y9public.entity.InterfaceManage; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; @@ -35,6 +36,9 @@ public interface InterfaceManageRepository extends JpaRepository getAllCountGroupByInstanceID(); + @Query(value="select id from InterfaceManage where interfaceStatus='发布' and isDelete='N' and executeInstanceId =?1") List getAllByExecuteInstanceId(String id); }