|
@@ -15,10 +15,11 @@
|
|
|
<result column="examine_id" jdbcType="BIGINT" property="examineId" />
|
|
<result column="examine_id" jdbcType="BIGINT" property="examineId" />
|
|
|
<result column="examine_time" jdbcType="TIMESTAMP" property="examineTime" />
|
|
<result column="examine_time" jdbcType="TIMESTAMP" property="examineTime" />
|
|
|
<result column="examine_name" jdbcType="VARCHAR" property="examineName" />
|
|
<result column="examine_name" jdbcType="VARCHAR" property="examineName" />
|
|
|
|
|
+ <result column="record_time" jdbcType="TIMESTAMP" property="recordTime" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
id, pid, aid, `name`, project_status, content, annex_url, create_time, process_status,
|
|
id, pid, aid, `name`, project_status, content, annex_url, create_time, process_status,
|
|
|
- duration, examine_id, examine_time, examine_name
|
|
|
|
|
|
|
+ duration, examine_id, examine_time, examine_name, record_time
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
select
|
|
select
|
|
@@ -34,13 +35,13 @@
|
|
|
insert into project_staff_record (pid, aid, `name`,
|
|
insert into project_staff_record (pid, aid, `name`,
|
|
|
project_status, content, annex_url,
|
|
project_status, content, annex_url,
|
|
|
create_time, process_status, duration,
|
|
create_time, process_status, duration,
|
|
|
- examine_id, examine_time, examine_name
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ examine_id, examine_time, examine_name,
|
|
|
|
|
+ record_time)
|
|
|
values (#{pid,jdbcType=BIGINT}, #{aid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
|
|
values (#{pid,jdbcType=BIGINT}, #{aid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
|
|
|
#{projectStatus,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{annexUrl,jdbcType=VARCHAR},
|
|
#{projectStatus,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{annexUrl,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{processStatus,jdbcType=INTEGER}, #{duration,jdbcType=DOUBLE},
|
|
#{createTime,jdbcType=TIMESTAMP}, #{processStatus,jdbcType=INTEGER}, #{duration,jdbcType=DOUBLE},
|
|
|
- #{examineId,jdbcType=BIGINT}, #{examineTime,jdbcType=TIMESTAMP}, #{examineName,jdbcType=VARCHAR}
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ #{examineId,jdbcType=BIGINT}, #{examineTime,jdbcType=TIMESTAMP}, #{examineName,jdbcType=VARCHAR},
|
|
|
|
|
+ #{recordTime,jdbcType=TIMESTAMP})
|
|
|
</insert>
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.project.domain.ProjectStaffRecord" useGeneratedKeys="true">
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.project.domain.ProjectStaffRecord" useGeneratedKeys="true">
|
|
|
insert into project_staff_record
|
|
insert into project_staff_record
|
|
@@ -81,6 +82,9 @@
|
|
|
<if test="examineName != null">
|
|
<if test="examineName != null">
|
|
|
examine_name,
|
|
examine_name,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="recordTime != null">
|
|
|
|
|
+ record_time,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="pid != null">
|
|
<if test="pid != null">
|
|
@@ -119,6 +123,9 @@
|
|
|
<if test="examineName != null">
|
|
<if test="examineName != null">
|
|
|
#{examineName,jdbcType=VARCHAR},
|
|
#{examineName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="recordTime != null">
|
|
|
|
|
+ #{recordTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.project.domain.ProjectStaffRecord">
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.project.domain.ProjectStaffRecord">
|
|
@@ -160,6 +167,9 @@
|
|
|
<if test="examineName != null">
|
|
<if test="examineName != null">
|
|
|
examine_name = #{examineName,jdbcType=VARCHAR},
|
|
examine_name = #{examineName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="recordTime != null">
|
|
|
|
|
+ record_time = #{recordTime,jdbcType=TIMESTAMP},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
@@ -176,7 +186,8 @@
|
|
|
duration = #{duration,jdbcType=DOUBLE},
|
|
duration = #{duration,jdbcType=DOUBLE},
|
|
|
examine_id = #{examineId,jdbcType=BIGINT},
|
|
examine_id = #{examineId,jdbcType=BIGINT},
|
|
|
examine_time = #{examineTime,jdbcType=TIMESTAMP},
|
|
examine_time = #{examineTime,jdbcType=TIMESTAMP},
|
|
|
- examine_name = #{examineName,jdbcType=VARCHAR}
|
|
|
|
|
|
|
+ examine_name = #{examineName,jdbcType=VARCHAR},
|
|
|
|
|
+ record_time = #{recordTime,jdbcType=TIMESTAMP}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
</update>
|
|
|
<select id="selectList" resultType="com.ruoyi.project.bo.ProjectStaffRecordOut">
|
|
<select id="selectList" resultType="com.ruoyi.project.bo.ProjectStaffRecordOut">
|