parent relation column can't be updated LESSON_EXTENDED_ATTRIBUTE->LESSON_ID

MyCat  中 作为分片的主键不允许更新 , 需要设置为null,调用updateSelectiveByPrimaryKey来更新数据

parent relation column can't be updated LESSON_EXTENDED_ATTRIBUTE->LESSON_ID

你可能感兴趣的:(parent relation column can't be updated LESSON_EXTENDED_ATTRIBUTE->LESSON_ID)