|
|
@ -17,6 +17,8 @@ |
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
<result column="is_del" jdbcType="TINYINT" property="isDel" /> |
|
|
<result column="is_del" jdbcType="TINYINT" property="isDel" /> |
|
|
<result column="recorder" jdbcType="BIGINT" property="recorder" /> |
|
|
<result column="recorder" jdbcType="BIGINT" property="recorder" /> |
|
|
|
|
|
<result column="ta1" jdbcType="VARCHAR" property="ta1" /> |
|
|
|
|
|
<result column="tpt" jdbcType="VARCHAR" property="tpt" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<where> |
|
|
<where> |
|
|
@ -78,7 +80,7 @@ |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Base_Column_List"> |
|
|
<sql id="Base_Column_List"> |
|
|
id, patient_id, ct, mri, hcy, vb12, folic_acid, tt3, tt4, tsh, remark, create_time, |
|
|
id, patient_id, ct, mri, hcy, vb12, folic_acid, tt3, tt4, tsh, remark, create_time, |
|
|
update_time, is_del, recorder |
|
|
update_time, is_del, recorder, ta1, tpt |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExample" parameterType="com.ccsens.ht.bean.po.HtPatientAcpExample" resultMap="BaseResultMap"> |
|
|
<select id="selectByExample" parameterType="com.ccsens.ht.bean.po.HtPatientAcpExample" resultMap="BaseResultMap"> |
|
|
select |
|
|
select |
|
|
@ -115,12 +117,12 @@ |
|
|
mri, hcy, vb12, folic_acid, |
|
|
mri, hcy, vb12, folic_acid, |
|
|
tt3, tt4, tsh, remark, |
|
|
tt3, tt4, tsh, remark, |
|
|
create_time, update_time, is_del, |
|
|
create_time, update_time, is_del, |
|
|
recorder) |
|
|
recorder, ta1, tpt) |
|
|
values (#{id,jdbcType=BIGINT}, #{patientId,jdbcType=BIGINT}, #{ct,jdbcType=VARCHAR}, |
|
|
values (#{id,jdbcType=BIGINT}, #{patientId,jdbcType=BIGINT}, #{ct,jdbcType=VARCHAR}, |
|
|
#{mri,jdbcType=VARCHAR}, #{hcy,jdbcType=VARCHAR}, #{vb12,jdbcType=VARCHAR}, #{folicAcid,jdbcType=VARCHAR}, |
|
|
#{mri,jdbcType=VARCHAR}, #{hcy,jdbcType=VARCHAR}, #{vb12,jdbcType=VARCHAR}, #{folicAcid,jdbcType=VARCHAR}, |
|
|
#{tt3,jdbcType=VARCHAR}, #{tt4,jdbcType=VARCHAR}, #{tsh,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, |
|
|
#{tt3,jdbcType=VARCHAR}, #{tt4,jdbcType=VARCHAR}, #{tsh,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, |
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT}, |
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT}, |
|
|
#{recorder,jdbcType=BIGINT}) |
|
|
#{recorder,jdbcType=BIGINT}, #{ta1,jdbcType=VARCHAR}, #{tpt,jdbcType=VARCHAR}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtPatientAcp"> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtPatientAcp"> |
|
|
insert into t_ht_patient_acp |
|
|
insert into t_ht_patient_acp |
|
|
@ -170,6 +172,12 @@ |
|
|
<if test="recorder != null"> |
|
|
<if test="recorder != null"> |
|
|
recorder, |
|
|
recorder, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="ta1 != null"> |
|
|
|
|
|
ta1, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="tpt != null"> |
|
|
|
|
|
tpt, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
|
@ -217,6 +225,12 @@ |
|
|
<if test="recorder != null"> |
|
|
<if test="recorder != null"> |
|
|
#{recorder,jdbcType=BIGINT}, |
|
|
#{recorder,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="ta1 != null"> |
|
|
|
|
|
#{ta1,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="tpt != null"> |
|
|
|
|
|
#{tpt,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
<select id="countByExample" parameterType="com.ccsens.ht.bean.po.HtPatientAcpExample" resultType="java.lang.Long"> |
|
|
<select id="countByExample" parameterType="com.ccsens.ht.bean.po.HtPatientAcpExample" resultType="java.lang.Long"> |
|
|
@ -273,6 +287,12 @@ |
|
|
<if test="record.recorder != null"> |
|
|
<if test="record.recorder != null"> |
|
|
recorder = #{record.recorder,jdbcType=BIGINT}, |
|
|
recorder = #{record.recorder,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.ta1 != null"> |
|
|
|
|
|
ta1 = #{record.ta1,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="record.tpt != null"> |
|
|
|
|
|
tpt = #{record.tpt,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
@ -294,7 +314,9 @@ |
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
is_del = #{record.isDel,jdbcType=TINYINT}, |
|
|
is_del = #{record.isDel,jdbcType=TINYINT}, |
|
|
recorder = #{record.recorder,jdbcType=BIGINT} |
|
|
recorder = #{record.recorder,jdbcType=BIGINT}, |
|
|
|
|
|
ta1 = #{record.ta1,jdbcType=VARCHAR}, |
|
|
|
|
|
tpt = #{record.tpt,jdbcType=VARCHAR} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
|
@ -344,6 +366,12 @@ |
|
|
<if test="recorder != null"> |
|
|
<if test="recorder != null"> |
|
|
recorder = #{recorder,jdbcType=BIGINT}, |
|
|
recorder = #{recorder,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="ta1 != null"> |
|
|
|
|
|
ta1 = #{ta1,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="tpt != null"> |
|
|
|
|
|
tpt = #{tpt,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
@ -362,7 +390,9 @@ |
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
is_del = #{isDel,jdbcType=TINYINT}, |
|
|
is_del = #{isDel,jdbcType=TINYINT}, |
|
|
recorder = #{recorder,jdbcType=BIGINT} |
|
|
recorder = #{recorder,jdbcType=BIGINT}, |
|
|
|
|
|
ta1 = #{ta1,jdbcType=VARCHAR}, |
|
|
|
|
|
tpt = #{tpt,jdbcType=VARCHAR} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |