|
|
@ -18,7 +18,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="speciality" column="speciality" />
|
|
|
|
<result property="speciality" column="speciality" />
|
|
|
|
<result property="introduction" column="introduction" />
|
|
|
|
<result property="introduction" column="introduction" />
|
|
|
|
<result property="medicalLicense" column="medical_license" />
|
|
|
|
<result property="medicalLicense" column="medical_license" />
|
|
|
|
<result property="qrCode" column="qr_code" />
|
|
|
|
|
|
|
|
<result property="hospitalId" column="hospital_id" />
|
|
|
|
<result property="hospitalId" column="hospital_id" />
|
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
@ -26,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectTDoctorVo">
|
|
|
|
<sql id="selectTDoctorVo">
|
|
|
|
select id, open_id, user_id, identifier, name, phone, sex, age, marriage, title, speciality, introduction, medical_license, qr_code, hospital_id, del_flag, create_time, update_time from t_doctor
|
|
|
|
select id, open_id, user_id, identifier, name, phone, sex, age, marriage, title, speciality, introduction, medical_license, hospital_id, del_flag, create_time, update_time from t_doctor
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectTDoctorList" parameterType="TDoctor" resultMap="TDoctorResult">
|
|
|
|
<select id="selectTDoctorList" parameterType="TDoctor" resultMap="TDoctorResult">
|
|
|
@ -44,7 +43,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="speciality != null and speciality != ''"> and speciality = #{speciality}</if>
|
|
|
|
<if test="speciality != null and speciality != ''"> and speciality = #{speciality}</if>
|
|
|
|
<if test="introduction != null and introduction != ''"> and introduction = #{introduction}</if>
|
|
|
|
<if test="introduction != null and introduction != ''"> and introduction = #{introduction}</if>
|
|
|
|
<if test="medicalLicense != null and medicalLicense != ''"> and medical_license = #{medicalLicense}</if>
|
|
|
|
<if test="medicalLicense != null and medicalLicense != ''"> and medical_license = #{medicalLicense}</if>
|
|
|
|
<if test="qrCode != null and qrCode != ''"> and qr_code = #{qrCode}</if>
|
|
|
|
|
|
|
|
<if test="hospitalId != null "> and hospital_id = #{hospitalId}</if>
|
|
|
|
<if test="hospitalId != null "> and hospital_id = #{hospitalId}</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
@ -69,7 +67,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="speciality != null">speciality,</if>
|
|
|
|
<if test="speciality != null">speciality,</if>
|
|
|
|
<if test="introduction != null">introduction,</if>
|
|
|
|
<if test="introduction != null">introduction,</if>
|
|
|
|
<if test="medicalLicense != null">medical_license,</if>
|
|
|
|
<if test="medicalLicense != null">medical_license,</if>
|
|
|
|
<if test="qrCode != null">qr_code,</if>
|
|
|
|
|
|
|
|
<if test="hospitalId != null">hospital_id,</if>
|
|
|
|
<if test="hospitalId != null">hospital_id,</if>
|
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
@ -88,7 +85,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="speciality != null">#{speciality},</if>
|
|
|
|
<if test="speciality != null">#{speciality},</if>
|
|
|
|
<if test="introduction != null">#{introduction},</if>
|
|
|
|
<if test="introduction != null">#{introduction},</if>
|
|
|
|
<if test="medicalLicense != null">#{medicalLicense},</if>
|
|
|
|
<if test="medicalLicense != null">#{medicalLicense},</if>
|
|
|
|
<if test="qrCode != null">#{qrCode},</if>
|
|
|
|
|
|
|
|
<if test="hospitalId != null">#{hospitalId},</if>
|
|
|
|
<if test="hospitalId != null">#{hospitalId},</if>
|
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
@ -111,7 +107,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="speciality != null">speciality = #{speciality},</if>
|
|
|
|
<if test="speciality != null">speciality = #{speciality},</if>
|
|
|
|
<if test="introduction != null">introduction = #{introduction},</if>
|
|
|
|
<if test="introduction != null">introduction = #{introduction},</if>
|
|
|
|
<if test="medicalLicense != null">medical_license = #{medicalLicense},</if>
|
|
|
|
<if test="medicalLicense != null">medical_license = #{medicalLicense},</if>
|
|
|
|
<if test="qrCode != null">qr_code = #{qrCode},</if>
|
|
|
|
|
|
|
|
<if test="hospitalId != null">hospital_id = #{hospitalId},</if>
|
|
|
|
<if test="hospitalId != null">hospital_id = #{hospitalId},</if>
|
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|