suseendhiran , change field name in pan detail api
This commit is contained in:
parent
91de5e665c
commit
3c33347075
@ -1099,8 +1099,8 @@ exports.ApplicantPanList = async (req, res) =>
|
||||
{
|
||||
LoanDetail.findAll({ where : { losid : req.query.losid , is_active : 1}}).then(data =>
|
||||
{
|
||||
sequelize.query(`SELECT loan_details.losid , applicants.pan_no AS pan , applicants.entity_type FROM loan_details JOIN applicants ON applicants.loan_no_id = '${data[0].id}' and applicants.is_active = 1 where loan_details.id = '${data[0].id}' and loan_details.is_active = 1; \
|
||||
SELECT loan_details.losid , entity_details.pan_no As pan , entity_details.entity_type FROM loan_details JOIN entity_details ON entity_details.loan_no_id = '${data[0].id}' and entity_details.is_active = 1 where loan_details.id = '${data[0].id}' and loan_details.is_active = 1`)
|
||||
sequelize.query(`SELECT loan_details.losid , applicants.pan_no AS PAN , applicants.entity_type FROM loan_details JOIN applicants ON applicants.loan_no_id = '${data[0].id}' and applicants.is_active = 1 where loan_details.id = '${data[0].id}' and loan_details.is_active = 1; \
|
||||
SELECT loan_details.losid , entity_details.pan_no As PAN , entity_details.entity_type FROM loan_details JOIN entity_details ON entity_details.loan_no_id = '${data[0].id}' and entity_details.is_active = 1 where loan_details.id = '${data[0].id}' and loan_details.is_active = 1`)
|
||||
|
||||
.then(data=>
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user