|
|
@@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
-
|
|
|
+ <result property="fileId" column="file_id" />
|
|
|
<association property="tProjectPool" javaType="TProjectPool" resultMap="TProjectPoolResult" />
|
|
|
</resultMap>
|
|
|
|
|
|
@@ -29,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTProjectInformationVo">
|
|
|
- select a.id, a.file_name, a.file_type, a.project_pool_id, a.project_stage, a.meeting_code, a.file_business_id, a.del_flag, a.remark, a.create_by, a.create_time, a.update_by, a.update_time,
|
|
|
+ select a.id, a.file_name, a.file_type, a.project_pool_id, a.project_stage, a.meeting_code, a.file_business_id, a.del_flag, a.remark, a.create_by, a.create_time, a.update_by, a.update_time,a.file_id,
|
|
|
b.project_name, b.project_stage, b.project_state
|
|
|
from t_project_information a
|
|
|
left join t_project_pool b ON a.project_pool_id = b.id
|
|
|
@@ -68,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
+ <if test="fileId != null">file_id,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
|
@@ -83,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
+ <if test="fileId != null">#{fileId},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -101,6 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
+ <if test="fileId != null">file_id = #{fileId},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|