Stochastic LQ control framework and its application in finance as the stock price follows the jump-diffusion process