Refactor LeadImportController to use LeadService.createLead

FeatureSecurityService
ส่งแล้ว
4 ธันวาคม 2568 เวลา 22:43 UTC
ผู้เขียน
snadjafinia
ตั้งค่า
4441734

- Replace manual field mapping with LeadService.createLead for consistency - Add mapRowDataToCreateLeadRequest to convert import mappings to CreateLeadRequest - Handle base Lead fields, mortgage fields, and custom form data - Support mortgage fields when market sub-type is RESIDENTIAL_MORTGAGE or COMMERCIAL_MORTGAGE - Support custom form data mapping to **************** structure - Update duplicate detection to work with CreateLeadRequest instead of Lead objects - Remove old manual mapping methods (mapDataToLead, setFieldValue, etc.) - Add LeadMarketService dependency for future market validation

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์