UPDATE sys_notice SET `from` = '评论' WHERE title LIKE '需求%'; UPDATE sys_notice SET `from` = '通知' WHERE title LIKE '流程%'; UPDATE sys_notice SET `from` = '其他' WHERE title IS NULL;