|
@@ -3,6 +3,7 @@ package com.fs.his.mapper;
|
|
|
import java.util.List;
|
|
|
|
|
|
import com.fs.common.core.domain.R;
|
|
|
+import com.fs.his.domain.FsDoctor;
|
|
|
import com.fs.his.domain.FsUserDoctor;
|
|
|
import com.fs.his.param.FsUserDoctorListUParam;
|
|
|
import com.fs.his.vo.FsUserDoctorListUVO;
|
|
@@ -85,4 +86,7 @@ public interface FsUserDoctorMapper
|
|
|
int checkFollow(@Param("doctorId") Long doctorId,@Param("userId")long userId);
|
|
|
@Delete("delete from fs_user_doctor where type=1 and doctor_id=#{doctorId} and user_id=#{userId} ")
|
|
|
int deleteFollow(@Param("doctorId") Long doctorId,@Param("userId")long userId);
|
|
|
+
|
|
|
+ @Select("select doctor_name as doctorName,avatar as avatar from fs_doctor where is_agreement_prescribe_doctor = 1 ORDER BY RAND() LIMIT 1")
|
|
|
+ FsDoctor getAgreement();
|
|
|
}
|