checkresultmaster susee

This commit is contained in:
suseendhiran17 2022-03-02 10:43:50 +05:30
parent 7512a733d6
commit 60b2d85176

View File

@ -129,7 +129,7 @@ const { sequelize,EntityApplicantMaster,StateMaster,CityMaster,PinMaster,Checkty
{
try
{
const storeData = await sequelize.query('SELECT checktype_checkresult_relation_master.check_type_id , checktype_checkresult_relation_master.check_result_id, due_diligence_checks.check_type AS check_type, check_result_master.value AS check_result FROM checktype_checkresult_relation_master JOIN due_diligence_checks ON checktype_checkresult_relation_master.check_type_id = due_diligence_checks.id JOIN check_result_master ON checktype_checkresult_relation_master.check_result_id = check_result_master.id')
const storeData = await sequelize.query('SELECT checktype_checkresult_relation_master.check_type_id , checktype_checkresult_relation_master.check_result_id, check_type_master.value AS check_type, check_result_master.value AS check_result FROM checktype_checkresult_relation_master JOIN check_type_master ON checktype_checkresult_relation_master.check_type_id = check_type_master.id JOIN check_result_master ON checktype_checkresult_relation_master.check_result_id = check_result_master.id')
res.send({'status':200,'message':"success",'data':storeData});
} catch(err) {
res.send({'status':404,
@ -139,4 +139,6 @@ const { sequelize,EntityApplicantMaster,StateMaster,CityMaster,PinMaster,Checkty
};