面试稽核操作合格不合格及撤销

This commit is contained in:
feng.li
2023-07-19 18:37:03 +08:00
parent bc5d10ac26
commit 890dc4c479
12 changed files with 286 additions and 37 deletions

View File

@@ -27,11 +27,11 @@
select
<include refid="Base_Column_List" />
from hy_inspection
where id = #{id,jdbcType=BIGINT}
where id = #{id}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from hy_inspection
where id = #{id,jdbcType=BIGINT}
where id = #{id}
</delete>
<insert id="insert" parameterType="com.cool.store.entity.HyInspection">
insert into hy_inspection (id, interview_plan_id, operator_user_id,
@@ -39,7 +39,7 @@
description, inspection_time, creator,
updator, remark, deleted,
create_time, update_time)
values (#{id,jdbcType=BIGINT}, #{interviewPlanId,jdbcType=BIGINT}, #{operatorUserId,jdbcType=VARCHAR},
values (#{id}, #{interviewPlanId}, #{operatorUserId,jdbcType=VARCHAR},
#{type,jdbcType=TINYINT}, #{status,jdbcType=TINYINT}, #{files,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR}, #{inspectionTime,jdbcType=TIMESTAMP}, #{creator,jdbcType=VARCHAR},
#{updator,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{deleted,jdbcType=BIT},
@@ -93,10 +93,10 @@
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=BIGINT},
#{id},
</if>
<if test="interviewPlanId != null">
#{interviewPlanId,jdbcType=BIGINT},
#{interviewPlanId},
</if>
<if test="operatorUserId != null">
#{operatorUserId,jdbcType=VARCHAR},
@@ -140,7 +140,7 @@
update hy_inspection
<set>
<if test="interviewPlanId != null">
interview_plan_id = #{interviewPlanId,jdbcType=BIGINT},
interview_plan_id = #{interviewPlanId},
</if>
<if test="operatorUserId != null">
operator_user_id = #{operatorUserId,jdbcType=VARCHAR},
@@ -179,11 +179,11 @@
update_time = #{updateTime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
where id = #{id}
</update>
<update id="updateByPrimaryKey" parameterType="com.cool.store.entity.HyInspection">
update hy_inspection
set interview_plan_id = #{interviewPlanId,jdbcType=BIGINT},
set interview_plan_id = #{interviewPlanId},
operator_user_id = #{operatorUserId,jdbcType=VARCHAR},
type = #{type,jdbcType=TINYINT},
status = #{status,jdbcType=TINYINT},
@@ -196,6 +196,6 @@
deleted = #{deleted,jdbcType=BIT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
where id = #{id}
</update>
</mapper>