保誠-保戶業務員媒合平台
Jack
2022-01-19 bf5a163bd84dfabb4fab275f6cbd27e5b0747e74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.pollex.pam.repository;
 
import java.util.List;
 
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
 
import com.pollex.pam.domain.AppointmentCustomerView;
 
@Repository
public interface AppointmentCustomerViewRepository extends JpaRepository<AppointmentCustomerView, Long>{
    List<AppointmentCustomerView> findByAgentNo(String agentNo);
    List<AppointmentCustomerView> findByAgentNoAndCustomerId(String agentNo, Long customerId);
}