保誠-保戶業務員媒合平台
wayne
2021-12-03 60c22a257f18ed9e482de8434850ec4688fd6707
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);
}