id, org_id, contact_name, body, (extract(epoch from created_at) * 1000)::bigint as created_at insert into work_memo (org_id, contact_name, body) values (#{orgId}, #{contactName}, #{body}) update work_memo set body = #{body} where id = #{id} and org_id = #{orgId} delete from work_memo where id = #{id} and org_id = #{orgId}