|
@@ -5,12 +5,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<mapper namespace="com.ruoyi.web.work.mapper.NkMapper">
|
|
|
|
|
|
<select id="selectList" resultType="com.ruoyi.web.work.domain.Nk">
|
|
|
- select * from tb_nk
|
|
|
+ select * from tb_next_of_kin
|
|
|
<where>
|
|
|
<if test="id != null "> and id = #{id}</if>
|
|
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
|
|
- <if test="patientId != null "> and patient_id = #{patientId}</if>
|
|
|
- <if test="nkNumber != null "> and nk_number = #{nkNumber}</if>
|
|
|
+ <if test="patId != null "> and pat_id = #{patId}</if>
|
|
|
<if test="kinship != null and kinship != ''"> and kinship = #{kinship}</if>
|
|
|
<if test="address != null and address != ''"> and address = #{address}</if>
|
|
|
<if test="phone != null and phone != ''"> and phone = #{phone}</if>
|