|
|
@ -12,6 +12,7 @@ |
|
|
|
<result column="auditor_id" jdbcType="BIGINT" property="auditorId" /> |
|
|
|
<result column="audit_state" jdbcType="TINYINT" property="auditState" /> |
|
|
|
<result column="remark" jdbcType="VARCHAR" property="remark" /> |
|
|
|
<result column="share_patient_edit" jdbcType="VARCHAR" property="sharePatientEdit" /> |
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> |
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" /> |
|
|
|
<result column="is_del" jdbcType="TINYINT" property="isDel" /> |
|
|
@ -76,7 +77,7 @@ |
|
|
|
</sql> |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, user_id, position_id, title_id, name, sex, age, auditor_id, audit_state, remark, |
|
|
|
create_time, update_time, is_del |
|
|
|
share_patient_edit, create_time, update_time, is_del |
|
|
|
</sql> |
|
|
|
<select id="selectByExample" parameterType="com.ccsens.ht.bean.po.HtDoctorExample" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
@ -112,13 +113,13 @@ |
|
|
|
insert into t_ht_doctor (id, user_id, position_id, |
|
|
|
title_id, name, sex, |
|
|
|
age, auditor_id, audit_state, |
|
|
|
remark, create_time, update_time, |
|
|
|
is_del) |
|
|
|
remark, share_patient_edit, create_time, |
|
|
|
update_time, is_del) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{positionId,jdbcType=BIGINT}, |
|
|
|
#{titleId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{sex,jdbcType=TINYINT}, |
|
|
|
#{age,jdbcType=INTEGER}, #{auditorId,jdbcType=BIGINT}, #{auditState,jdbcType=TINYINT}, |
|
|
|
#{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
#{isDel,jdbcType=TINYINT}) |
|
|
|
#{remark,jdbcType=VARCHAR}, #{sharePatientEdit,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, |
|
|
|
#{updateTime,jdbcType=TIMESTAMP}, #{isDel,jdbcType=TINYINT}) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.ccsens.ht.bean.po.HtDoctor"> |
|
|
|
insert into t_ht_doctor |
|
|
@ -153,6 +154,9 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
remark, |
|
|
|
</if> |
|
|
|
<if test="sharePatientEdit != null"> |
|
|
|
share_patient_edit, |
|
|
|
</if> |
|
|
|
<if test="createTime != null"> |
|
|
|
create_time, |
|
|
|
</if> |
|
|
@ -194,6 +198,9 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
#{remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="sharePatientEdit != null"> |
|
|
|
#{sharePatientEdit,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="createTime != null"> |
|
|
|
#{createTime,jdbcType=TIMESTAMP}, |
|
|
|
</if> |
|
|
@ -244,6 +251,9 @@ |
|
|
|
<if test="record.remark != null"> |
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.sharePatientEdit != null"> |
|
|
|
share_patient_edit = #{record.sharePatientEdit,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="record.createTime != null"> |
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
|
</if> |
|
|
@ -270,6 +280,7 @@ |
|
|
|
auditor_id = #{record.auditorId,jdbcType=BIGINT}, |
|
|
|
audit_state = #{record.auditState,jdbcType=TINYINT}, |
|
|
|
remark = #{record.remark,jdbcType=VARCHAR}, |
|
|
|
share_patient_edit = #{record.sharePatientEdit,jdbcType=VARCHAR}, |
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP}, |
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP}, |
|
|
|
is_del = #{record.isDel,jdbcType=TINYINT} |
|
|
@ -307,6 +318,9 @@ |
|
|
|
<if test="remark != null"> |
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="sharePatientEdit != null"> |
|
|
|
share_patient_edit = #{sharePatientEdit,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
<if test="createTime != null"> |
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
|
</if> |
|
|
@ -330,6 +344,7 @@ |
|
|
|
auditor_id = #{auditorId,jdbcType=BIGINT}, |
|
|
|
audit_state = #{auditState,jdbcType=TINYINT}, |
|
|
|
remark = #{remark,jdbcType=VARCHAR}, |
|
|
|
share_patient_edit = #{sharePatientEdit,jdbcType=VARCHAR}, |
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP}, |
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP}, |
|
|
|
is_del = #{isDel,jdbcType=TINYINT} |
|
|
|