实现科室护士管理患者排队叫号队列,实现患者智能分诊、队列调整、叫号控制等功能

This commit is contained in:
2026-01-06 14:48:45 +08:00
parent 8d69dc3c00
commit 941054734f
6 changed files with 221 additions and 67 deletions

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.openhis.appointmentmanage.mapper.DoctorScheduleMapper">
<!-- 自定义插入方法明确排除id字段数据库GENERATED ALWAYS -->
<insert id="insertWithoutId" parameterType="com.openhis.appointmentmanage.domain.DoctorSchedule" useGeneratedKeys="true" keyProperty="id" keyColumn="id">
INSERT INTO adm_doctor_schedule (
weekday,
time_period,
doctor,
clinic,
start_time,
end_time,
limit_number,
call_sign_record,
register_item,
register_fee,
diagnosis_item,
diagnosis_fee,
is_online,
is_stopped,
stop_reason,
dept_id
<if test="createTime != null">, create_time</if>
<if test="updateTime != null">, update_time</if>
) VALUES (
#{weekday},
#{timePeriod},
#{doctor},
#{clinic},
#{startTime},
#{endTime},
#{limitNumber},
#{callSignRecord},
#{registerItem},
#{registerFee},
#{diagnosisItem},
#{diagnosisFee},
#{isOnline},
#{isStopped},
#{stopReason},
#{deptId}
<if test="createTime != null">, #{createTime}</if>
<if test="updateTime != null">, #{updateTime}</if>
)
</insert>
</mapper>