daoru user
This commit is contained in:
parent
51494b42cc
commit
c149785de7
|
@ -206,8 +206,7 @@ class ConsumerViewSet(ModelViewSet):
|
|||
return Response({"error":"不存在单位("+companyname+")!请先新建"})
|
||||
else:
|
||||
companyobj = Company.objects.get(id=companydict[companyname])
|
||||
subjects = sheet['d'+str(m)].value
|
||||
workscope = sheet['e'+str(m)].value
|
||||
workscope = sheet['d'+str(m)].value
|
||||
if Consumer.objects.filter(username = username).exists():
|
||||
obj = Consumer.objects.filter(username = username).first()
|
||||
else:
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue