feat: 健康档案功能大屏新增。
This commit is contained in:
@@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectHealthPersonVo">
|
||||
select a.id, a.name,a.sex,a.identity_card, a.phone, a.type, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.remark, a.birthday, a.nick_name, a.height, a.weight, a.ranking from health_person a
|
||||
select a.id, a.name, a.sex, a.identity_card, a.phone, a.type, a.create_by, a.create_time, a.update_by, a.update_time, a.del_flag, a.remark, a.birthday, a.nick_name, a.height, a.weight, a.ranking from health_person a
|
||||
</sql>
|
||||
|
||||
<select id="selectHealthPersonList" parameterType="HealthPersonDto" resultMap="HealthPersonResult">
|
||||
@@ -43,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<select id="selectHealthPersonById" parameterType="Long" resultMap="HealthPersonResult">
|
||||
<include refid="selectHealthPersonVo"/>
|
||||
where a.id = #{id}
|
||||
where a.id = #{id} and a.del_flag = '0'
|
||||
</select>
|
||||
|
||||
<insert id="insertHealthPerson" parameterType="HealthPerson">
|
||||
|
||||
Reference in New Issue
Block a user