id, site_id, device_id, command_type, command_status, operation_type, remark, command_id, issue_date, finish_date, params, platform, `status`, date_create, date_update, create_by, update_by insert into sc_device_command site_id, device_id, command_type, command_status, operation_type, remark, command_id, issue_date, finish_date, params, platform, `status`, date_create, date_update, create_by, update_by, #{siteId}, #{deviceId}, #{commandType}, #{commandStatus}, #{operationType}, #{remark}, #{commandId}, #{issueDate}, #{finishDate}, #{params}, #{platform}, #{status}, #{dateCreate}, #{dateUpdate}, #{createBy}, #{updateBy}, update sc_device_command site_id = #{siteId}, device_id = #{deviceId}, command_type = #{commandType}, command_status = #{commandStatus}, operation_type = #{operationType}, remark = #{remark}, command_id = #{commandId}, issue_date = #{issueDate}, finish_date = #{finishDate}, params = #{params}, platform = #{platform}, `status` = #{status}, date_create = #{dateCreate}, date_update = #{dateUpdate}, create_by = #{createBy}, update_by = #{updateBy}, where id = #{id}