保誠-保戶業務員媒合平台
wayne
2021-11-26 e93c2fa0d3f054f6dd5adef5ecce0c4e58a5ffa9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.Appointment;
 
@Repository
public interface AppointmentRepository extends JpaRepository<Appointment, Long>{
 
    List<Appointment> findByAgentNo(String agentNo);
 
    List<Appointment> findByAgentNoAndCustomerId(String agentNo, Long customerId);
}