|
@@ -109,6 +109,9 @@ class CustomCustomerView(View):
|
|
if not custom_customer:
|
|
if not custom_customer:
|
|
return response.json(173)
|
|
return response.json(173)
|
|
|
|
|
|
|
|
+ custom_customer_device_qs = CustomCustomerDevice.objects.filter(full_code=full_code)
|
|
|
|
+ if custom_customer_device_qs.exists():
|
|
|
|
+ return response.json(174)
|
|
# 创建新设备记录
|
|
# 创建新设备记录
|
|
try:
|
|
try:
|
|
# 检查full_code的格式并提取相关字段
|
|
# 检查full_code的格式并提取相关字段
|