From f72cdb6f2d978d50d4922e1d018407382c20e342 Mon Sep 17 00:00:00 2001 From: P3ngSaM <61768364+P3ngSaM@users.noreply.github.com> Date: Wed, 25 May 2022 15:29:42 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=AE=8C=E5=96=84CompanyObject?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Modules/Company/CompanyObject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Company/CompanyObject.py b/Modules/Company/CompanyObject.py index d55f87d..caa30be 100644 --- a/Modules/Company/CompanyObject.py +++ b/Modules/Company/CompanyObject.py @@ -10,7 +10,7 @@ class BasicBusinessInfo(SpecObject): name = ValidateAttr(field="name", type=str) ratio = ValidateAttr(field="ratio", type=str) nature = ValidateAttr(field="nature", type=str) - quantity = ValidateAttr(field="quantity", type=[str, int, float]) + quantity = ValidateAttr(field="quantity", type=int) fields_map = { "name": "股东名称",