This commit is contained in:
sriramv 2021-08-14 16:17:17 +05:30
parent 58fe8288fb
commit fb3731fd86

View File

@ -23,6 +23,8 @@ exports.MenuList = async (req, res) => {
}]
}]
});
// const count = MasterData.length;
// console.log(count)
const EntitiesData = await Entities.findAll({where : { losid } });
let data = [];
EntitiesData.forEach((value, key)=>{
@ -55,7 +57,7 @@ exports.findAllEntities = (req, res) => {
});
};
// Retrieve all Entities from the database.
// Retrieve all Statment from the database.
exports.StatmentList = (req, res) => {
Statementsmaster.findAll({include: 'sectionsmasterData' })