Explorar el Código

Merge remote-tracking branch 'origin/master'

AJNB hace 2 meses
padre
commit
63d96a8735
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/com/gydx/hosp/dao/DocMapper.xml

+ 1 - 1
src/com/gydx/hosp/dao/DocMapper.xml

@@ -49,7 +49,7 @@
     <select id="queryAllDoctor" resultMap="secondDeptMap" parameterType="com.gydx.hosp.vo.DoctorManageVO">
         SELECT id, name, age, sex, d.second_dept_id sdi,s.second_dept_name sdn, degree, status, entry_time, phone, account, password, info
         FROM doctor_manage d join second_dept s on d.second_dept_id=s.second_dept_id
-        WHERE name LIKE CONCAT('%', #{name}, '%')
+        WHERE name LIKE CONCAT('%', #{name}, '%') OR account = #{account}
     </select>
 <!--管理员删除医生-->
     <delete id="delDoctor" parameterType="com.gydx.hosp.vo.DoctorManageVO">