rparty_file_cate

This commit is contained in:
曹前明 2022-06-28 11:13:49 +08:00
parent 9e19a65609
commit 8805b85dad
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class RpjViewSet(CustomModelViewSet):
vdata['belong_dept'] = vdata['rparty'].belong_dept
ins = super().create(request, *args, **kwargs)
# 同步创建需要提交的资料
for i in Dictionary.objects.filter(type__code='rparty_file').order_by('sort'):
for i in Dictionary.objects.filter(type__code='rparty_file_cate').order_by('sort'):
Rpjfile.objects.create(rpj=ins, file_cate=i)
return ins