a.id, a.standard_subtask_id AS "subtaskID", a.file_title AS "fileTitle", a.file_type AS "fileType", a.file_size AS "fileSize", a.file_url AS "fileUrl", a.khtx_file_list_id AS "khtxFileListId", a.create_by AS "createBy.id", a.create_date, a.update_by AS "updateBy.id", a.update_date, a.del_flag, a.upload_type AS "uploadType", a.non_designated_name AS "nonDesignatedName", a.remarks INSERT INTO execute_file( id, standard_subtask_id, file_title, file_type, file_size, file_url, khtx_file_list_id, create_by, create_date, update_by, update_date, del_flag, upload_type, non_designated_name, remarks ) VALUES ( #{id}, #{subtaskID}, #{fileTitle}, #{fileType}, #{fileSize}, #{fileUrl}, #{khtxFileListId}, #{createBy.id}, #{createDate}, #{updateBy.id}, #{updateDate}, #{delFlag}, #{uploadType}, #{nonDesignatedName}, #{remarks} ) UPDATE execute_file SET standard_subtask_id =#{subtaskID}, file_title=#{fileTitle}, file_type =#{fileType}, file_size =#{fileSize}, file_url=#{fileUrl}, khtx_file_list_id =#{khtxFileListId}, update_by = #{updateBy.id}, update_date = #{updateDate}, del_flag = #{delFlag}, upload_type = #{uploadType}, non_designated_name = #{nonDesignatedName}, remarks = #{remarks} WHERE id = #{id} UPDATE execute_file SET del_flag = #{delFlag} WHERE id = #{id}