|
@@ -12,12 +12,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="logPics" column="log_pics" />
|
|
|
<result property="logVideos" column="log_videos" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
+ <result property="createBy" column="create_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
+ <result property="updateBy" column="update_by" />
|
|
|
<result property="remark" column="remark" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTblTaskLogVo">
|
|
|
- select id, task_id, task_status, log_des, log_pics, log_videos, create_time, update_time, remark from tbl_task_log
|
|
|
+ select id, task_id, task_status, log_des, log_pics, log_videos, create_time,create_by, update_time,update_by, remark from tbl_task_log
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTblTaskLogList" parameterType="TblTaskLog" resultMap="TblTaskLogResult">
|
|
@@ -45,7 +47,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="logPics != null">log_pics,</if>
|
|
|
<if test="logVideos != null">log_videos,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
+ <if test="createBy != null">create_by,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
+ <if test="updateBy != null">update_by,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
@@ -55,7 +59,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="logPics != null">#{logPics},</if>
|
|
|
<if test="logVideos != null">#{logVideos},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
+ <if test="createBy != null">#{createBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
+ <if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
@@ -69,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="logPics != null">log_pics = #{logPics},</if>
|
|
|
<if test="logVideos != null">log_videos = #{logVideos},</if>
|
|
|
<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="remark != null">remark = #{remark},</if>
|
|
|
</trim>
|