实现科室护士管理患者排队叫号队列,实现患者智能分诊、队列调整、叫号控制等功能
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user