|
@@ -1,5 +1,7 @@
|
|
|
package com.xt.jygl.gkjsgl.jsjdbg.dao;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
import org.springframework.data.jpa.repository.Query;
|
|
|
|
|
|
import com.xt.jygl.gkjsgl.jsjdbg.entity.JsjdbgEntity;
|
|
@@ -9,4 +11,11 @@ public interface JsjdbgDao extends SecRepository<JsjdbgEntity, String> {
|
|
|
|
|
|
@Query("SELECT m FROM JsjdbgEntity m WHERE m.xmid =?1 and m.recordStatus <> 9 ")
|
|
|
JsjdbgEntity findByXmid(String id);
|
|
|
+
|
|
|
+ @Query(value = "SELECT m.id from GK_OPERATION_JSJY_JSJDBG m where m.jyrid like ?1% and m.record_Status<>9 and m.record_Status<>2 and m.record_Status<>1", nativeQuery = true)
|
|
|
+ public List<Object> findByJyrids(String jyrid );
|
|
|
+
|
|
|
+ @Query(value = "SELECT m.id from GK_OPERATION_JSJY_JSJDBG m where m.szgq in (?1) and m.record_Status<>9 and m.record_Status<>2 and m.record_Status<>1", nativeQuery = true)
|
|
|
+ public List<Object> findByGqids(String gqids);
|
|
|
+
|
|
|
}
|