|
@ -50,6 +50,9 @@ public interface DoctorTeamMemberDao extends PagingAndSortingRepository<DoctorTe
|
|
|
@Query(" FROM DoctorTeamMember a WHERE a.team =?1 and a.del='1' and a.signType='2' and a.type = '3' and a.memberCode=?2 ")
|
|
|
DoctorTeamMember findMemberByTeamAndCode(String teamCode, String oldDoctorCode);
|
|
|
|
|
|
@Query(" FROM DoctorTeamMember a WHERE a.team =?1 and a.del='1' and a.signType='2' and a.type = '2' and a.memberCode=?2 ")
|
|
|
DoctorTeamMember findMemberByTeamAndQkCode(String teamCode, String oldDoctorCode);
|
|
|
|
|
|
@Query("select count(a) FROM DoctorTeamMember a WHERE a.team =?1 and a.del='1' and a.memberCode=?2 ")
|
|
|
int countMemberByTeamAndCode(String teamCode, String oldDoctorCode);
|
|
|
|