76 门诊预约挂号
This commit is contained in:
@@ -46,6 +46,29 @@
|
||||
<if test="updateTime != null">, #{updateTime}</if>
|
||||
)
|
||||
</insert>
|
||||
|
||||
<!--自定义更新方法-->
|
||||
<update id="updateDoctorSchedule" parameterType="com.openhis.appointmentmanage.domain.DoctorSchedule">
|
||||
UPDATE adm_doctor_schedule
|
||||
<set>
|
||||
<if test="weekday != null">weekday = #{weekday},</if>
|
||||
<if test="timePeriod != null">time_period = #{timePeriod},</if>
|
||||
<if test="doctor != null">doctor = #{doctor},</if>
|
||||
<if test="clinic != null">clinic = #{clinic},</if>
|
||||
<if test="startTime != null">start_time = #{startTime},</if>
|
||||
<if test="endTime != null">end_time = #{endTime},</if>
|
||||
<if test="limitNumber != null">limit_number = #{limitNumber},</if>
|
||||
<if test="callSignRecord != null">call_sign_record = #{callSignRecord},</if>
|
||||
<if test="registerItem != null">register_item = #{registerItem},</if>
|
||||
<if test="registerFee != null">register_fee = #{registerFee},</if>
|
||||
<if test="diagnosisItem != null">diagnosis_item = #{diagnosisItem},</if>
|
||||
<if test="diagnosisFee != null">diagnosis_fee = #{diagnosisFee},</if>
|
||||
<if test="isOnline != null">is_online = #{isOnline},</if>
|
||||
<if test="isStopped != null">is_stopped = #{isStopped},</if>
|
||||
<if test="stopReason != null">stop_reason = #{stopReason},</if>
|
||||
<if test="deptId != null">dept_id = #{deptId},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime}</if>
|
||||
</set>
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
</mapper>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user