loanApiIntegration:GWM
This commit is contained in:
parent
389ebca32c
commit
ccacbeb2bf
@ -760,7 +760,7 @@ exports.LandingPageDetailsList = async (req, res) =>
|
||||
if(PanListValue.entity_type == "Individual"){ CibilType = 1; }else if(PanListValue.entity_type == "Non-Individual"){CibilType = 2;}
|
||||
await Object.assign(PanListValue, {cibil_type:CibilType})
|
||||
|
||||
BorrowerDetailData = await InBorrowerDetail.findOne({where:{losid:PanListValue.losid , PAN:PanListValue.PAN ,cibil_type:CibilType}});
|
||||
BorrowerDetailData = await InBorrowerDetail.findOne({where:{losid:PanListValue.losid , PAN:PanListValue.pan_no ,cibil_type:CibilType}});
|
||||
if(BorrowerDetailData)
|
||||
{
|
||||
//skip data insertion for this case
|
||||
|
||||
Loading…
Reference in New Issue
Block a user