update t_course set state = #{state} AND t_course.id IN #{id}