Refactor LeadImportController to use LeadService.createLead

FeatureSecurityService
Ya
4 Desemba 2025, 22:43 UTC
Mwandishi
snadjafinia
Ahadi ya
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

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei