sequelize Mysql data two between date all record show but some ... findall REST API ......simple problems

Your problem comes from the attributes which you indicated in your query: You told SEQUELIZE to return only TOTAL. I suggest you this::

db.product.findAll({
   attributes:[[sequelize.fn('sum',sequelize.col('profit_total')),'total'], 'startedDate', 'endDate'],
   where : {
     "createdAt" : {
        [Op.between] : [new Date(startedDate).setHours(0,0,0,0), new Date(endDate).setHours(23,59,59,999) ]}
   },
})