<?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.ruoyi.info.patient.mapper.PatientMapper">

    <resultMap type="com.ruoyi.info.patient.domain.Patient" id="PatientResult">
        <result property="id" column="id"/>
        <result property="userId" column="user_id"/>
        <result property="name" column="name"/>
        <result property="mobile" column="mobile"/>
        <result property="gender" column="gender"/>
        <result property="age" column="age"/>
        <result property="relationship" column="relationship"/>
        <result property="defaulted" column="defaulted"/>
        <result property="createTime" column="create_time"/>
        <result property="updateTime" column="update_time"/>
    </resultMap>

    <select id="queryDelById" resultType="com.ruoyi.info.patient.domain.vo.PatientVo">
        select * from tb_patient where id = #{id}
    </select>


</mapper>
