location&applicant_id:GWM
This commit is contained in:
parent
ea1ac0e7c2
commit
a3837246a7
@ -62,7 +62,7 @@ exports.PullCreditPdData = async (req, res) => {
|
|||||||
}
|
}
|
||||||
console.log(completed_date);
|
console.log(completed_date);
|
||||||
// create creditGeneralInormationData
|
// create creditGeneralInormationData
|
||||||
Object.assign(obj, { ref_no: tempData.pdid , product : tempData.product , case_no : tempData.caseno , credit_pd_type : req.body.credit_pd_type , completed_date : completed_date});
|
Object.assign(obj, { ref_no: tempData.pdid , product : tempData.product , case_no : tempData.caseno , credit_pd_type : req.body.credit_pd_type , completed_date : completed_date , applicant_id :req.body.lender_applicant_id , location : req.body.start_location});
|
||||||
|
|
||||||
await CreditGeneralInformation.create(obj)
|
await CreditGeneralInformation.create(obj)
|
||||||
.then((successData)=>{logMsg.info("GeneralInformation insert success ,PdId= "+successData.dataValues.pd_id);})
|
.then((successData)=>{logMsg.info("GeneralInformation insert success ,PdId= "+successData.dataValues.pd_id);})
|
||||||
|
|||||||
@ -15,6 +15,7 @@ module.exports = (sequelize, DataTypes) => {
|
|||||||
loan_amount: { type: DataTypes.INTEGER },
|
loan_amount: { type: DataTypes.INTEGER },
|
||||||
product: { type: DataTypes.STRING },
|
product: { type: DataTypes.STRING },
|
||||||
location: { type: DataTypes.STRING },
|
location: { type: DataTypes.STRING },
|
||||||
|
applicant_id: { type: DataTypes.STRING },
|
||||||
ref_no: { type: DataTypes.INTEGER },
|
ref_no: { type: DataTypes.INTEGER },
|
||||||
case_no: { type: DataTypes.STRING },
|
case_no: { type: DataTypes.STRING },
|
||||||
officer_id: { type: DataTypes.INTEGER },
|
officer_id: { type: DataTypes.INTEGER },
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user