diff --git a/safesite/tasks.py b/safesite/tasks.py index 91e46fcc..f8c53df3 100644 --- a/safesite/tasks.py +++ b/safesite/tasks.py @@ -36,7 +36,7 @@ def getcs(companyid): # 获取公司相关参数设置 pxxgqz=4, yldjqz=3, ylxgqz=3, - usecomp=Partment.objects.get(partid=companyid), + usecomp=Partment.objects.get(partid=companyid) ) return Yjsetup.objects.filter(usecomp__partid=companyid).values()[0]