22 lines
734 B
XML
22 lines
734 B
XML
<?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.four.patient.mapper.FollowDoctorMapper">
|
|
|
|
|
|
<insert id="insertFollowDoctor">
|
|
insert into follow_doctor(user_id, registration_informaion_id)
|
|
values (#{userId}, #{registrationInformationId})
|
|
</insert>
|
|
<delete id="delFollowDoctor">
|
|
delete
|
|
from follow_doctor
|
|
where registration_informaion_id = #{registrationInformationId}
|
|
</delete>
|
|
<select id="ShowFollowDoctor" resultType="com.four.common.duck.interrogation.FollowDoctor">
|
|
select *
|
|
from follow_doctor
|
|
</select>
|
|
</mapper>
|