49a5299a by 周伟奇

Merge branch 'feature/se_compare' into feature/0611

2 parents 50b74a85 1a0015c2
...@@ -52,7 +52,7 @@ se_vehicle_args = { ...@@ -52,7 +52,7 @@ se_vehicle_args = {
52 'vehicleTransactionAmount': CustomDecimal(required=True), 52 'vehicleTransactionAmount': CustomDecimal(required=True),
53 'vinNo': fields.Str(required=True, validate=validate.Length(max=256)), 53 'vinNo': fields.Str(required=True, validate=validate.Length(max=256)),
54 'dealer': fields.Str(required=True, validate=validate.Length(max=256)), 54 'dealer': fields.Str(required=True, validate=validate.Length(max=256)),
55 'option': fields.Str(required=False, validate=validate.Length(max=256)), 55 'option': CustomDecimal(required=False),
56 'msrp': CustomDecimal(required=False), 56 'msrp': CustomDecimal(required=False),
57 'totalAmount': CustomDecimal(required=False), 57 'totalAmount': CustomDecimal(required=False),
58 } 58 }
...@@ -89,7 +89,7 @@ se_quotationt_args = { ...@@ -89,7 +89,7 @@ se_quotationt_args = {
89 'totalLoanAmount': CustomDecimal(required=True), 89 'totalLoanAmount': CustomDecimal(required=True),
90 'loanTerm': fields.Int(required=True), 90 'loanTerm': fields.Int(required=True),
91 'vehiclePrincipal': CustomDecimal(required=True), 91 'vehiclePrincipal': CustomDecimal(required=True),
92 'associatedServicePrincipal': CustomDecimal(required=True), 92 'associatedServicePrincipal': CustomDecimal(required=False),
93 'associatedServiceInfo': fields.List(fields.Nested(se_associated_args), required=False), 93 'associatedServiceInfo': fields.List(fields.Nested(se_associated_args), required=False),
94 'monthlyPaymentInfo': fields.List(fields.Nested(se_payment_args), required=True, validate=validate.Length(min=1)), 94 'monthlyPaymentInfo': fields.List(fields.Nested(se_payment_args), required=True, validate=validate.Length(min=1)),
95 } 95 }
...@@ -158,7 +158,6 @@ se_individual_args = { ...@@ -158,7 +158,6 @@ se_individual_args = {
158 'hukouCity': fields.Str(required=True, validate=validate.Length(max=64)), 158 'hukouCity': fields.Str(required=True, validate=validate.Length(max=64)),
159 'residentialProvince': fields.Str(required=False, validate=validate.Length(max=64)), 159 'residentialProvince': fields.Str(required=False, validate=validate.Length(max=64)),
160 'residentialCity': fields.Str(required=False, validate=validate.Length(max=64)), 160 'residentialCity': fields.Str(required=False, validate=validate.Length(max=64)),
161 'propertyDocumentPolicy': fields.Str(required=False, validate=validate.Length(max=16)),
162 'companyName': fields.Str(required=False, validate=validate.Length(max=256)), 161 'companyName': fields.Str(required=False, validate=validate.Length(max=256)),
163 'registeredCapital': CustomDecimal(required=False), 162 'registeredCapital': CustomDecimal(required=False),
164 'selfEmployedSubType': fields.Str(required=False, validate=validate.Length(max=16)), 163 'selfEmployedSubType': fields.Str(required=False, validate=validate.Length(max=16)),
...@@ -192,6 +191,7 @@ se_compare_content = { ...@@ -192,6 +191,7 @@ se_compare_content = {
192 'applicationEntity': fields.Str(required=True, validate=validate.OneOf(consts.ENTITY)), 191 'applicationEntity': fields.Str(required=True, validate=validate.OneOf(consts.ENTITY)),
193 'customerType': fields.Str(required=True, validate=validate.OneOf(consts.CUSTOMER_TYPE)), 192 'customerType': fields.Str(required=True, validate=validate.OneOf(consts.CUSTOMER_TYPE)),
194 "firstSubmmisonDate": CustomDate(required=True), 193 "firstSubmmisonDate": CustomDate(required=True),
194 'propertyDocumentPolicy': fields.Str(required=False, validate=validate.Length(max=16)),
195 195
196 'individualCusInfo': fields.List(fields.Nested(se_individual_args), 196 'individualCusInfo': fields.List(fields.Nested(se_individual_args),
197 required=True, validate=validate.Length(min=1, max=4)), 197 required=True, validate=validate.Length(min=1, max=4)),
......
...@@ -173,11 +173,6 @@ SEindividualCusInfo: ...@@ -173,11 +173,6 @@ SEindividualCusInfo:
173 description: residentialCity 173 description: residentialCity
174 type: string 174 type: string
175 example: 连云港市 175 example: 连云港市
176 propertyDocumentPolicy:
177 description: propertyDocumentPolicy
178 type: string
179 example: DOAOB
180 enum: [DOAOB, DOHDP, DOAMP, DOHED, DOAGQ, DOSME, DOLHK, DORET, DOPCQ, DOSNF, DOYES, DOGRC, DOLLR, DOVDL]
181 companyName: 176 companyName:
182 description: companyName 177 description: companyName
183 type: string 178 type: string
...@@ -262,6 +257,11 @@ SEComparison: ...@@ -262,6 +257,11 @@ SEComparison:
262 type: string 257 type: string
263 format: date 258 format: date
264 example: "2027-04-30" 259 example: "2027-04-30"
260 propertyDocumentPolicy:
261 description: propertyDocumentPolicy
262 type: string
263 example: DOAOB
264 enum: [DOAOB, DOHDP, DOAMP, DOHED, DOAGQ, DOSME, DOLHK, DORET, DOPCQ, DOSNF, DOYES, DOGRC, DOLLR, DOVDL]
265 265
266 individualCusInfo: 266 individualCusInfo:
267 description: individualCusInfo 267 description: individualCusInfo
...@@ -378,8 +378,9 @@ SEComparison: ...@@ -378,8 +378,9 @@ SEComparison:
378 example: TestDealer 378 example: TestDealer
379 option: 379 option:
380 description: option 380 description: option
381 type: string 381 type: number
382 example: TestOption 382 format: float
383 example: 1234.56
383 msrp: 384 msrp:
384 description: msrp 385 description: msrp
385 type: number 386 type: number
...@@ -456,7 +457,7 @@ SEComparison: ...@@ -456,7 +457,7 @@ SEComparison:
456 quotationtInfo: 457 quotationtInfo:
457 description: quotationtInfo 458 description: quotationtInfo
458 type: object 459 type: object
459 required: [totalLoanAmount, loanTerm, vehiclePrincipal, associatedServicePrincipal, monthlyPaymentInfo] 460 required: [totalLoanAmount, loanTerm, vehiclePrincipal, monthlyPaymentInfo]
460 properties: 461 properties:
461 totalLoanAmount: 462 totalLoanAmount:
462 description: totalLoanAmount 463 description: totalLoanAmount
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!