We consider a refracted jump diffusion process having two-sided jumps with rational Laplace transforms. For such a process, by applying a straightforward but interesting approach, we derive formulae for the Laplace transform of its distribution. Our formulae are presented in an attractive form and the approach is novel. In particular, the idea in the application of an approximating procedure is remarkable. In addition, the results are used to price variable annuities with state-dependent fees.