|
|
@@ -22,6 +22,7 @@
|
|
|
<result property="examineContent" column="examine_content" jdbcType="VARCHAR"/>
|
|
|
<result property="initDuration" column="init_duration" jdbcType="DOUBLE"/>
|
|
|
<result property="checkDuration" column="check_duration" jdbcType="DOUBLE"/>
|
|
|
+ <result property="checkStatus" column="check_status" jdbcType="DOUBLE"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
@@ -30,7 +31,7 @@
|
|
|
annex_url,create_time,process_status,
|
|
|
duration,examine_id,examine_time,
|
|
|
examine_name,record_time,examine_content,
|
|
|
- init_duration,check_duration
|
|
|
+ init_duration,check_duration,check_status
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
@@ -51,13 +52,15 @@
|
|
|
,annex_url,create_time,process_status
|
|
|
,duration,examine_id,examine_time
|
|
|
,examine_name,record_time,examine_content
|
|
|
- ,init_duration,check_duration)
|
|
|
+ ,init_duration,check_duration,check_status
|
|
|
+ )
|
|
|
values (#{id,jdbcType=BIGINT},#{pid,jdbcType=BIGINT},#{aid,jdbcType=BIGINT}
|
|
|
,#{name,jdbcType=VARCHAR},#{projectStatus,jdbcType=INTEGER},#{content,jdbcType=VARCHAR}
|
|
|
,#{annexUrl,jdbcType=VARCHAR},#{createTime,jdbcType=TIMESTAMP},#{processStatus,jdbcType=INTEGER}
|
|
|
,#{duration,jdbcType=DOUBLE},#{examineId,jdbcType=BIGINT},#{examineTime,jdbcType=TIMESTAMP}
|
|
|
,#{examineName,jdbcType=VARCHAR},#{recordTime,jdbcType=TIMESTAMP},#{examineContent,jdbcType=VARCHAR}
|
|
|
- ,#{initDuration,jdbcType=DOUBLE},#{checkDuration,jdbcType=DOUBLE})
|
|
|
+ ,#{initDuration,jdbcType=DOUBLE},#{checkDuration,jdbcType=DOUBLE},#{checkStatus,jdbcType=DOUBLE}
|
|
|
+ )
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.project.domain.ProjectStaffRecord" useGeneratedKeys="true">
|
|
|
insert into project_staff_record
|
|
|
@@ -79,6 +82,7 @@
|
|
|
<if test="examineContent != null">examine_content,</if>
|
|
|
<if test="initDuration != null">init_duration,</if>
|
|
|
<if test="checkDuration != null">check_duration,</if>
|
|
|
+ <if test="checkStatus != null">check_status,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id,jdbcType=BIGINT},</if>
|
|
|
@@ -98,6 +102,7 @@
|
|
|
<if test="examineContent != null">#{examineContent,jdbcType=VARCHAR},</if>
|
|
|
<if test="initDuration != null">#{initDuration,jdbcType=DOUBLE},</if>
|
|
|
<if test="checkDuration != null">#{checkDuration,jdbcType=DOUBLE},</if>
|
|
|
+ <if test="checkStatus != null">#{checkStatus,jdbcType=DOUBLE},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.project.domain.ProjectStaffRecord">
|
|
|
@@ -151,6 +156,9 @@
|
|
|
<if test="checkDuration != null">
|
|
|
check_duration = #{checkDuration,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
+ <if test="checkStatus != null">
|
|
|
+ check_status = #{checkStatus,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
@@ -172,7 +180,8 @@
|
|
|
record_time = #{recordTime,jdbcType=TIMESTAMP},
|
|
|
examine_content = #{examineContent,jdbcType=VARCHAR},
|
|
|
init_duration = #{initDuration,jdbcType=DOUBLE},
|
|
|
- check_duration = #{checkDuration,jdbcType=DOUBLE}
|
|
|
+ check_duration = #{checkDuration,jdbcType=DOUBLE},
|
|
|
+ check_status = #{checkStatus,jdbcType=DOUBLE}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
<select id="selectList" resultType="com.ruoyi.project.bo.ProjectStaffRecordOut">
|
|
|
@@ -301,4 +310,3 @@
|
|
|
</update>
|
|
|
|
|
|
</mapper>
|
|
|
-
|