|
@@ -11,6 +11,9 @@ import thyyxxk.webserver.entity.mangedoctorinfo.DoctorInfo;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
+/**
|
|
|
+ * @author dj
|
|
|
+ */
|
|
|
@Mapper
|
|
|
public interface ManageDoctorInfoDao {
|
|
|
@Select("select rtrim(code) code, rtrim(name) name, rtrim(py_code) pyCode from zd_unit_code where mz_flag=1")
|
|
@@ -29,7 +32,8 @@ public interface ManageDoctorInfoDao {
|
|
|
"and a.name like #{doctorName} " +
|
|
|
"and a.emp_tit_code=b.code " +
|
|
|
"and a.code not in ('00000', '00026') " +
|
|
|
- "and isnull(a.del_flag,0)<>1")
|
|
|
+ "and isnull(a.del_flag,0)<>1 " +
|
|
|
+ "and a.show_manage_flag=1")
|
|
|
IPage<DoctorInfo> getAllDoctors(IPage<DoctorInfo> iPage,
|
|
|
@Param("deptCode") String deptCode,
|
|
|
@Param("doctorName") String doctorName);
|
|
@@ -79,9 +83,14 @@ public interface ManageDoctorInfoDao {
|
|
|
"where a.emp_tit_code=b.code " +
|
|
|
"and a.wx_homepage_flag=1 " +
|
|
|
"and b.tit_grade=1 " +
|
|
|
- "and isnull(a.del_flag,0)<>1 order by a.wx_homepage_order")
|
|
|
+ "and isnull(a.del_flag,0)<>1 " +
|
|
|
+ "and a.show_manage_flag=1 " +
|
|
|
+ "order by a.wx_homepage_order")
|
|
|
List<DoctorInfo> getAllRecommendDoctors();
|
|
|
|
|
|
@Update("update a_employee_mi set wx_homepage_order=#{order} where code=#{code}")
|
|
|
void updateWxHomepageOrder(@Param("code") String code, @Param("order") Integer order);
|
|
|
+
|
|
|
+ @Update("update a_employee_mi set wx_homepage_flag=0,show_manage_flag=0 where code=#{code}")
|
|
|
+ void deleteDoctor(@Param("code") String code);
|
|
|
}
|