|
|
@@ -13,12 +13,12 @@
|
|
|
<result column="process_status" jdbcType="INTEGER" property="processStatus" />
|
|
|
<result column="duration" jdbcType="DOUBLE" property="duration" />
|
|
|
<result column="examine_id" jdbcType="BIGINT" property="examineId" />
|
|
|
- <result column="examine_name" jdbcType="INTEGER" property="examineName" />
|
|
|
<result column="examine_time" jdbcType="TIMESTAMP" property="examineTime" />
|
|
|
+ <result column="examine_name" jdbcType="VARCHAR" property="examineName" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
id, pid, aid, `name`, project_status, content, annex_url, create_time, process_status,
|
|
|
- duration, examine_id, examine_name, examine_time
|
|
|
+ duration, examine_id, examine_time, examine_name
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
select
|
|
|
@@ -34,12 +34,12 @@
|
|
|
insert into project_staff_record (pid, aid, `name`,
|
|
|
project_status, content, annex_url,
|
|
|
create_time, process_status, duration,
|
|
|
- examine_id, examine_name, examine_time
|
|
|
+ examine_id, examine_time, examine_name
|
|
|
)
|
|
|
values (#{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}, #{examineName,jdbcType=INTEGER}, #{examineTime,jdbcType=TIMESTAMP}
|
|
|
+ #{examineId,jdbcType=BIGINT}, #{examineTime,jdbcType=TIMESTAMP}, #{examineName,jdbcType=VARCHAR}
|
|
|
)
|
|
|
</insert>
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.project.domain.ProjectStaffRecord" useGeneratedKeys="true">
|
|
|
@@ -75,12 +75,12 @@
|
|
|
<if test="examineId != null">
|
|
|
examine_id,
|
|
|
</if>
|
|
|
- <if test="examineName != null">
|
|
|
- examine_name,
|
|
|
- </if>
|
|
|
<if test="examineTime != null">
|
|
|
examine_time,
|
|
|
</if>
|
|
|
+ <if test="examineName != null">
|
|
|
+ examine_name,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="pid != null">
|
|
|
@@ -113,12 +113,12 @@
|
|
|
<if test="examineId != null">
|
|
|
#{examineId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
- <if test="examineName != null">
|
|
|
- #{examineName,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="examineTime != null">
|
|
|
#{examineTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="examineName != null">
|
|
|
+ #{examineName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.project.domain.ProjectStaffRecord">
|
|
|
@@ -154,12 +154,12 @@
|
|
|
<if test="examineId != null">
|
|
|
examine_id = #{examineId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
- <if test="examineName != null">
|
|
|
- examine_name = #{examineName,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
<if test="examineTime != null">
|
|
|
examine_time = #{examineTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="examineName != null">
|
|
|
+ examine_name = #{examineName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
@@ -175,8 +175,8 @@
|
|
|
process_status = #{processStatus,jdbcType=INTEGER},
|
|
|
duration = #{duration,jdbcType=DOUBLE},
|
|
|
examine_id = #{examineId,jdbcType=BIGINT},
|
|
|
- examine_name = #{examineName,jdbcType=INTEGER},
|
|
|
- examine_time = #{examineTime,jdbcType=TIMESTAMP}
|
|
|
+ examine_time = #{examineTime,jdbcType=TIMESTAMP},
|
|
|
+ examine_name = #{examineName,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
<select id="selectList" resultType="com.ruoyi.project.bo.ProjectStaffRecordOut">
|