|
@@ -6,17 +6,11 @@ import org.springframework.data.jpa.repository.Modifying;
|
|
|
import org.springframework.data.jpa.repository.Query;
|
|
|
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
|
|
|
|
|
|
-import java.util.Set;
|
|
|
-
|
|
|
public interface TransObjectInfoRepository extends JpaRepository<TransObjectInfo, Integer>, QuerydslPredicateExecutor<TransObjectInfo> {
|
|
|
|
|
|
@Modifying
|
|
|
@Query(nativeQuery = true, value = "delete from admin_trans_object_info where project_id = ?")
|
|
|
int deleteByProjectId(String projectId);
|
|
|
|
|
|
- @Modifying
|
|
|
- @Query(nativeQuery = true, value = "delete from admin_trans_object_info where project_id = ?1 and object_id in ?2")
|
|
|
- int deleteByProjectIdAndObjectId(String projectId, Set<String> idArray);
|
|
|
-
|
|
|
}
|
|
|
|