产后调理、胃肠肿瘤问卷
This commit is contained in:
@ -61,6 +61,14 @@ public class SysCustomerHealthyExtended extends BaseEntity
|
||||
@Excel(name = "月经不调、多囊信息")
|
||||
private String menstruationMessage;
|
||||
|
||||
/** 胃肠肿瘤信息 */
|
||||
@Excel(name = "胃肠肿瘤信息")
|
||||
private String gastrointestinalMessage;
|
||||
|
||||
/** 产后调理信息 */
|
||||
@Excel(name = "产后调理信息")
|
||||
private String postpartumConditioningMessage;
|
||||
|
||||
/** 删除标识 0未删除 1已删除 */
|
||||
private Long delFlag;
|
||||
}
|
@ -16,11 +16,15 @@
|
||||
<result property="bloodPressureMessage" column="blood_pressure_message" />
|
||||
<result property="anxietyStateMessage" column="anxiety_state_message" />
|
||||
<result property="menstruationMessage" column="menstruation_message" />
|
||||
<result property="gastrointestinalMessage" column="gastrointestinal_message" />
|
||||
<result property="postpartumConditioningMessage" column="postpartum_conditioning_message" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectSysCustomerHealthyExtendedVo">
|
||||
select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, blood_sugar_message, depressed_state_message, blood_pressure_message, anxiety_state_message, menstruation_messag,del_flag from sys_customer_healthy_extended
|
||||
select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, blood_sugar_message, depressed_state_message, blood_pressure_message, anxiety_state_message, menstruation_messag,
|
||||
gastrointestinal_message,postpartum_conditioning_message,del_flag
|
||||
from sys_customer_healthy_extended
|
||||
</sql>
|
||||
|
||||
<select id="selectSysCustomerHealthyExtendedList" parameterType="SysCustomerHealthyExtended" resultMap="SysCustomerHealthyExtendedResult">
|
||||
@ -45,6 +49,8 @@
|
||||
<if test="bloodPressureMessage != null">blood_pressure_message,</if>
|
||||
<if test="anxietyStateMessage != null">anxiety_state_message,</if>
|
||||
<if test="menstruationMessage != null">menstruation_message,</if>
|
||||
<if test="gastrointestinalMessage != null">gastrointestinal_message,</if>
|
||||
<if test="postpartumConditioningMessage != null">postpartum_conditioning_message,</if>
|
||||
<if test="delFlag != null">del_flag,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
@ -58,6 +64,8 @@
|
||||
<if test="bloodPressureMessage != null">#{bloodPressureMessage},</if>
|
||||
<if test="anxietyStateMessage != null">#{anxietyStateMessage},</if>
|
||||
<if test="menstruationMessage != null">#{menstruationMessage},</if>
|
||||
<if test="gastrointestinalMessage != null">#{gastrointestinalMessage},</if>
|
||||
<if test="postpartumConditioningMessage != null">#{postpartumConditioningMessage},</if>
|
||||
<if test="delFlag != null">#{delFlag},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
@ -75,6 +83,8 @@
|
||||
<if test="bloodPressureMessage != null">blood_pressure_message = #{bloodPressureMessage},</if>
|
||||
<if test="anxietyStateMessage != null">anxiety_state_message = #{anxietyStateMessage},</if>
|
||||
<if test="menstruationMessage != null">menstruation_message = #{menstruationMessage},</if>
|
||||
<if test="gastrointestinalMessage != null">gastrointestinal_message = #{gastrointestinalMessage},</if>
|
||||
<if test="postpartumConditioningMessage != null">postpartum_conditioning_message = #{postpartumConditioningMessage},</if>
|
||||
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
|
@ -554,11 +554,15 @@
|
||||
<result property="bloodPressureMessage" column="blood_pressure_message" />
|
||||
<result property="anxietyStateMessage" column="anxiety_state_message" />
|
||||
<result property="menstruationMessage" column="menstruation_message" />
|
||||
<result property="gastrointestinalMessage" column="gastrointestinal_message" />
|
||||
<result property="postpartumConditioningMessage" column="postpartum_conditioning_message" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
</resultMap>
|
||||
|
||||
<select id="getHealthyExtendedByHealthyId" parameterType="Long" resultMap="HealthyExtendedResult">
|
||||
select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, blood_sugar_message, depressed_state_message, blood_pressure_message, anxiety_state_message,menstruation_message from sys_customer_healthy_extended where del_flag = 0 and healthy_id = #{id} limit 1
|
||||
select id, healthy_id, waist, hipline, eat_fruits_message, long_eat_drug_message, blood_sugar_message, depressed_state_message,
|
||||
blood_pressure_message, anxiety_state_message,menstruation_message,gastrointestinal_message,postpartum_conditioning_message
|
||||
from sys_customer_healthy_extended where del_flag = 0 and healthy_id = #{id} limit 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
Reference in New Issue
Block a user