package com.its.op.dao.repository.its.oper;

import com.its.op.entity.its.oper.TbWwwMember;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbWwwMemberRepository extends JpaRepository<TbWwwMember, String>, JpaSpecificationExecutor<TbWwwMember> {

    @Query("select p from TbWwwMember p")
    List<TbWwwMember> findAll();

    @Query("select p from TbWwwMember p where p.delYn = 'N'")
    List<TbWwwMember> findAllList();

}
