perf: 优化部门管理模块service层及异常处理

This commit is contained in:
insistence
2024-07-11 16:36:04 +08:00
parent f87ae9a25b
commit cd260fbcda
4 changed files with 260 additions and 184 deletions

View File

@@ -6,6 +6,8 @@ class CommonConstant:
HTTPS: https请求
YES: 是否为系统默认(是)
NO: 是否为系统默认(否)
DEPT_NORMAL: 部门正常状态
DEPT_DISABLE: 部门停用状态
UNIQUE: 校验是否唯一的返回标识(是)
NOT_UNIQUE: 校验是否唯一的返回标识(否)
"""
@@ -14,6 +16,8 @@ class CommonConstant:
HTTPS = 'https://'
YES = 'Y'
NO = 'N'
DEPT_NORMAL = '0'
DEPT_DISABLE = '1'
UNIQUE = True
NOT_UNIQUE = False