not change

This commit is contained in:
2025-05-14 19:57:36 +08:00
parent 67c2cfad10
commit eb0c7b1952
8 changed files with 22 additions and 3344 deletions

View File

@@ -320,7 +320,7 @@ class CaseController(ControllerBase):
if payload.monitorPerson != '不替换' and payload.monitorPerson != '': if payload.monitorPerson != '不替换' and payload.monitorPerson != '':
case_qs.update(monitorPerson=payload.monitorPerson) case_qs.update(monitorPerson=payload.monitorPerson)
# 批量替换事件 # 批量替换时间
@route.post("/case/timeReplace/", url_name='case-time-replace') @route.post("/case/timeReplace/", url_name='case-time-replace')
@transaction.atomic @transaction.atomic
def bulk_replace_time(self, payload: ExetimeReplaceSchema): def bulk_replace_time(self, payload: ExetimeReplaceSchema):

View File

@@ -267,9 +267,9 @@ class TestDemandController(ControllerBase):
if len(test_items) <= 0: if len(test_items) <= 0:
# 查询testDemand # 查询testDemand
design_item.odField.add(TestDemand.objects.filter(id=test_item_id).first()) design_item.odField.add(TestDemand.objects.filter(id=test_item_id).first())
return ChenResponse(status=200, code=200, message='添加关联测试项成功...')
else: else:
return ChenResponse(status=400, code=400, message='设计需求不存在,请检查...') return ChenResponse(status=400, code=400, message='设计需求不存在,请检查...')
return ChenResponse(status=200, code=200, message='添加关联测试项成功...')
# 找出已关联的测试项给前端的cascader # 找出已关联的测试项给前端的cascader
@route.post('/testDemand/getExistRelatedTestDemand', url_name="testDemand-getExistRelatedTestDemand") @route.post('/testDemand/getExistRelatedTestDemand', url_name="testDemand-getExistRelatedTestDemand")

View File

@@ -10,6 +10,7 @@ def create_list_1():
return ['1'] return ['1']
class Project(CoreModel): class Project(CoreModel):
objects = models.Manager()
ident = models.CharField(max_length=64, blank=True, null=True, verbose_name="项目标识", ident = models.CharField(max_length=64, blank=True, null=True, verbose_name="项目标识",
help_text="项目标识", unique=True) # 唯一 help_text="项目标识", unique=True) # 唯一
name = models.CharField(max_length=100, blank=True, null=True, verbose_name="项目名称", help_text="项目名称") name = models.CharField(max_length=100, blank=True, null=True, verbose_name="项目名称", help_text="项目名称")

File diff suppressed because it is too large Load Diff

BIN
requirements-to-nei.txt Normal file

Binary file not shown.

View File

@@ -1,36 +1,36 @@
Django~=5.2.0 Django~=5.2.1
django-auth-ldap~=5.1.0 django-auth-ldap~=5.2.0
asgiref~=3.8.1 asgiref~=3.8.1
sqlparse~=0.5.3 sqlparse~=0.5.3
# 基础包 # 基础包
mysqlclient~=2.2.7 mysqlclient~=2.2.7
orjson~=3.10.16 orjson~=3.10.18
lxml~=5.3.2 lxml~=5.4.0
typing_extensions~=4.13.2 typing_extensions~=4.13.2
# 必须whl安装的包 # 必须whl安装的包
python-ldap~=3.4.4 python-ldap~=3.4.4
# 项目包 # 项目包
django-environ~=0.12.0 django-environ~=0.12.0
django-ninja~=1.4.1 django-ninja~=1.4.1
pydantic~=2.11.3 pydantic~=2.11.4
pydantic-core~=2.33.1 pydantic-core~=2.33.2
django-ninja-extra~=0.30.0 django-ninja-extra~=0.30.0
django-ninja-jwt~=5.3.7 django-ninja-jwt~=5.3.7
django-tinymce~=4.1.0 django-tinymce~=4.1.0
PyJWT~=2.10.1 PyJWT~=2.10.1
cryptography~=44.0.2 cryptography~=44.0.3
ninja-schema~=0.14.2 ninja-schema~=0.14.2
user-agents~=2.2.0 user-agents~=2.2.0
numpy~=2.2.5 numpy~=2.2.5
docxtpl~=0.19.1 docxtpl~=0.20.0
python-docx~=1.1.2 python-docx~=1.1.2
Jinja2~=3.1.6 Jinja2~=3.1.6
django-redis~=5.4.0 django-redis~=5.4.0
pandas~=2.2.3 pandas~=2.2.3
beautifulsoup4~=4.13.4 beautifulsoup4~=4.13.4
python-dateutil~=2.9.0.post0 python-dateutil~=2.9.0.post0
redis~=5.2.1 redis~=6.1.0
waitress~=3.0.2 waitress~=3.0.2
django-shortuuidfield~=0.1.3 django-shortuuidfield~=0.1.3
lizard~=1.17.27 lizard~=1.17.30
Pygments~=2.19.1 Pygments~=2.19.1