| | |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="viewTime" column="view_time"/> |
| | | <result property="viewPosition" column="view_position"/> |
| | | </resultMap> |
| | | <resultMap id="ArdAppTaskSubResult" type="ArdAppTask" extends="ArdAppTaskResult"> |
| | | <collection property="ardAppTaskPicList" notNullColumn="sub2_id" javaType="java.util.List" |
| | |
| | | c.create_by, |
| | | c.create_time, |
| | | c.update_by, |
| | | c.update_time |
| | | c.update_time, |
| | | c.view_time, |
| | | c.view_position |
| | | from ard_app_task c |
| | | left join sys_dept d on d.dept_id = c.dept_id |
| | | left join sys_user u on u.user_id = c.user_id |
| | |
| | | a.create_time, |
| | | a.update_by, |
| | | a.update_time, |
| | | a.view_time, |
| | | a.view_position, |
| | | b.id as sub2_id, |
| | | b.task_id as sub2_task_id, |
| | | b.pic_url as sub2_pic_url, |
| | |
| | | <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="viewTime != null">view_time = #{viewTime},</if> |
| | | <if test="viewPosition != null">view_position = #{viewPosition},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | c.text, |
| | | c.voice, |
| | | c.status, |
| | | c.clock_in_pic_url |
| | | c.clock_in_pic_url, |
| | | c.view_time, |
| | | c.view_position |
| | | from ard_app_task_detail c |