cc113aa9 by 周伟奇

Merge branch 'fix/1103' into feature/1119

2 parents 1992a53f 89c76319
...@@ -38,8 +38,12 @@ class ECM: ...@@ -38,8 +38,12 @@ class ECM:
38 'AFC': 'SF5_CN', 38 'AFC': 'SF5_CN',
39 'HIL': 'SF5_CL', 39 'HIL': 'SF5_CL',
40 } 40 }
41 self.b_region_name_map = {
42 'AFC': 'CN',
43 'HIL': 'CL',
44 }
41 self.prefix = 'OCR' 45 self.prefix = 'OCR'
42 self.upload_fields = ["b_region", "b_region_name", "r_object_type", "r_creation_date", 46 self.upload_fields = ["r_object_type", "r_creation_date",
43 "r_creator_name", "r_modify_date", "r_modifier", "owner", "b_short_application_no", 47 "r_creator_name", "r_modify_date", "r_modifier", "owner", "b_short_application_no",
44 "b_short_contract_no", "b_customer_id", "b_customer_name", "b_customer_mobile", 48 "b_short_contract_no", "b_customer_id", "b_customer_name", "b_customer_mobile",
45 "b_coborrower_id", "b_coborrower_name", "b_guarantor_id", "b_guarantor_name", 49 "b_coborrower_id", "b_coborrower_name", "b_guarantor_id", "b_guarantor_name",
...@@ -138,6 +142,8 @@ class ECM: ...@@ -138,6 +142,8 @@ class ECM:
138 "format": "excel12book", 142 "format": "excel12book",
139 "r_content_type": "excel12book", 143 "r_content_type": "excel12book",
140 "b_application_no": doc.application_id, 144 "b_application_no": doc.application_id,
145 "b_region": "0",
146 "b_region_name": self.b_region_name_map.get(business_type),
141 # "file_base64_content": "", 147 # "file_base64_content": "",
142 } 148 }
143 for key in self.upload_fields: 149 for key in self.upload_fields:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!