患者重复预约问题修复

master
gongzhenkun 2 years ago
parent 9396815f3b
commit 5f65c9bd92

@ -284,7 +284,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="doctorId != null "> and doctor_id = #{doctorId}</if> <if test="doctorId != null "> and doctor_id = #{doctorId}</if>
<if test="hospitalId != null "> and hospital_id = #{hospitalId}</if> <if test="hospitalId != null "> and hospital_id = #{hospitalId}</if>
<if test="status != null and status != ''"> and status = #{status}</if> <if test="status != null and status != ''"> and status = #{status}</if>
<if test="createTime != null and createTime != ''"> and DATE_FORMAT( create_time, '%Y-%m-%d' ) = DATE_FORMAT(#{appointmentTime},'%Y-%m-%d')</if> <if test="appointmentTime != null and appointmentTime != ''"> and DATE_FORMAT( create_time, '%Y-%m-%d' ) = DATE_FORMAT(#{appointmentTime},'%Y-%m-%d')</if>
<if test="aiResult != null and aiResult != ''"> and ai_result = #{aiResult}</if> <if test="aiResult != null and aiResult != ''"> and ai_result = #{aiResult}</if>
<if test="aiResult2 != null and aiResult2 != ''"> and ai_result2 = #{aiResult2}</if> <if test="aiResult2 != null and aiResult2 != ''"> and ai_result2 = #{aiResult2}</if>
<if test="updateResult != null and updateResult != ''"> and update_result = #{updateResult}</if> <if test="updateResult != null and updateResult != ''"> and update_result = #{updateResult}</if>

Loading…
Cancel
Save