Browse Source

挂号医生列表处不再显示医生擅长,改为显示医生介绍

lighter 4 years ago
parent
commit
6b771230e4

+ 2 - 2
src/main/java/thyyxxk/wxservice_server/dao/AppointmentDao.java

@@ -42,6 +42,6 @@ public interface AppointmentDao {
     void updateWxBindSocialNo(@Param("patientId") String patientId,
                                @Param("socialNo") String socialNo);
 
-    @Select("select specialty from a_employee_mi where code=#{code}")
-    String selectSpecialty(@Param("code") String code);
+    @Select("select introduction from a_employee_mi where code=#{code}")
+    String selectIntroduction(@Param("code") String code);
 }

+ 1 - 1
src/main/java/thyyxxk/wxservice_server/service/AppointmentService.java

@@ -125,7 +125,7 @@ public class AppointmentService {
             return ResultVoUtil.fail(ExceptionEnum.SLIGHTLY_ERROR);
         }
         for (Map<String, Object> map : data.getData()) {
-            map.put("specialty", dao.selectSpecialty(map.get("doctorCode").toString()));
+            map.put("introduction", dao.selectIntroduction(map.get("doctorCode").toString()));
         }
         return ResultVoUtil.success(data.getData());
     }