Skip to content

Commit 69f5450

Browse files
authored
fix: 修复段落嵌入,文档字符串不变 (#460)
1 parent 7a84857 commit 69f5450

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/dataset/serializers/paragraph_serializers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ def migrate(self, with_valid=True):
372372
# 修改段落信息
373373
paragraph_list.update(dataset_id=target_dataset_id, document_id=target_document_id)
374374
update_document_char_length(document_id)
375+
update_document_char_length(target_document_id)
375376

376377
@staticmethod
377378
def update_problem_paragraph_mapping(target_document_id: str, problem_paragraph_mapping):

0 commit comments

Comments
 (0)